deepstream-yolo-app error: One element could not be created. Exiting.

I use deepstream-yolo-app like this:

sudo deepstream-yolo-app Tesla /home/mint/software/DeepStream_Release/samples/streams/sample_720p.h264 config/yolov3.txt

and I get a error:

One element could not be created. Exiting.

so i track and found yolo is null,but I try trt-yolo-app --flagfile=config/yolov3.txt ,it’s ok!

My gpu’s rtx2060 and opencv 3.4.6,is it has some problem?

I try this:

$rm ~/.cache/gstreamer-1.0/registry.x86_64.bin

base) mint@mint-B85M-D3H:~/ai/trt/deepstream_reference_apps/yolo$ gst-inspect-1.0 -b
Plugin Creator registration succeeded - GridAnchor_TRT
Plugin Creator registration succeeded - NMS_TRT
Plugin Creator registration succeeded - Reorg_TRT
Plugin Creator registration succeeded - Region_TRT
Plugin Creator registration succeeded - Clip_TRT
Plugin Creator registration succeeded - LReLU_TRT
Plugin Creator registration succeeded - PriorBox_TRT
Plugin Creator registration succeeded - Normalize_TRT
Plugin Creator registration succeeded - RPROI_TRT
Plugin Creator registration succeeded - BatchedNMS_TRT
black list file:
libgstnvyolo.so

(base) mint@mint-B85M-D3H:~/ai/trt/deepstream_reference_apps/yolo$ GST_DEBUG=3 gst-inspect-1.0 libgstnvyolo.so
Plugin Details:
Name libgstnvyolo.so
Description Plugin for blacklisted file
Filename /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvyolo.so
Version 0.0.0
License BLACKLIST
Source module BLACKLIST
Binary package BLACKLIST
Origin URL BLACKLIST

0 features:

any idea can suggestion?

Hi,

Which OS are you using currently ?

Can you check if there are any missing dependencies using ldd ? You can use the command -

$ldd /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvyolo.so

Please run

$GST_DEBUG=3 gst-inspect-1.0 /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvyolo.so

immediately after clearing the cache with

$rm ~/.cache/gstreamer-1.0/registry.x86_64.bin

My OS is Ubuntu 18.04.2 LTS

I try use ldd /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvyolo.so

ldd /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvyolo.so 
	linux-vdso.so.1 (0x00007ffc8f361000)
	libnvdsgst_helper.so => /usr/local/deepstream/libnvdsgst_helper.so (0x00007f995b8e0000)
	libnvdsgst_meta.so => /usr/local/deepstream/libnvdsgst_meta.so (0x00007f995b6dc000)
	libnppc.so.10.0 => /usr/local/cuda/lib64/libnppc.so.10.0 (0x00007f995b454000)
	libnppig.so.10.0 => /usr/local/cuda/lib64/libnppig.so.10.0 (0x00007f9959a6d000)
	libgstvideo-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstvideo-1.0.so.0 (0x00007f99597d5000)
	libgstbase-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0 (0x00007f9959560000)
	libgstreamer-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0 (0x00007f9959225000)
	libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f9958fd1000)
	libglib-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f9958cbb000)
	libcudart.so.10.0 => /usr/local/cuda/lib64/libcudart.so.10.0 (0x00007f9958a41000)
	libopencv_highgui.so.3.4 => /usr/local/lib/libopencv_highgui.so.3.4 (0x00007f9958835000)
	libopencv_imgcodecs.so.3.4 => /usr/local/lib/libopencv_imgcodecs.so.3.4 (0x00007f9957e9c000)
	libopencv_dnn.so.3.4 => /usr/local/lib/libopencv_dnn.so.3.4 (0x00007f9957255000)
	libopencv_imgproc.so.3.4 => /usr/local/lib/libopencv_imgproc.so.3.4 (0x00007f9954258000)
	libopencv_core.so.3.4 => /usr/local/lib/libopencv_core.so.3.4 (0x00007f9952f0d000)
	libnvinfer.so.5 => /home/mint/software/TensorRT-5.1.5.0/targets/x86_64-linux-gnu/lib/libnvinfer.so.5 (0x00007f994a5c8000)
	libnvinfer_plugin.so.5 => /home/mint/software/TensorRT-5.1.5.0/targets/x86_64-linux-gnu/lib/libnvinfer_plugin.so.5 (0x00007f994a083000)
	libgflags.so.2.2 => /usr/lib/x86_64-linux-gnu/libgflags.so.2.2 (0x00007f9949e5e000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f9949ad5000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f9949737000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f994951f000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f994912e000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f9948f0f000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f9948d07000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f9948b03000)
	liborc-0.4.so.0 => /usr/lib/x86_64-linux-gnu/liborc-0.4.so.0 (0x00007f9948887000)
	libgmodule-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007f9948683000)
	libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f994847b000)
	libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f9948209000)
	libjpeg.so.8 => /usr/lib/x86_64-linux-gnu/libjpeg.so.8 (0x00007f9947fa1000)
	libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f9947d6f000)
	libtiff.so.5 => /usr/lib/x86_64-linux-gnu/libtiff.so.5 (0x00007f9947af8000)
	libIlmImf-2_2.so.22 => /usr/lib/x86_64-linux-gnu/libIlmImf-2_2.so.22 (0x00007f9947635000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f995bd48000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f9947418000)
	libcudnn.so.7 => /usr/local/cuda/lib64/libcudnn.so.7 (0x00007f9931dff000)
	libcublas.so.10.0 => /usr/local/cuda/lib64/libcublas.so.10.0 (0x00007f992d869000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f992d643000)
	libjbig.so.0 => /usr/lib/x86_64-linux-gnu/libjbig.so.0 (0x00007f992d435000)
	libHalf.so.12 => /usr/lib/x86_64-linux-gnu/libHalf.so.12 (0x00007f992d1f2000)
	libIex-2_2.so.12 => /usr/lib/x86_64-linux-gnu/libIex-2_2.so.12 (0x00007f992cfd4000)
	libIlmThread-2_2.so.12 => /usr/lib/x86_64-linux-gnu/libIlmThread-2_2.so.12 (0x00007f992cdcd000)

It’s same correct.so I try:

GST_DEBUG=3 gst-inspect-1.0 /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvyolo.so


无法载入插件文件: File "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvyolo.so" is not a GStreamer plugin

Beacause libgstnvyolo.so is in blacklist ,so it couldn’t be load .

Deepstream 3.0 is not supported for Ubuntu 18.04 please use 16.04 or you can wait for DS4.0 which will be released soon.

https://devtalk.nvidia.com/default/topic/1051259/deepstream-for-tesla/could-not-find-plugin-entry-point-in-quot-libgstnvyolo-so-quot-/post/5335566/#5335566
The same issue is solved in the following post by simply renaming the plugin as libgstyoloplugin.so