Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) : Tesla V100-PCIE
• DeepStream Version: 6.1
• JetPack Version (valid for Jetson only)
• TensorRT Version: 8.4.1.5
• NVIDIA GPU Driver Version (valid for GPU only) : 470.129.06
• Issue Type( questions, new requirements, bugs): Question
• 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):
Modified Deepstream Test 3 sample application by adding a secondary gie for classification,
test_classifier_config.txt (3.5 KB)
deepstream_test_3.py (25.1 KB)
Ran using this command, Attaching the configuration files and the modified python file
We just need to know if the classifier works with any of the detector module in place. Right now all we see is a single class out of the probe.
Here is the output during the run
INFO: …/nvdsinfer/nvdsinfer_model_builder.cpp:610 [FullDims Engine Info]: layers num: 3
0 INPUT kFLOAT input:0 3x224x224 min: 1x3x224x224 opt: 16x3x224x224 Max: 16x3x224x224
1 OUTPUT kFLOAT dropout_1 128 min: 0 opt: 0 Max: 0
2 OUTPUT kFLOAT dense 29 min: 0 opt: 0 Max: 0
When we add probe at the nvosd module we see the following output
labelCount= 1
label-num_classes 0
label-res_label n01729977
label-classid 55
label-prb 2.802734375
label-labelid 0
label Info list <pyds.GList object at 0x7fa7e308a8b0>
unique_component_id 2
num_labels 2
base_meta <pyds.NvDsBaseMeta object at 0x7fa7e308a9b0>
labelCount= 2
label-num_classes 0
label-res_label n01729977
label-classid 55
label-prb 2.802734375
label-labelid 0
label Info list <pyds.GList object at 0x7fa7e308a8b0>
unique_component_id 2
num_labels 2
base_meta <pyds.NvDsBaseMeta object at 0x7fa7e308a730>
And When we add the same probe function to the Classifier module We see the following output, and every time probability and classId seems to be same.
num_labels 2
base_meta <pyds.NvDsBaseMeta object at 0x7f719638e7b0>
None
labelCount= 1
label-num_classes 0
label-res_label
label-classid 27
label-prb 0.9999014139175415
label-labelid 1
label Info list <pyds.GList object at 0x7f719638e530>
unique_component_id 2
num_labels 2
base_meta <pyds.NvDsBaseMeta object at 0x7f719638ebf0>
labelCount= 2
label-num_classes 0
label-res_label
label-classid 27
label-prb 0.9999014139175415
label-labelid 1
label Info list <pyds.GList object at 0x7f719638e530>
unique_component_id 2
num_labels 2
base_meta <pyds.NvDsBaseMeta object at 0x7f719638e5b0>
python3 deepstream_test_3.py -i file:///opt/nvidia/deepstream/deepstream-6.1/sources/deepstream_python_apps/apps/exp/data/input/1637673766363_00098960_None_1.mp4 file:///opt/nvidia/deepstream/deepstream-6.1/sources/deepstream_python_apps/apps/exp/data/input/1637673766363_00098960_None_1.mp4 --pgie nvinfer -c config_infer_primary_yolov4-tiny.txt --no-display --silent
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)