It runs as a SGIE attached to a PGIE. When running, I see the warning
ERROR: [TRT]: 3: Cannot find binding of given name: predictions/probs
0:00:04.078261419 309595 0x3587180 WARN nvinfer gstnvinfer.cpp:679:gst_nvinfer_logger:<secondary-nvinference-engine> NvDsInferContext[UID 6]: Warning from NvDsInferContextImpl::checkBackendParams() <nvdsinfer_context_impl.cpp:1955> [UID = 6]: Could not find output layer 'predictions/probs' in engine
I found the config file of vehicletypenet classifier and applied it to the FAN model. But I doubt if it actually have predictions/probs output. Also, I’m not sure about the net-scale-factor, offsets, and model-color-format for the FAN model as well. TAO also does not export the label file as I found the label sequence during input doesn’t match with outputs.
Why TAO doesn’t export the config and label files? How do I find the correct config and labels?
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)
you can use Netron tool open the onnx model, then you can see the output layers name.
you can get the explanation of net-scale-factor, offsets, and model-color-format in nvinfer doc. these parameters are needed when training model. please find them in TAO configuration files.
Yes I have already done that. On previous tao toolkit versions, the config parameters were exported along with the onnx or engine file. Don’t know why the latest tao toolkit doesnt support this.
However, I see significant difference between the label sequence that was provided during the training and got after the trained model. I have to manually alter the label sequence to get correct results. Can you explain why this happens? On previous tao toolkit, the final label files were also being exported, but the classification pyt misses this. Manually relabeling the labels are very frustrating process, and also questions the reliability of tao trained models if not automatically exported.