Deepstream app vs deepstream-occupancy-analytics error [TRT]

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) GPU
• DeepStream Version 6,1
• JetPack Version (valid for Jetson only)
• TensorRT Version 8.4.2
• NVIDIA GPU Driver Version (valid for GPU only) 525

are you testing in deepstream docker? please make sure the lib versions meet the requirements.

Im testing in PC linux 20.04 and I sure right lib versions

what is difference between deepstream-test5-analytics and deeptream-app? please refer to readme. the command-line is

  $ make -f Makefile.ds
  $ ./deepstream-app -c <config file>

if still can 't work, can you use gdb to get crash stack?

when i run deepstream app:

deepstream-app run well.

you see this: WARNING: [TRT]: CUDA lazy loading is not enabled. Enabling it can significantly reduce device memory usage and speed up TensorRT initialization. See “Lazy Loading” section of CUDA documentation CUDA C++ Programming Guide. How to skip it

it is tensorrt waring log. please ignore it.

Can you share with me deepstream_test5_app_main.c file defaul. When i run deeptream test 5:
Warning:[TRT] and segmentation fault (core dumped)

please refer to method 2 in this link. you can download DeepStream 6.1 SDK, then copy the original file.

I have installed cuda 11.6 and I cannot find a TRT release that meets this requirement. As far as I know, TRT 8.2.5.1 is for cuda below 11.5.

could you share the link where you got this information?

from the text “TensorRT 8.2 GA Update 3 for Ubuntu 20.04 and CUDA 11.0, 11.1, 11.2, 11.3, 11.4 and 11.5 DEB local repo Package”, it should be valid for cuda11.4/11.5.

How about cuda 11.6

Vào Th 6, 15 thg 12, 2023 lúc 12:32 Fanzh via NVIDIA Developer Forums <notifications@nvidia.discoursemail.com> đã viết:

In this compatibility table, the installed lib versions should not be lower than the specific version. if using cuda11.6, you can install TensorRT 8.4 EA for Ubuntu 20.04 and CUDA 11.0, 11.1, 11.2, 11.3, 11.4, 11.5 and 11.6 DEB local repo Package.

When I turn [primary-gie] on, the app crashes and when I turn [primary-gie] off, it works, what’s the reason?
ON

OFF


and my file config
dstest_occupancy_analytics.txt (7.0 KB)

seemed the app failed to create TensorRT engine. could you share the whole log and pgie_peoplenet_tao_config.txt?

nvdsanalytics_config.txt (3.8 KB)
pgie_peoplenet_tao_config.txt (2.2 KB)

could you share the output of “ll peoplenet/resnet34_peoplenet_pruned_int8.etlt” and this command-line “./tao-converter -k tlt_encode -t int8 -c peoplenet/resnet34_peoplenet_int8.txt
-b 1 -d 3,544,960 -e peoplenet/resnet34_peoplenet_pruned_int8.etlt_b1_gpu0_int8.engine
peoplenet/resnet34_peoplenet_pruned_int8.etlt”? Thanks!

you can use this command-line to download tao-converter.
wget --content-disposition ‘https://api.ngc.nvidia.com/v2/resources/nvidia/tao/tao-converter/versions/v3.22.05_trt8.4_x86/files/tao-converter’ -O tao-converter