Can't run the deepstream-nvdsanalytics-Python

Ubuntu18.04
RTX3060
DeepStream 5.1
Cuda 11.1

I can run the deepstream-nvdsanalytics ,but I failed to run the python apps.

sudo python3 deepstream_nvdsanalytics.py file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264
Creating Pipeline

Creating streamux

Creating source_bin 0

Creating source bin
source-bin-00
Creating Pgie

Creating nvtracker

Creating nvdsanalytics

Creating tiler

Creating nvvidconv

Creating nvosd

Creating EGLSink

Adding elements to Pipeline

Linking elements in the Pipeline

Now playing…
1 : file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264
Starting pipeline

gstnvtracker: Loading low-level lib at /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so
gstnvtracker: Failed to open low-level lib at /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so
dlopen error: /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so: cannot open shared object file: No such file or directory
gstnvtracker: Failed to initilaize low level lib.
gstnvtracker: Loading low-level lib at /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so
gstnvtracker: Failed to open low-level lib at /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so
dlopen error: /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so: cannot open shared object file: No such file or directory
gstnvtracker: Failed to initilaize low level lib.
gstnvtracker: Loading low-level lib at /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so
gstnvtracker: Failed to open low-level lib at /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so
dlopen error: /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so: cannot open shared object file: No such file or directory
gstnvtracker: Failed to initilaize low level lib.
WARNING: …/nvdsinfer/nvdsinfer_func_utils.cpp:36 [TRT]: TensorRT was linked against cuBLAS/cuBLAS LT 11.3.0 but loaded cuBLAS/cuBLAS LT 11.2.1
WARNING: …/nvdsinfer/nvdsinfer_func_utils.cpp:36 [TRT]: TensorRT was linked against cuBLAS/cuBLAS LT 11.3.0 but loaded cuBLAS/cuBLAS LT 11.2.1
0:00:01.193856683 21640 0x28ecc50 INFO nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger: NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1702> [UID = 1]: deserialized trt engine from :/opt/nvidia/deepstream/deepstream-5.1/samples/models/Primary_Detector/resnet10.caffemodel_b1_gpu0_int8.engine
INFO: …/nvdsinfer/nvdsinfer_model_builder.cpp:685 [Implicit Engine Info]: layers num: 3
0 INPUT kFLOAT input_1 3x368x640
1 OUTPUT kFLOAT conv2d_bbox 16x23x40
2 OUTPUT kFLOAT conv2d_cov/Sigmoid 4x23x40

0:00:01.193952029 21640 0x28ecc50 INFO nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger: NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:1806> [UID = 1]: Use deserialized engine model: /opt/nvidia/deepstream/deepstream-5.1/samples/models/Primary_Detector/resnet10.caffemodel_b1_gpu0_int8.engine
0:00:01.194713337 21640 0x28ecc50 INFO nvinfer gstnvinfer_impl.cpp:313:notifyLoadModelStatus: [UID 1]: Load new model:dsnvanalytics_pgie_config.txt sucessfully
Decodebin child added: source

Decodebin child added: decodebin0

Decodebin child added: h264parse0

Decodebin child added: capsfilter0

Decodebin child added: nvv4l2decoder0

In cb_newpad

gstname= video/x-raw
features= <Gst.CapsFeatures object at 0x7fad19d686a8 (GstCapsFeatures at 0x7fab94002f80)>
^Z

I don’t find any file name libnvds_nvmultiobjecttracker.so in /opt/nvidia/deepstream/deepstream/lib/
Where can i find this file?

Which deepstream version your are using?

Hi amycao , I’m using Deepstream 5.1

6.0 tracker have this. you should use old tracker library.

Do you mean I should download the DeepStream 6.0 , and copy this file to 5.1 lib?

HI, I copy this file in my system,but when I run the test,this error is still exist

Tracker in version 5.1 and 6.0 is different, you can not copy 6.0 tracker library to 5.1 package. you only can use tracker library from version 5.1 if you use version 5.1

OK,but there is no tracker.so file in my deepstream5.1 ,so I want to know where can I find it …

Refer to configuration source4***, there tracker groups in this file. you can find how to use it.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.