I tried to execute test3 sample, but got the following error message:
==========================================================
$ python3 deepstream_test_3.py rtsp://admin:aa12345678@192.168.2.4:554/h265/ch1/main/av_stream
Creating Pipeline
Creating streamux
Creating source_bin 0
Creating source bin
source-bin-00
Creating Pgie
Unable to create pgie
Creating tiler
Creating nvvidconv
Creating nvosd
Creating transform
Creating EGLSink
Traceback (most recent call last):
File “deepstream_test_3.py”, line 346, in
sys.exit(main(sys.argv))
File “deepstream_test_3.py”, line 285, in main
pgie.set_property(‘config-file-path’, “dstest3_pgie_config.txt”)
AttributeError: ‘NoneType’ object has no attribute ‘set_property’
I still get an error when i execute the following command:
:~/deepstream_sdk_v4.0.2_jetson/samples/configs/deepstream-app$ deepstream-app -c source4_1080p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt
deepstream-app: error while loading shared libraries: libnvinfer.so.6: cannot open shared object file: No such file or directory
File “deepstream_test_3.py”, line 346, in
sys.exit(main(sys.argv))
File “deepstream_test_3.py”, line 285, in main
pgie.set_property(‘config-file-path’, “dstest3_pgie_config.txt”)
AttributeError: ‘NoneType’ object has no attribute ‘set_property’
I still get an error when i execute the following command:
:~/deepstream_sdk_v4.0.2_jetson/samples/configs/deepstream-app$ deepstream-app -c source4_1080p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt
deepstream-app: error while loading shared libraries: libnvinfer.so.6: cannot open shared object file: No such file or directory
→ make sure you got right version TensorRT installed
this package is for x86 platform, if your device is jetson, sdkmanager will install whole for you if you choose all, os and software, I remember for software default if you choose, it will install all, i see you have cuda installed, not sure why can’t you find TensorRT, any output for this,
dpkg -l|grep infer
$ dpkg -l|grep infer
ii libnvinfer-bin 7.1.0-1+cuda10.2 arm64 TensorRT binaries
ii libnvinfer-dev 7.1.0-1+cuda10.2 arm64 TensorRT development libraries and headers
ii libnvinfer-doc 7.1.0-1+cuda10.2 all TensorRT documentation
ii libnvinfer-plugin-dev 7.1.0-1+cuda10.2 arm64 TensorRT plugin libraries
ii libnvinfer-plugin7 7.1.0-1+cuda10.2 arm64 TensorRT plugin libraries
ii libnvinfer-samples 7.1.0-1+cuda10.2 all TensorRT samples
ii libnvinfer7 7.1.0-1+cuda10.2 arm64 TensorRT runtime libraries
ii python-libnvinfer 7.1.0-1+cuda10.2 arm64 Python bindings for TensorRT
ii python-libnvinfer-dev 7.1.0-1+cuda10.2 arm64 Python development package for TensorRT
ii python3-libnvinfer 7.1.0-1+cuda10.2 arm64 Python 3 bindings for TensorRT
ii python3-libnvinfer-dev 7.1.0-1+cuda10.2 arm64 Python 3 development package for TensorRT
=================================
It seems that TensorRT 7.1 is installed.
Te error message is about libnvinfer.so.6, does it mean that the current version i too new, so it’s not supported?
Jetpack 4.3 with TensorRT version 6.0, version 4.4 with TensorRT 7.1, you used Jetpack 4.4 i guess, but DS 5.0 not released, it will be soon, you can wait for new DS release or you can reflash Jetpack 4.3