Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) AGX Xavier
• DeepStream Version 6.3
• JetPack Version (valid for Jetson only) 5.1.2
• TensorRT Version 8.5.2
I am trying to run deepstream-app with FasterRCNN model. Following the instructions here, have installed TRTOSS using following commands.
git clone -b 23.08 https://github.com/nvidia/TensorRT
cd TensorRT/
git submodule update --init --recursive
export TRT_SOURCE=`pwd`
cd $TRT_SOURCE
mkdir -p build && cd build
I used 23.08 as 21.03 has error.
/usr/local/bin/cmake .. -DGPU_ARCHS=72 -DTRT_LIB_DIR=/usr/lib/aarch64-linux-gnu/ -DCMAKE_C_COMPILER=/usr/bin/gcc -DTRT_BIN_DIR=`pwd`/out
make nvinfer_plugin -j$(nproc)
sudo mv /usr/lib/aarch64-linux-gnu/libnvinfer_plugin.so.8.x.y ${HOME}/libnvinfer_plugin.so.8.x.y.bak // backup original libnvinfer_plugin.so.x.y
sudo cp `pwd`/out/libnvinfer_plugin.so.8.m.n /usr/lib/aarch64-linux-gnu/libnvinfer_plugin.so.8.x.y
sudo ldconfig
Replaced original 8.5.2 with new 8.6.1.
Then downloaded
git clone -b release/tlt3.0 https://github.com/NVIDIA-AI-IOT/deepstream_tlt_apps
Then build
// or Path for DS installation
export CUDA_VER=11.4
make
It gave me the following errors.
atic@ubuntu:/opt/nvidia/deepstream/deepstream-6.3/sources$ cd deepstream_tlt_apps/
atic@ubuntu:/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_tlt_apps$ export CUDA_VER=11.4
atic@ubuntu:/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_tlt_apps$ make
make -C post_processor
make[1]: Entering directory '/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_tlt_apps/post_processor'
deepstream-app: error while loading shared libraries: libgstrtspserver-1.0.so.0: cannot open shared object file: No such file or directory
g++ -o libnvds_infercustomparser_tlt.so nvdsinfer_custombboxparser_tlt.cpp -I/opt/nvidia/deepstream/deepstream-/sources/includes -I/usr/local/cuda-11.4/include -Wall -std=c++11 -shared -fPIC -Wl,--start-group -lnvinfer -lnvparsers -L/usr/local/cuda-11.4/lib64 -lcudart -lcublas -Wl,--end-group
nvdsinfer_custombboxparser_tlt.cpp:25:10: fatal error: nvdsinfer_custom_impl.h: No such file or directory
25 | #include "nvdsinfer_custom_impl.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:49: libnvds_infercustomparser_tlt.so] Error 1
make[1]: Leaving directory '/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_tlt_apps/post_processor'
make: *** [Makefile:24: all] Error 2
How can I solve?