Pre cluster threshold

I am running detectnet 2 (where I trained using a custom dataset on on deepstream 5.0; and the parameter pre-cluster threshold has a dramatic impact on the model inference.

Can you share any technical information behind this parameter which will allow me to change this parameter accordingly?

Hi @ishan
About how this pre-cluster-threshold is used, you can check code

File: /opt/nvidia/deepstream/deepstream-5.0/sources/libs/nvdsinfer_customparser/nvdsinfer_custombboxparser.cpp

`float threshold = detectionParams.perClassPreclusterThreshold[c];`

the value of above perClassPreclusterThreshold is the value of pre-cluster-threshold you defined in the configure file,

And, you can refer to this doc link :

Thank you.