You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
错误信息
使用x2paddle将onnx模型转换成paddle时,MaxUnpool算子不支持,转换失败。日志如下:
INFO:root:paddle.version = 2.6.1
INFO:root:Now translating model from onnx to paddle.
model ir_version: 6, op version: 11
Shape inferencing ...
[WARNING] Incomplete symbolic shape inference
Shape inferenced.
Now, onnx2paddle support convert onnx model opset_verison [7, 8, 9, 10, 11, 12, 13, 14, 15], opset_verison of your onnx model is 11.
========= 1 OPs are not supported yet ===========
========== MaxUnpool ============
Traceback (most recent call last):
File "/usr/local/bin/x2paddle", line 11, in <module>
load_entry_point('x2paddle==1.4.1', 'console_scripts', 'x2paddle')()
File "/usr/local/lib/python3.8/dist-packages/x2paddle-1.4.1-py3.8.egg/x2paddle/convert.py", line 489, in main
onnx2paddle(
File "/usr/local/lib/python3.8/dist-packages/x2paddle-1.4.1-py3.8.egg/x2paddle/convert.py", line 304, in onnx2paddle
mapper = ONNXOpMapper(model)
File "/usr/local/lib/python3.8/dist-packages/x2paddle-1.4.1-py3.8.egg/x2paddle/op_mapper/onnx2paddle/onnx_op_mapper.py", line 38, in init
raise Exception("Model is not supported yet.")
Exception: Model is not supported yet.
感谢您参与 X2Paddle 社区! 问题模版为了 X2Paddle 能更好的迭代,例如新功能发布、 RoadMaps 和错误跟踪. 😸
问题描述
使用x2paddle将onnx模型转换成paddle时,MaxUnpool算子不支持,转换失败。日志如下:
INFO:root:paddle.version = 2.6.1
INFO:root:Now translating model from onnx to paddle.
model ir_version: 6, op version: 11
Shape inferencing ...
[WARNING] Incomplete symbolic shape inference
Shape inferenced.
Now, onnx2paddle support convert onnx model opset_verison [7, 8, 9, 10, 11, 12, 13, 14, 15], opset_verison of your onnx model is 11.
========= 1 OPs are not supported yet ===========
========== MaxUnpool ============
Traceback (most recent call last):
File "/usr/local/bin/x2paddle", line 11, in <module>
load_entry_point('x2paddle==1.4.1', 'console_scripts', 'x2paddle')()
File "/usr/local/lib/python3.8/dist-packages/x2paddle-1.4.1-py3.8.egg/x2paddle/convert.py", line 489, in main
onnx2paddle(
File "/usr/local/lib/python3.8/dist-packages/x2paddle-1.4.1-py3.8.egg/x2paddle/convert.py", line 304, in onnx2paddle
mapper = ONNXOpMapper(model)
File "/usr/local/lib/python3.8/dist-packages/x2paddle-1.4.1-py3.8.egg/x2paddle/op_mapper/onnx2paddle/onnx_op_mapper.py", line 38, in init
raise Exception("Model is not supported yet.")
Exception: Model is not supported yet.
具体信息
GndNet:https://github.com/anshulpaigwar/GndNet
用于地形检测
PaddlePaddle = 2.6.1
X2Paddle = 1.4.1
来源框架版本 ONNX opset_verison = 11
[email protected]
The text was updated successfully, but these errors were encountered: