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
您好,使用paddlex 微调Slanet_Plus模型,导出onnx时遇到算子不支持。报错信息如下:
[Paddle2ONNX] Oops, there are some operators not supported yet, including sync_batch_norm,
[ERROR] Due to the unsupported operators, the conversion is aborted.
请提供您出现的报错信息及相关log
grep: warning: GREP_OPTIONS is deprecated; please use an alias or script
[Paddle2ONNX] Start to parse PaddlePaddle model...
[Paddle2ONNX] Model file path: /data/huangzaiguang/TRS/PaddleX/output/1230_slanet_plus/best_accuracy/inference/inference.pdmodel
[Paddle2ONNX] Parameters file path: /data/huangzaiguang/TRS/PaddleX/output/1230_slanet_plus/best_accuracy/inference/inference.pdiparams
[Paddle2ONNX] Start to parsing Paddle model...
[Paddle2ONNX] Oops, there are some operators not supported yet, including sync_batch_norm,
[ERROR] Due to the unsupported operators, the conversion is aborted.
FatalError: Process abort signal is detected by the operating system.
[TimeInfo: *** Aborted at 1735541162 (unix time) try "date -d @1735541162" if you are using GNU date ***]
[SignalInfo: *** SIGABRT (@0xfe80) received by PID 65152 (TID 0x7ff45820f740) from PID 65152 ***]
Checklist:
描述问题
您好,使用paddlex 微调Slanet_Plus模型,导出onnx时遇到算子不支持。报错信息如下:
[Paddle2ONNX] Oops, there are some operators not supported yet, including sync_batch_norm,
[ERROR] Due to the unsupported operators, the conversion is aborted.
复现
高性能推理
转onnx命令
paddle2onnx --model_dir ./inference
--model_filename inference.pdmodel
--params_filename inference.pdiparams
--save_file ./model.onnx
--opset_version 11
--enable_onnx_checker True
您是否完全按照高性能推理文档教程跑通了流程?
您使用的是离线激活方式还是在线激活方式?
服务化部署
您是否完全按照服务化部署文档教程跑通了流程?
您在服务化部署中是否有使用高性能推理插件,如果是,您使用的是离线激活方式还是在线激活方式?
如果是多语言调用的问题,请给出调用示例子。
端侧部署
您是否完全按照端侧部署文档教程跑通了流程?
您使用的端侧设备是?对应的PaddlePaddle版本和PaddleLite版本分别是什么?
您使用的模型和数据集是?
请提供您出现的报错信息及相关log
grep: warning: GREP_OPTIONS is deprecated; please use an alias or script
[Paddle2ONNX] Start to parse PaddlePaddle model...
[Paddle2ONNX] Model file path: /data/huangzaiguang/TRS/PaddleX/output/1230_slanet_plus/best_accuracy/inference/inference.pdmodel
[Paddle2ONNX] Parameters file path: /data/huangzaiguang/TRS/PaddleX/output/1230_slanet_plus/best_accuracy/inference/inference.pdiparams
[Paddle2ONNX] Start to parsing Paddle model...
[Paddle2ONNX] Oops, there are some operators not supported yet, including sync_batch_norm,
[ERROR] Due to the unsupported operators, the conversion is aborted.
C++ Traceback (most recent call last):
0 paddle2onnx::Export(char const*, char const*, char**, int*, int, bool, bool, bool, bool, bool, paddle2onnx::CustomOp*, int, char const*, char**, int*, char const*, bool*, bool, char**, int)
Error Message Summary:
FatalError:
Process abort signal
is detected by the operating system.[TimeInfo: *** Aborted at 1735541162 (unix time) try "date -d @1735541162" if you are using GNU date ***]
[SignalInfo: *** SIGABRT (@0xfe80) received by PID 65152 (TID 0x7ff45820f740) from PID 65152 ***]
Aborted (core dumped)
环境
paddle2onnx 1.3.1
paddlefsl 1.1.0
paddlenlp 2.8.0.post0
paddleocr 0.1.0.dev1+g3f32858
paddlepaddle-gpu 3.0.0b1
paddlex 3.0.0b2
python 3.10
Linux
CUDA 12.3
The text was updated successfully, but these errors were encountered: