I want to match the values in NMS Config component in yolov3 experiment spec file to deepstream pgie config but I’m not sure how to go about it.
My main question is I don’t know what is the role of cluster-mode (i.e., what clustering is used for in nvinfer) ? My understand is the clustering used by deepstream are to group nearby bboxes together before NMS is applied, is that correct?
What I’ve done:
Read the doc for Gst-nvinfer already and still can’t find the answer to my question.
Followed the suggested options here and still have no affirmative answer to what clustering is used for in nvinfer.
which yolov3 are you using?
There are two yolov3 in DS, one is TLT yolov3 under /opt/nvidia/deepstream/deepstream/samples/configs/tlt_pretrained_models, the other is yolov3 under /opt/nvidia/deepstream/deepstream/sources/objectDetector_Yolo
I read the linked answer but it doesn’t address my question. I want to ask what is the purpose of clustering in nvinfer, my understand is nvinfer uses the clustering method specidied by cluster-mode to group nearby bboxes together before NMS is applied, is that corrrect?
And, as you can find in code below, if you select cluster-mode with NMS, it will do NMS. If your model include NMS layer, you can select the culster-model without NMS.