how about https://github.com/WongKinYiu/yolov7/tree/mask?
could parem the yolov7 mask with dnn?
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.
you can look at this: https://github.com/hiennguyen9874/yolov7-seg https://github.com/hiennguyen9874/yolov7-mask
I run it ok, it need detectron2
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.
OK. Expect!
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?