无法转换PP-DocLayoutV2
问题描述 无法转换PP-DocLayoutV2为onnx
paddle2onnx --model_dir ./PP-DocLayoutV2 --model_filename inference.pdmodel --params_filename inference.pdiparams --save_file inference.onnx
更多信息 :
- 用于部署的推理引擎: paddlex
- 为什么需要转换为ONNX格式:部署简单
- Paddle2ONNX版本: 2.01
- 你的联系方式(Email/Wechat/Phone):
报错截图
其他信息
遇到同样的问题,希望能尽快支持
遇到了同样的问题
2025-10-22 00:33:15 [WARNING] The .pdmodel file is deprecated in paddlepaddle 3.0 and will be removed in the future. Try to convert from .pdmodel file to json file. I1022 00:33:15.624219 4264976128 program_interpreter.cc:257] New Executor is Running. [Paddle2ONNX] Start parsing the Paddle model file... [Paddle2ONNX] [ERROR][Paddle2ONNX] Due to the unsupported operators, the conversion is aborted.
Same here
same
same
https://huggingface.co/PaddlePaddle/PP-DocLayoutV2/tree/main 最新参数已经更新了inference.json文件,但是使用paddle2onnx转换的时候,依旧出现算子报错
# paddle2onnx --model_dir=./PP-DocLayoutV2 --model_filename inference.json --params_filename inference.pdiparams --save_file=./PP-DocLayoutV2/inference.onnx --enable_onnx_checker=True
I1030 20:55:03.003997 64066 init.cc:238] ENV [CUSTOM_DEVICE_ROOT]=/usr/local/lib/python3.10/dist-packages/paddle_custom_device
I1030 20:55:03.004083 64066 init.cc:146] Try loading custom device libs from: [/usr/local/lib/python3.10/dist-packages/paddle_custom_device]
I1030 20:55:03.838220 64066 custom_device_load.cc:51] Succeed in loading custom runtime in lib: /usr/local/lib/python3.10/dist-packages/paddle_custom_device/libpaddle-custom-npu.so
I1030 20:55:03.838292 64066 custom_device_load.cc:58] Skipped lib [/usr/local/lib/python3.10/dist-packages/paddle_custom_device/libpaddle-custom-npu.so]: no custom engine Plugin symbol in this lib.
I1030 20:55:03.842186 64066 custom_kernel.cc:68] Succeed in loading 359 custom kernel(s) from loaded lib(s), will be used like native ones.
I1030 20:55:03.842419 64066 init.cc:158] Finished in LoadCustomDevice with libs_path: [/usr/local/lib/python3.10/dist-packages/paddle_custom_device]
I1030 20:55:03.842468 64066 init.cc:244] CustomDevice: npu, visible devices count: 8
[Paddle2ONNX] Start parsing the Paddle model file...
[Paddle2ONNX]
[ERROR][Paddle2ONNX] 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 1761828913 (unix time) try "date -d @1761828913" if you are using GNU date ***]
[SignalInfo: *** SIGABRT (@0xfa42) received by PID 64066 (TID 0xffffba693010) from PID 64066 ***]
Aborted
@0x3878f @Zheng-Bicheng @risemeup1 @qzylalala @zhanghonggeng 求大佬们看看什么问题
same
same issue
same issue
Same issue here. Any updates?
有onnx模型了吗?
完蛋 这个仓是不是不维护了
same issue
same issue jijijijijijijijijiji :(