Edit "resnet10 4class detector" possible?

Please provide complete information as applicable to your setup.

• Hardware Platform ( GPU)
• DeepStream Version 6.2
• TensorRT Version 8.5.1
• NVIDIA GPU Driver Version 525
• Issue Type( questions)
• How to reproduce the issue ? (I use in NVdsinfervideo "resnet10 4class detector. Person, Car, roadsign and bike are going to be classified. How do I remove one class of it, for example “roadsign”?)

Do you want to modify the classes of the model in GraphComposer? And what changes do you want to apply?

I want to limit the 4 classes from element 1 to three. If possible with graph composer.

Mit freundlichem Gruß
Stefan Senftleben

No. Currently there is no such extension provided in Graph Composer. You may need to develop your own extension for it.

Please explain me the attributes “infer-on-class-ids” and “filter-out-class-ids”!

There is document for them: NvDsInferenceExt — DeepStream 6.2 Release documentation

These are for SGIEs. Just the same as gst-nvinfer. Gst-nvinfer — DeepStream 6.2 Release documentation

1 Like


how do I print out the class name and number, so that I am to use it on gie?

What do you mean?

I want to know index number of classes of a model. Do you understand me?

Mit freundlichem Gruß
Stefan Senftleben

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

If it is with DeepStream, the class id is in NvDsObjectMeta. NVIDIA DeepStream SDK API Reference: _NvDsObjectMeta Struct Reference | NVIDIA Docs

If it is with Graph Composer, it is also in NvDsObjectMeta. You need to develop your own extension to read and print.

1 Like

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