yolov5-seg-opencv-onnxruntime-cpp icon indicating copy to clipboard operation
yolov5-seg-opencv-onnxruntime-cpp copied to clipboard

how about https://github.com/WongKinYiu/yolov7/tree/mask?

Open xinsuinizhuan opened this issue 3 years ago • 5 comments

could parem the yolov7 mask with dnn?

xinsuinizhuan avatar Oct 14 '22 06:10 xinsuinizhuan

No,yolov7 does not support export onnx with --grid https://github.com/WongKinYiu/yolov7/issues/323 at the same time ,I haven't run yolov7-mask.pt successfully, It always has various problems and I had given up. I'm waitting to any new updates after I run it successfully.

UNeedCryDear avatar Oct 14 '22 09:10 UNeedCryDear

you can look at this: https://github.com/hiennguyen9874/yolov7-seg https://github.com/hiennguyen9874/yolov7-mask

I run it ok, it need detectron2

xinsuinizhuan avatar Oct 15 '22 02:10 xinsuinizhuan

I had installed detectron2,and maybe I have some problems installing detectron2 under Windows. So I run it failed in torch.jit.trace() which I don't konw how to fix. At the same time, I don't think detectron2 should be used. It's better to use numpy to implement those functions. And so far, the official mask branch has not been updated for a long time. I'll try it again when he updates it and I run it successfully.

UNeedCryDear avatar Oct 15 '22 11:10 UNeedCryDear

OK. Expect!

xinsuinizhuan avatar Oct 16 '22 11:10 xinsuinizhuan

I had installed detectron2,and maybe I have some problems installing detectron2 under Windows. So I run it failed in torch.jit.trace() which I don't konw how to fix. At the same time, I don't think detectron2 should be used. It's better to use numpy to implement those functions. And so far, the official mask branch has not been updated for a long time. I'll try it again when he updates it and I run it successfully.

https://github.com/BaofengZan/yolov7-mask-trt hou about this?

xinsuinizhuan avatar Oct 18 '22 07:10 xinsuinizhuan