Coder Social home page Coder Social logo

Comments (9)

Zheng-Bicheng avatar Zheng-Bicheng commented on June 9, 2024

RKNN不支持NMS,需要你把Picodet的输出裁剪到NMS之前

from paddle2onnx.

ff-stone avatar ff-stone commented on June 9, 2024

我是 paddle2onnx 时出错,不是onnx转rknn时出错
Uploading 屏幕截图 2024-03-05 135015.png…

from paddle2onnx.

ff-stone avatar ff-stone commented on June 9, 2024

(my_paddlex210_onnx) C:\Users\lenovo>paddle2onnx --model_dir H:\paddlex_workspace\P0025-T0128_export_model\inference_model\inference_model --model_filename H:\paddlex_workspace\P0025-T0128_export_model\inference_model\inference_model\model.pdmodel --params_filename H:\paddlex_workspace\P0025-T0128_export_model\inference_model\inference_model\model.pdiparams --save_file H:\paddlex_workspace\P0025-T0128_export_model\inference_model\inference_model\picodet.onnx --enable_dev_version True
[Paddle2ONNX] Start to parse PaddlePaddle model...
[Paddle2ONNX] Model file path: H:\paddlex_workspace\P0025-T0128_export_model\inference_model\inference_model\model.pdmodel
[Paddle2ONNX] Paramters file path: H:\paddlex_workspace\P0025-T0128_export_model\inference_model\inference_model\model.pdiparams
[Paddle2ONNX] Start to parsing Paddle model...
[Paddle2ONNX] LodTensorArray is not supported.
[Paddle2ONNX] Oops, there are some operators not supported yet, including conditional_block,lod_array_length,select_input,tensor_array_to_tensor,while,write_to_array,
[ERROR] Due to the unsupported operators, the conversion is aborted.

from paddle2onnx.

Zheng-Bicheng avatar Zheng-Bicheng commented on June 9, 2024

from paddle2onnx.

ff-stone avatar ff-stone commented on June 9, 2024

from paddle2onnx.

Zheng-Bicheng avatar Zheng-Bicheng commented on June 9, 2024

您好!可是我是 paddle2onnx 时出错,不是onnx转rknn时出错

这是很简单的道理:如果你的模型转换的终点是RKNN模型,那么在RKNN不支持NMS的情况下,你的ONNX模型即使带了NMS有什么意义呢?最简单的办法就是直接在Paddle模型层面裁剪掉NMS及其后面的算子,降低出错的概率。其次,我不明白你这边为什么有这么多不支持的算子,因为我之前测试过PaddleDetetcion2.5是可以直接导出的,即使带了NMS,是不是PaddleDetection版本太低了?

from paddle2onnx.

ff-stone avatar ff-stone commented on June 9, 2024

from paddle2onnx.

Zheng-Bicheng avatar Zheng-Bicheng commented on June 9, 2024

那这个需要你问一下PaddleX那边为啥用旧版本的PaddleDetection了,现在Paddle2ONNX应该没有人力来适配旧版本的算子了。

from paddle2onnx.

ff-stone avatar ff-stone commented on June 9, 2024

from paddle2onnx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.