# Unable to create GPU inference engine

**URL:** <https://forums.developer.nvidia.com/t/unable-to-create-gpu-inference-engine/186369>\
**Category:** TensorRT\
**Tags:** nano, deep-learning, tensorrt\
**Created:** [August 12, 2021, 7:25am UTC](https://forums.developer.nvidia.com/t/unable-to-create-gpu-inference-engine/186369 "2021-08-12T07:25:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vikas.wfh](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@vikas.wfh](https://forums.developer.nvidia.com/u/vikas.wfh)\
**Post date:** [August 12, 2021, 7:25am UTC](https://forums.developer.nvidia.com/t/unable-to-create-gpu-inference-engine/186369/1 "2021-08-12T07:25:44Z")

</div>

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](https://github.com/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:

```auto
$ python3 deepstream_test_1.py /opt/nvidia/deepstream/deepstream-5.1/samples/streams/sample_720p.h264

```

```auto
(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

---

<div class="post-metadata">

**Author:** ![NVES](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/nves/32/14043_2.png) [@NVES](https://forums.developer.nvidia.com/u/NVES)\
**Post date:** [August 12, 2021, 7:38am UTC](https://forums.developer.nvidia.com/t/unable-to-create-gpu-inference-engine/186369/2 "2021-08-12T07:38:12Z")

</div>

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

> **[DeepStream SDK](https://forums.developer.nvidia.com/c/accelerated-computing/intelligent-video-analytics/deepstream-sdk/15)**
>
> Discussions about the DeepStream SDK

Thanks!
