Comments (7)
能说的具体一点吗?models1.5是指? PaddleDetection的版本不需要指定版本吗?
from paddle2onnx.
用paddle1.5.1训练了一个一样的问题
from paddle2onnx.
这个模块没有人维护了么@cjt222
from paddle2onnx.
可以尝试使用models1.5下的PaddleDetection训练yolov3,由于PaddleDetection做了一些更新,造成了一些OP的不适配
from paddle2onnx.
现在代码中已修复,你可以更新下代码,下载最新的PaddleDetection的模型进行转换
from paddle2onnx.
现在代码中已修复,你可以更新下代码,下载最新的PaddleDetection的模型进行转换
我用的是paddlepaddle1.6.2版本,onnx是1.6.0版本。PaddleDetection和PaddleONNX都是最新的版本。但是报错如下,模型是mobilenet yolov3
`load the model parameter done.
/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle2onnx-0.1-py3.7.egg/fluid_onnx/detection_ops.py:845: UserWarning: The parameter normalized of multiclass_nms OP of Paddle is False, which has diff with ONNX. Please set normalized=True in multiclass_nms of Paddle
The operator sets to run test case.
{'depthwise_conv2d', 'transpose2', 'concat', 'elementwise_add', 'scale', 'multiclass_nms', 'batch_norm', 'nearest_interp', 'yolo_box', 'leaky_relu', 'conv2d', 'relu'}
Traceback (most recent call last):
File "/opt/conda/envs/python35-paddle120-env/bin/paddle2onnx", line 11, in
load_entry_point('paddle2onnx==0.1', 'console_scripts', 'paddle2onnx')()
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle2onnx-0.1-py3.7.egg/fluid_onnx/fluid_to_onnx.py", line 230, in main
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle2onnx-0.1-py3.7.egg/fluid_onnx/fluid_to_onnx.py", line 194, in convert
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/onnx/checker.py", line 91, in check_model
C.check_model(model.SerializeToString())
onnx.onnx_cpp2py_export.checker.ValidationError: Node () has input size 2 not in range [min=3, max=4].
==> Context: Bad node spec: input: "leaky_relu_6.tmp_0" input: "nearest_interp_0.tmp_0@scales" output: "nearest_interp_0.tmp_0" op_type: "Resize" attribute { name: "mode" s: "nearest" type: STRING }`
from paddle2onnx.
测试时使用的onnx 1.5.0版本,onnx1.6版本有些OP做过改动,之后会更新升级。可以先使用onnx 1.5.0进行转换试一下
from paddle2onnx.
Related Issues (20)
- [Discussion] 迁移Paddle2ONNX构建方式到Python 新规范(pyproject.toml) HOT 7
- ] Oops, there are some operators not supported yet, including prior_box, HOT 1
- 紧急,PaddleSeg中的OCRNet模型导出为onnx,推理失败 HOT 7
- paddle模型本来是不固定输入输出的,但是使用Paddle2ONNX转换必须指定input_size,不然会报Due to the operator: pool2d, this model cannot be exported to ONNX错 HOT 2
- paddle2onnx 在尝试将 PaddlePaddle 模型转换为 ONNX 格式时遇到了不支持的算子(operators):distribute_fpn_proposals 和 generate_proposals_v2。由于这些算子在 ONNX 规范中没有直接的等价实现或者paddle2onnx转换工具中尚未实现对这些算子的支持,转换过程被中止了 HOT 1
- Matting模型转换为ONNX时报错 [pool2d: pool2d_10.tmp_0] While Attribute(ksize)'s type is Tensor, it's not supported. HOT 2
- 【开源之夏】飞桨PaddlePaddle-PIR适配Paddle2ONNX推理转换 HOT 2
- [Discussion] 请求提供 Paddle2ONNX 开发者培训计划 HOT 8
- 转换paddlespeech的KWS部署模型出现了问题
- 无法通过pip install paddle2onnx安装,同时也无法通过编译安装 HOT 6
- paddleseg模型和onnx模型的推理结果不一致,精度差距较大 HOT 2
- [Bug] 关于本地编译安装和执行单测的问题记录 HOT 2
- can't run paddleocr converted model on onnxruntime
- 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 25
- 能否指定 IR representation的版本
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.