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
错误信息
========= 1 OPs are not supported yet ===========
========== HardSwish ============
Traceback (most recent call last):
File "/usr/local/bin/x2paddle", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.9/dist-packages/x2paddle/convert.py", line 501, in main
onnx2paddle(args.model,
File "/usr/local/lib/python3.9/dist-packages/x2paddle/convert.py", line 316, in onnx2paddle
mapper = ONNXOpMapper(model)
File "/usr/local/lib/python3.9/dist-packages/x2paddle/op_mapper/onnx2paddle/onnx_op_mapper.py", line 39, in init
raise Exception("Model is not supported yet.")
Exception: Model is not supported yet.
问题描述
我将MobileNetV3的onnx模型转换为paddle模型,转换命令:
x2paddle --framework=onnx --model=mobilenet.onnx --save_dir=pd_model,出现报错。
错误信息
========= 1 OPs are not supported yet ===========
========== HardSwish ============
Traceback (most recent call last):
File "/usr/local/bin/x2paddle", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.9/dist-packages/x2paddle/convert.py", line 501, in main
onnx2paddle(args.model,
File "/usr/local/lib/python3.9/dist-packages/x2paddle/convert.py", line 316, in onnx2paddle
mapper = ONNXOpMapper(model)
File "/usr/local/lib/python3.9/dist-packages/x2paddle/op_mapper/onnx2paddle/onnx_op_mapper.py", line 39, in init
raise Exception("Model is not supported yet.")
Exception: Model is not supported yet.
错误截图
具体信息
https://github.com/xiaolai-sqlai/mobilenetv3
用于移动端业务下的分类
PaddlePaddle ==2.5.2
X2Paddle == 1.5.0
ONNX==14
[email protected]
The text was updated successfully, but these errors were encountered: