PaddlePaddle / Paddle2ONNX

ONNX Model Exporter for PaddlePaddle
Apache License 2.0
713 stars 166 forks source link

SLANetv2 转 onnx 不支持while,什么时候解决呢?或者有没有其他方式可以导出onnx呢? #1391

Open yoliax opened 1 day ago

yoliax commented 1 day ago

[Paddle2ONNX] Start to parse PaddlePaddle model... [Paddle2ONNX] Model file path: /workspace/models/ch_ppstructure_openatom_SLANetv2_infer/inference.pdmodel [Paddle2ONNX] Parameters file path: /workspace/models/ch_ppstructure_openatom_SLANetv2_infer/inference.pdiparams [Paddle2ONNX] Start to parsing Paddle model... [Paddle2ONNX] Oops, there are some operators not supported yet, including while, [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 1726811834 (unix time) try "date -d @1726811834" if you are using GNU date ] [SignalInfo: SIGABRT (@0x33cb51) received by PID 3394385 (TID 0x7ff2b5302740) from PID 3394385 ]

Zheng-Bicheng commented 16 hours ago

回退到 Paddle2ONNX 1.2.5