panp4n

Results 33 comments of panp4n

我也是同样的问题,paddle版本是2.2.2,CUDA11.2,python3.8,单卡训练,YOLOv7_x版本,更新paddle到2.3.2版本之后,报CUDA(719)错误。 ![image](https://user-images.githubusercontent.com/40445051/188832707-dad44e60-9ed2-420a-a6e6-481908412c28.png)

你好,请问这个问题解决了吗,我也遇到了同样的问题。

@seejah 我这导出成功了,看你的报错应该是依赖库问题。用的下面的指令: paddle2onnx --model_dir \output_inference\mask_rcnn_r50_fpn_2x_coco --model_filename model.pdmodel --params_filename model.pdiparams --opset_version 16 --save_file output_inference\mask_rcnn_r50_fpn_2x_coco\maskrcnn.onnx --enable_dev_version False 其中paddle2onnx版本为1.0.6,onnx1.7——1.14

@seejah 我当时也是这样,各种库的依赖库冲突。我现在用的paddlepaddle-gpu 2.4.2. paddle2onnx 1.0.6, numpy 1.23.5。onnx让paddle2onnx自动装就行。

@seejah 在导出模型时候添加export_onnx=True 参数,会自动替换掉multiclass_nms,因为onnx不支持这个op。

> > @seejah 在导出模型时候添加export_onnx=True 参数,会自动替换掉multiclass_nms,因为onnx不支持这个op。 > > 您好,我想问下导出成onnx后为什么按照官方给的推理示例执行成功后 我这边没有出现掩膜的点 只有矩形框 这个和paddle inference推理结果一样的,MaskRCNN有三个输出,第三个是掩膜。掩膜索引与输出的矩形框索引一一对应。

Thanks for your reply. I have read this document and the codes. It uses the api of SAM to segment everything. If I code with C++, how could I achieve...

> I can't reproduce this in the latest version. Please update your ultralytics. Thanks for your reply. The latest version is fine.

Another question: There are extra parts at the edge of the mask in YOLO11-seg predict. ![image](https://github.com/user-attachments/assets/fb423a07-99a4-408d-8199-0703dea58638) In my own inference code, it is fine. ![image](https://github.com/user-attachments/assets/6b9a4aa7-1cda-4f56-9ebe-90e65b2c0668) In YOLOv8-seg predict, it is...