Comments (1)
如下是把-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)
- paddleseg模型和onnx模型的推理结果不一致,精度差距较大 HOT 2
- [Bug] 关于本地编译安装和执行单测的问题记录 HOT 4
- can't run paddleocr converted model on onnxruntime HOT 3
- unsupported operator: unfold HOT 4
- [Build] abseil demands C++14 or better HOT 4
- 将apollo-model-centerpoint训练的模型转onnx时,报算子不支持的问题 HOT 1
- custom_ops映射使用问题 HOT 2
- unsupported ops: conditional_block,select_input,tril_triu HOT 1
- 量化paddle模型后通过Paddle2Onnx导出onnx存在的问题 HOT 29
- 能否指定 IR representation的版本 HOT 18
- 量化的飞桨模型部署正常,但是转化为onnx模型出现问题(非量化的模型转为onnx可以正常部署) HOT 3
- 编译Paddle2ONNX出现报错 HOT 2
- 请问如何将onnx的输入的batch size 固定为1,现在是动态输入的batch size HOT 1
- Paddle2ONNX New and Upgraded Plan HOT 13
- ModuleNotFoundError: No module named 'paddle2onnx_cpp2py_export' HOT 8
- 转换成onnx后使用netron可视化尺寸不是-1而是p2o.DynamicDimension.0-5 HOT 2
- 希望提供C API HOT 2
- Test tool bug : onnxbase.py does not support "tensorlist" as input when testing operators HOT 1
- [Split] operators bug : In ONNX opset version 18, there is a bug when inferring models with the [Split] operator. HOT 1
- depthwise_conv2d, this model cannot be exported to ONNX. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paddle2onnx.