PaddlePaddle / Paddle2ONNX

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

mask-rcnn明明我找到的issue上面显示已经支持generate_proposals_v2算子的转换了,但是我转换的时候还是提示不支持转换的op #1170

Open laishenghui opened 10 months ago

laishenghui commented 10 months ago

问题描述 mask-rcnn模型转换为onnx模型的时候,提示不支持转换的op:generate_proposals_v2,但是我在这个issue上面看说是这个算子已经支持了,同时我在环境路径上也找到了对应的文件。 https://github.com/PaddlePaddle/Paddle2ONNX/pull/636 image 文件打开也能看到对generate_proposals_v2的支持 企业微信截图_20240115113739

报错信息具体如下: (paddle) D:\Paddle\3.PaddleDetection\PaddleDetection-release-2.5>paddle2onnx --model_dir inference_model\mask_rcnn_r50_1x_coco --model_file model.pdmodel --params_filename model.pdiparams --save_file model.onnx --enable_dev_version True --opset_version 16 --enable_onnx_checker True [Paddle2ONNX] Start to parse PaddlePaddle model... [Paddle2ONNX] Model file path: inference_model\mask_rcnn_r50_1x_coco\model.pdmodel [Paddle2ONNX] Paramters file path: inference_model\mask_rcnn_r50_1x_coco\model.pdiparams [Paddle2ONNX] Start to parsing Paddle model... [Paddle2ONNX] Oops, there are some operators not supported yet, including generate_proposals_v2, [ERROR] Due to the unsupported operators, the conversion is aborted.

报错截图 企业微信截图_20240115113612

更多信息 :

laishenghui commented 9 months ago

有人帮忙看一下吗?