PaddlePaddle / Paddle2ONNX

ONNX Model Exporter for PaddlePaddle
Apache License 2.0
726 stars 172 forks source link

使用paddleX训练导出的PPyolov2模型转成onnx时,报错不支持2个操作 deformable_conv,matrix_nms #780

Closed VineaToDo closed 2 years ago

VineaToDo commented 2 years ago

请将下面信息填写完整,便于我们快速解决问题,谢谢!

问题描述 请在此处详细的描述报错信息 [Paddle2ONNX] Oops, there are some operators not supported yet, including deformable_conv,matrix_nms, [ERROR] Due to the unsupported operators, the conversion is aborted.

更多信息 :

其他信息

jiangjiajun commented 2 years ago

RKNN无法支持上述几个OP,Paddle2ONNX目前也没计划支持这两个OP,建议使用PPYOLOE或者Picodet模型

VineaToDo commented 2 years ago

切换使用PPYOLOE模型训练后,尝试转换仍然会出现同样的问题 image image

jiangjiajun commented 2 years ago

改成picodet试下

Room-cs commented 1 year ago

出现以下问题是什么原因呢?

Start to parse PaddlePaddle model... [Paddle2ONNX] Model file path: picodet_PPLCNet_x2_5_mainbody_lite_v1.0_infer/inference.pdmodel [Paddle2ONNX] Paramters file path: picodet_PPLCNet_x2_5_mainbody_lite_v1.0_infer/inference.pdiparams [Paddle2ONNX] Start to parsing Paddle model... [Paddle2ONNX] LodTensorArray is not supported. [Paddle2ONNX] Oops, there are some operators not supported yet, including conditional_block,lod_array_length,reverse,select_input,tensor_array_to_tensor,while,write_to_array, [ERROR] Due to the unsupported operators, the conversion is aborted. 已放弃 (核心已转储)

yaobaishen commented 8 months ago

RKNN无法支持上述几个OP,Paddle2ONNX目前也没计划支持这两个OP,建议使用PPYOLOE或者Picodet模型

update: 用paddle2onnx 1.0.5 转换ppyolo模型仍然有这个问题 [Paddle2ONNX] Oops, there are some operators not supported yet, including deformable_conv,matrix_nms,