-
Notifications
You must be signed in to change notification settings - Fork 190
Open
Description
I try to convert the RTDETRv2 to onnx
paddle2onnx --model_dir rtdetrv2_r18vd_dsp_3x_coco \
--model_filename model.pdmodel \
--params_filename model.pdiparams \
--opset_version 16 \
--save_file rtdetr.onnx
(also tried with opset versions 13, 15,16,17,18) and
but I got following error
Aborted (core dumped)
root@a951431fc0df:/opt/ml/output/Combined_dataset_v3_with_test/model# paddle2onnx --model_dir rtdetrv2_r18vd_dsp_3x_coco --model_filename model.pdmodel --params_filename model.pdiparams --opset_version 19 --save_file ppyoloes.onnx
/usr/local/lib/python3.12/dist-packages/paddle/base/framework.py:803: UserWarning: You are using GPU version Paddle, but your CUDA device is not set properly. CPU device will be used by default.
warnings.warn(
2026-01-13 09:56:54 [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.
I0113 09:56:54.956501 117 program_interpreter.cc:242] New Executor is Running.
[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 1768298215 (unix time) try "date -d @1768298215" if you are using GNU date ***]
[SignalInfo: *** SIGABRT (@0x75) received by PID 117 (TID 0x7f5d383a4300) from PID 117 ***]
Aborted (core dumped)
root@a951431fc0df:/opt/ml/output/Combined_dataset_v3_with_test/model#
Informations (please complete the following information):
- Inference engine for deployment: nvcr.io/nvidia/paddlepaddle:24.02-py3
- Why convert to onnx:Use on different platform
- Paddle2ONNX Version: .2.1.0 (but also tested on 2.0.1 and 1.3.1
- Email/Wechat/Phone:
Could you help me solve this issue plz?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels