Please provide complete information as applicable to your setup.
• Hardware Platform: Jetson Xavier NX
• DeepStream Version: 6.0
• Language: Python
I trained a Retinanet model with TAO toolkit using custom dataset, and would like to port it on Jetson Xavier and run video analytics with Deepstream. To implement that, I need to first compile the bounding box parser. I was referring to this webpage, and used the code nvdsparsebbox_retinanet.cpp
under this repository.
To build the custom parser and generate libnvdsparsebbox_retinanet.so
, I used the command
mkdir build && cd build
cmake -DCMAKE_CUDA_FLAGS="--expt-extended-lambda -std=c++11" ..
make
as in the technical blog.
It shows an error about missing file nvdsparsebbox_odtk.cpp
, which I did not find under the repository.
UDA_FLAGS="--expt-extended-lambda -std=c++11" ..
-- Configuring done
CMake Error at /usr/local/share/cmake-3.19/Modules/FindCUDA.cmake:1842 (add_library):
Cannot find source file:
nvdsparsebbox_odtk.cpp
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
.hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .ispc
Call Stack (most recent call first):
CMakeLists.txt:24 (cuda_add_library)
CMake Error at /usr/local/share/cmake-3.19/Modules/FindCUDA.cmake:1842 (add_library):
No SOURCES given to target: nvdsparsebbox_odtk
Call Stack (most recent call first):
CMakeLists.txt:24 (cuda_add_library)
CMake Generate step failed. Build files cannot be regenerated correctly.
Is this repository up to date and supposed to work with DeepStream 6.0? Any suggestion is appreciated.