Unable to create GPU inference engine

Hello,

We are trying to run example application given in deepstream SDK 5.1. I have cloned the example python application from: NVIDIA-AI-IOT/deepstream_python_apps

Here is my environment setup:

  • Ubuntu: 18.04
  • Python: python3
  • Gstreamer: 1.14.5
  • L4T: 32.6.1
  • Deepstrem SDK: 5.1
  • TensorRT: 8.0
  • CUDA: 10.2.300
  • CUDNN: 8.2.1

Tried to run deepstream application test 1 by following command and getting the error as below:

$ python3 deepstream_test_1.py /opt/nvidia/deepstream/deepstream-5.1/samples/streams/sample_720p.h264
(gst-plugin-scanner:12189): GStreamer-WARNING **: 09:43:52.971: Failed to load plugin '/usr/lib/aarch64-linux-
gnu/gstreamer-1.0/deepstream/libnvdsgst_osd.so': libnvinfer.so.7: cannot open shared object file: No such file or
directory

(gst-plugin-scanner:12189): GStreamer-WARNING **: 09:43:53.548: Failed to load plugin '/usr/lib/aarch64-linux-
gnu/gstreamer-1.0/deepstream/libnvdsgst_inferserver.so': libnvinfer.so.7: cannot open shared object file: No such file
or directory

(gst-plugin-scanner:12189): GStreamer-WARNING **: 09:43:53.665: Failed to load plugin '/usr/lib/aarch64-linux-
gnu/gstreamer-1.0/deepstream/libnvdsgst_infer.so': libnvparsers.so.7: cannot open shared object file: No such file or
directory

(gst-plugin-scanner:12189): GStreamer-WARNING **: 09:43:53.785: Failed to load plugin '/usr/lib/aarch64-linux-
gnu/gstreamer-1.0/deepstream/libnvdsgst_inferaudio.so': libnvparsers.so.7: cannot open shared object file: No such file
or directory
Creating Pipeline

Creating Source

Creating H264Parser

Creating Decoder

Unable to create pgie
Unable to create nvosd
Creating EGLSink

Playing file /opt/nvidia/deepstream/deepstream-5.1/samples/streams/sample_720p.h264
Traceback (most recent call last):
 File "deepstream_test_1.py", line 266, in <module>
   sys.exit(main(sys.argv))
 File "deepstream_test_1.py", line 203, in main
   pgie.set_property('config-file-path', "dstest1_pgie_config.txt")
AttributeError: 'NoneType' object has no attribute 'set_property'

As I can see from the log it is not able to create GPU inference engine and OSD.

Please help to resolve this issue.

Thanks and Regards

Vikas Dwivedi

Hi, This looks like a deepstream issue. We recommend you to raise it to the respective forum.

Thanks!