Coder Social home page Coder Social logo

(已经在issues里找过一圈答案了没有解决)faster_rcnn 转onnx 提示there are some operators not supported yet, including distribute_fpn_proposals,generate_proposals_v2 about paddle2onnx HOT 1 OPEN

zhjian831129 avatar zhjian831129 commented on June 17, 2024
(已经在issues里找过一圈答案了没有解决)faster_rcnn 转onnx 提示there are some operators not supported yet, including distribute_fpn_proposals,generate_proposals_v2

from paddle2onnx.

Comments (1)

zhjian831129 avatar zhjian831129 commented on June 17, 2024

如下是把-enable_dev_version 设为False的提示
运行命令:
! paddle2onnx --model_dir inference_model/faster_rcnn_r34_fpn_1x_coco
--model_filename model.pdmodel
--params_filename model.pdiparams
--opset_version 16
--enable_dev_version False
--save_file final.onnx
错误提示:
2024-01-04 11:28:48 [WARNING] [Deprecated] paddle2onnx.command.program2onnx will be deprecated in the future version, the recommended usage is paddle2onnx.export
Traceback (most recent call last):
File "/opt/conda/envs/python35-paddle120-env/bin/paddle2onnx", line 8, in
sys.exit(main())
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle2onnx/command.py", line 253, in main
auto_update_opset=args.enable_auto_update_opset)
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle2onnx/command.py", line 168, in program2onnx
from paddle2onnx.legacy.command import program2onnx
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle2onnx/legacy/init.py", line 19, in
from .convert import dygraph2onnx, program2onnx
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle2onnx/legacy/convert.py", line 23, in
from paddle2onnx.legacy.graph import PaddleGraph, ONNXGraph
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle2onnx/legacy/graph/init.py", line 17, in
from .onnx_graph import ONNXGraph, ONNXNode
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle2onnx/legacy/graph/onnx_graph.py", line 22, in
from paddle2onnx.legacy.constant import NodeDomain, PRODUCER, dtypes
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle2onnx/legacy/constant/dtypes.py", line 17, in
from onnx import helper
ModuleNotFoundError: No module named 'onnx'

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.