Hello,
I am using JetPack 4.4 and DeepStream 5.0.
I’m having problems running any of the python scripts on the Jetson Nano. Using deepstream-test3 and the sample video sample_1080p_h264.mp4 I get the following error.
Creating streamux
Creating source_bin 0
Creating source bin
source-bin-00
Creating Pgie
Creating tiler
Creating nvvidconv
Creating nvosd
Creating transform
Creating EGLSink
Warn: 'threshold' parameter has been deprecated. Use 'pre-cluster-threshold' instead.
Adding elements to Pipeline
Linking elements in the Pipeline
Now playing...
1 : /home/nano/Videos/sample_1080p_h264.mp4
Starting pipeline
Using winsys: x11
0:00:00.461019913 10167 0xfbce190 INFO nvinfer gstnvinfer.cpp:602:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1591> [UID = 1]: Trying to create engine from model files
Warning, setting batch size to 1. Update the dimension after parsing due to using explicit batch size.
WARNING: INT8 not supported by platform. Trying FP16 mode.
ERROR: [TRT]: Network has dynamic or shape inputs, but no optimization profile has been defined.
ERROR: [TRT]: Network validation failed.
ERROR: Build engine failed from config file
ERROR: failed to build trt engine.
0:00:02.330951457 10167 0xfbce190 ERROR nvinfer gstnvinfer.cpp:596:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Error in NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1611> [UID = 1]: build engine file failed
0:00:02.331426721 10167 0xfbce190 ERROR nvinfer gstnvinfer.cpp:596:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Error in NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:1697> [UID = 1]: build backend context failed
0:00:02.331477138 10167 0xfbce190 ERROR nvinfer gstnvinfer.cpp:596:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Error in NvDsInferContextImpl::initialize() <nvdsinfer_context_impl.cpp:1024> [UID = 1]: generate backend failed, check config file settings
0:00:02.331521201 10167 0xfbce190 WARN nvinfer gstnvinfer.cpp:781:gst_nvinfer_start:<primary-inference> error: Failed to create NvDsInferContext instance
0:00:02.331548076 10167 0xfbce190 WARN nvinfer gstnvinfer.cpp:781:gst_nvinfer_start:<primary-inference> error: Config file path: dstest3_pgie_config.txt, NvDsInfer Error: NVDSINFER_CONFIG_FAILED
Error: gst-resource-error-quark: Failed to create NvDsInferContext instance (1): /dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvinfer/gstnvinfer.cpp(781): gst_nvinfer_start (): /GstPipeline:pipeline0/GstNvInfer:primary-inference:
Config file path: dstest3_pgie_config.txt, NvDsInfer Error: NVDSINFER_CONFIG_FAILED
Exiting app
I’ve found other threads with similar issues but I have not been able to fix this error. The C examples do work with minimal effort.
Thanks for the help,
Simon