Unable to set secondary-reinfer-interval programmatically

Hello, I’m getting an error when trying to set secondary-reinfer-interval programmatically. When I do it via the config file it works without any problems, but cannot set it programmatically.

This works

[property]
secondary-reinfer-interval=5

Does not work:

g_object_set(G_OBJECT(this->sgie), “secondary-reinfer-interval”, 5, NULL);

For reference, I’m using DS 5.0. Any reason why the parameter works using config file but not when doing it programmatically?

• Hardware Platform (Jetson / GPU)
AGX-Xavier
• DeepStream Version
DS 5.0
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
New Requirements
• 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)

secondary-reinfer-interval is not the plugin property. You need to set it in nvinfer config file.

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