Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) NVIDIA T400 4GB • DeepStream Version 6.2 • JetPack Version (valid for Jetson only) - • TensorRT Version 8.5.2 • NVIDIA GPU Driver Version (valid for GPU only) 515.65.01 • Issue Type( questions, new requirements, bugs) Unknown type: nvidia::deepstream::NvDsPerClassObjectCounting • 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)
0. I’m using the devel DeepStream6.2 docker container
Open deepstream-test1.yaml project → replace VideoRenderer with NvRtspOut (I use gstreamer to then read the rtsp stream)
Create a new graph and build the exact same graph as in deepstream-test1.yaml
I get the following error
2023-05-23 21:32:23 [1,326,513ms] [Error] [omni.kit.app._impl] [py stderr]: 2023-05-23 21:32:23.288 ERROR gxf/std/type_registry.cpp@48: Unknown type: nvidia::deepstream::NvDsPerClassObjectCounting
2023-05-23 21:32:23.288 ERROR gxf/std/type_registry.cpp@48: Unknown type: nvidia::deepstream::NvDsPerClassObjectCounting2023-05-23 21:32:23 [1,326,513ms] [Error] [omni.kit.app._impl] [py stderr]:
2023-05-23 21:32:23 [1,326,513ms] [Error] [omni.kit.app._impl] [py stderr]: 2023-05-23 21:32:23.288 ERROR gxf/std/yaml_file_loader.cpp@351: Could not add component of type 'nvidia::deepstream::NvDsPerClassObjectCounting' to entity.
2023-05-23 21:32:23.288 ERROR gxf/std/yaml_file_loader.cpp@351: Could not add component of type 'nvidia::deepstream::NvDsPerClassObjectCounting' to entity.2023-05-23 21:32:23 [1,326,514ms] [Error] [omni.kit.app._impl] [py stderr]:
2023-05-23 21:32:23 [1,326,514ms] [Error] [omni.kit.app._impl] [py stderr]: 2023-05-23 21:32:23.288 ERROR gxf/gxe/gxe.cpp@245: LoadApplication Error: GXF_FACTORY_UNKNOWN_CLASS_NAME
2023-05-23 21:32:23.288 ERROR gxf/gxe/gxe.cpp@245: LoadApplication Error: GXF_FACTORY_UNKNOWN_CLASS_NAME2023-05-23 21:32:23 [1,326,514ms] [Error] [omni.kit.app._impl] [py stderr]:
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
I initially discovered this when trying to build up deepstream-test2.yaml one component at a time from the first sample project. But then noticed that even if I build test1 from scratch it fails as soon as I add the object tracker.
Why does it work in the sample project, but not the ones I create.
I’ve made progress… copying and pasting the extension dependency from the deepstream_test1.yaml file and pasting it into my custom file fixed the issue. Even though that dependency was automatically generated by composer. I literally opened my .yaml file → deleted the NvDsInferenceUtilsExt extension text → pasted identical text from the test1 file. They both have identical text and they’re both generated by composer so not sure why this manual change made the difference.
I then added an Object Tracker which was also failing… used the same method and it fixed it. Someone please explain it to me because it makes no sense to me why this worked.
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
Seems there is something wrong with the graph YAML file. Please compare with the original deepstream_test1.yaml.