Open darrenjkt opened 4 months ago
Any resolution that you found?
Not particularly for class agnostic nms but we reduced the number of classes to only predict super classes and it helps to make detections less noisy. I'm thinking a DETR type detector which has no NMS might be better but I have yet to try it.
Motivation
Currently, overlapping detections of a different class are not filtered out by NMS when converting the mmdetection model to onnx. The class_agnostic flag in the mmdetection model config does not seem to work. I would like to be able to apply a class_agnostic NMS to the output of my detector.
Currently, for RTMDet I have set my model.test_cfg to the following but the class_agnostic flag does not seem to be working (according to my visualized predictions).
I've done some digging but I'm not sure where the NMS is currently being encoded into the onnx model so I apologize if this is an implemented feature that I've missed.
Related resources
No response
Additional context
No response