How to set the threshold for 2- different classes

im using the below one , its not working

[class-attrs-0]
threshold=1.1

[class-attrs-1]
threshold=0.5
roi-bottom-offset=0
detected-min-w=0
detected-min-h=0
detected-max-w=0
detected-max-h=0

if i use only “class-attrs-0” property im getting both the classes detected .

[class-attrs-0]
threshold=.3

i need only 1-class to be shown …( the model is trained for 2-classed)

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

Hardware Platform (Jetson / GPU) ==> GPU
• DeepStream Version ==> 5.1
• JetPack Version (valid for Jetson only)
• TensorRT Version ==> 7.2
• NVIDIA GPU Driver Version (valid for GPU only) ==> 11.2
• Issue Type( questions, new requirements, bugs) ==>Issue

Resolved :

we need to use “post-cluster-threshold” for each class threshold , instead of threshold or pre-cluster-threshold

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.