Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson Xavier NX Dev Kit)
• DeepStream Version 6.2
• JetPack Version (valid for Jetson only)
• TensorRT Version 8.5.2.2
• Issue Type( questions)
I run the default deepstream app using:
‘deepstream-app -c my_config_file.txt’
The model I am attempting to run using nv-infer is a Detecnet resenet-34 training on Tao (unpruned).
Upon running it with enable-dla=0
I get the following error for every layer.
0:00:02.106876928 3243 0xaaaad751f600 WARN nvinfer gstnvinfer.cpp:677:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::initialize() <nvdsinfer_context_impl.cpp:1170> [UID = 1]: Warning, OpenCV has been deprecated. Using NMS for clustering instead of cv::groupRectangles with topK = 20 and NMS Threshold = 0.5
0:00:02.109492864 3243 0xaaaad751f600 INFO nvinfer gstnvinfer.cpp:680:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1923> [UID = 1]: Trying to create engine from model files
ERROR: [TRT]: 3: [builder.cpp::~Builder::307] Error Code 3: API Usage Error (Parameter check failed at: optimizer/api/builder.cpp::~Builder::307, condition: mObjectCounter.use_count() == 1. Destroying a builder object before destroying objects it created leads to undefined behavior.
)
WARNING: [TRT]: The implicit batch dimension mode has been deprecated. Please create the network with NetworkDefinitionCreationFlag::kEXPLICIT_BATCH flag whenever possible.
WARNING: DLA does not support FP32 precision type, using FP16 mode.
WARNING: [TRT]: Layer ‘output_bbox/bias’ (CONSTANT): Unsupported on DLA. Switching this layer’s device type to GPU.
WARNING: [TRT]: Layer ‘conv1/kernel’ (CONSTANT): Unsupported on DLA. Switching this layer’s device type to GPU.
WARNING: [TRT]: Layer ‘conv1/bias’ (CONSTANT): Unsupported on DLA. Switching this layer’s device type to GPU.
WARNING: [TRT]: Layer ‘bn_conv1/moving_variance’ (CONSTANT): Unsupported on DLA. Switching this layer’s device type to GPU.
WARNING: [TRT]: Layer ‘bn_conv1/Reshape_1/shape’ (CONSTANT): Unsupported on DLA. Switching this layer’s device type to GPU.
WARNING: [TRT]: Layer ‘bn_conv1/batchnorm/add/y’ (CONSTANT): Unsupported on DLA. Switching this layer’s device type to GPU.
WARNING: [TRT]: Layer ‘bn_conv1/gamma’ (CONSTANT): Unsupported on DLA. Switching this layer’s device type to GPU.
I am intending to run an Object Detection pipeline using the DLAs onboard. Request input with how to fix this or which Tao based object detection model will work with DLAs.
Thank you in advance