错误信息
使用x2paddle将onnx模型转换成paddle时,提示opset_verison只支持到15,而我的onnx opset_verison是16,有3个算子不支持,转换失败。日志如下:
Now, onnx2paddle support convert onnx model opset_verison [7, 8, 9, 10, 11, 12, 13, 14, 15], opset_verison of your onnx model is 16.
========= 3 OPs are not supported yet ===========
========== GridSample ============
========== ReduceLogSumExp ============
========== Einsum ============
Traceback (most recent call last):
File "/data/miniconda3/envs/super_series/bin/x2paddle", line 8, in
sys.exit(main())
File "/data/miniconda3/envs/super_series/lib/python3.8/site-packages/x2paddle/convert.py", line 489, in main
onnx2paddle(
File "/data/miniconda3/envs/super_series/lib/python3.8/site-packages/x2paddle/convert.py", line 304, in onnx2paddle
mapper = ONNXOpMapper(model)
File "/data/miniconda3/envs/super_series/lib/python3.8/site-packages/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将onnx模型转换成paddle时,提示opset_verison只支持到15,而我的onnx opset_verison是16,有3个算子不支持,转换失败。日志如下: Now, onnx2paddle support convert onnx model opset_verison [7, 8, 9, 10, 11, 12, 13, 14, 15], opset_verison of your onnx model is 16. ========= 3 OPs are not supported yet =========== ========== GridSample ============ ========== ReduceLogSumExp ============ ========== Einsum ============ Traceback (most recent call last): File "/data/miniconda3/envs/super_series/bin/x2paddle", line 8, in
sys.exit(main())
File "/data/miniconda3/envs/super_series/lib/python3.8/site-packages/x2paddle/convert.py", line 489, in main
onnx2paddle(
File "/data/miniconda3/envs/super_series/lib/python3.8/site-packages/x2paddle/convert.py", line 304, in onnx2paddle
mapper = ONNXOpMapper(model)
File "/data/miniconda3/envs/super_series/lib/python3.8/site-packages/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.
错误截图
具体信息
模型超过了25M,上传不了,若需要模型,可以通过其他方式发送