First of all, thank you for your work on the IASSD deployment. I am having problems trying to deploy the IASSD algorithm on jetson orin. When I compile the project no error is generated, but when I publish the point cloud I get stuck and can't end the process with no result or error, can you please give me some help?
Results of cmake run:
-- read TENSORRT_DIR from environment variable
-- read CUDNN_DIR from environment variable
-- Found CUDA: /usr/local/cuda (found suitable version "11.4", minimum required is "11.4")
-- GPU_ARCHS is not defined. Generating CUDA code for default SMs: 53;60;61;70;75;80;86
-- read CUDNN_DIR from environment variable
-- read TENSORRT_DIR from environment variable
-- Using CATKIN_DEVEL_PREFIX: /home/xx/data/pointcloud-3d-detector-tensorrt/build/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/noetic
-- This workspace overlays: /opt/ros/noetic
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.10", minimum required is "3")
-- Using PYTHON_EXECUTABLE: /usr/bin/python3
-- Using Debian Python package layout
-- Found PY_em: /usr/lib/python3/dist-packages/em.py
-- Using empy: /usr/lib/python3/dist-packages/em.py
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/xx/data/pointcloud-3d-detector-tensorrt/build/test_results
-- Forcing gtest/gmock from source, though one was otherwise available.
-- Found gtest sources under '/usr/src/googletest': gtests will be built
-- Found gmock sources under '/usr/src/googletest': gmock will be built
CMake Deprecation Warning at /usr/src/googletest/CMakeLists.txt:4 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is GNU 9.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Deprecation Warning at /usr/src/googletest/googlemock/CMakeLists.txt:45 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at /usr/src/googletest/googletest/CMakeLists.txt:56 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- Found PythonInterp: /usr/bin/python3 (found version "3.8.10")
-- Using Python nosetests: /usr/bin/nosetests3
-- catkin 0.8.10
-- BUILD_SHARED_LIBS is on
-- Checking for module 'eigen3'
-- Found eigen3, version 3.3.7
-- Found Eigen: /usr/include/eigen3 (Required is at least version "3.1")
-- Eigen found (include: /usr/include/eigen3, version: 3.3.7)
-- Checking for module 'flann'
-- Found flann, version 1.9.1
-- Found FLANN: /usr/lib/aarch64-linux-gnu/libflann_cpp.so
CMake Warning (dev) at /opt/cmake-3.23.0/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args
(PCL_COMMON)
does not match the name of the calling package (PCL). This can lead to
problems in calling code that expects find_package
result variables
(e.g., _FOUND
) to follow a certain pattern.
Call Stack (most recent call first):
/usr/lib/aarch64-linux-gnu/cmake/pcl/PCLConfig.cmake:616 (find_package_handle_standard_args)
CMakeLists.txt:17 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PCL_COMMON: /usr/lib/aarch64-linux-gnu/libpcl_common.so
CMake Warning (dev) at /opt/cmake-3.23.0/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args
(PCL_KDTREE)
does not match the name of the calling package (PCL). This can lead to
problems in calling code that expects find_package
result variables
(e.g., _FOUND
) to follow a certain pattern.
Call Stack (most recent call first):
/usr/lib/aarch64-linux-gnu/cmake/pcl/PCLConfig.cmake:616 (find_package_handle_standard_args)
CMakeLists.txt:17 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PCL_KDTREE: /usr/lib/aarch64-linux-gnu/libpcl_kdtree.so
CMake Warning (dev) at /opt/cmake-3.23.0/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args
(PCL_OCTREE)
does not match the name of the calling package (PCL). This can lead to
problems in calling code that expects find_package
result variables
(e.g., _FOUND
) to follow a certain pattern.
Call Stack (most recent call first):
/usr/lib/aarch64-linux-gnu/cmake/pcl/PCLConfig.cmake:616 (find_package_handle_standard_args)
CMakeLists.txt:17 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PCL_OCTREE: /usr/lib/aarch64-linux-gnu/libpcl_octree.so
CMake Warning (dev) at /opt/cmake-3.23.0/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args
(PCL_SEARCH)
does not match the name of the calling package (PCL). This can lead to
problems in calling code that expects find_package
result variables
(e.g., _FOUND
) to follow a certain pattern.
Call Stack (most recent call first):
/usr/lib/aarch64-linux-gnu/cmake/pcl/PCLConfig.cmake:616 (find_package_handle_standard_args)
CMakeLists.txt:17 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PCL_SEARCH: /usr/lib/aarch64-linux-gnu/libpcl_search.so
CMake Warning (dev) at /opt/cmake-3.23.0/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args
(PCL_SAMPLE_CONSENSUS) does not match the name of the calling package
(PCL). This can lead to problems in calling code that expects
find_package
result variables (e.g., _FOUND
) to follow a certain
pattern.
Call Stack (most recent call first):
/usr/lib/aarch64-linux-gnu/cmake/pcl/PCLConfig.cmake:616 (find_package_handle_standard_args)
CMakeLists.txt:17 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PCL_SAMPLE_CONSENSUS: /usr/lib/aarch64-linux-gnu/libpcl_sample_consensus.so
CMake Warning (dev) at /opt/cmake-3.23.0/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args
(PCL_FILTERS) does not match the name of the calling package (PCL). This
can lead to problems in calling code that expects find_package
result
variables (e.g., _FOUND
) to follow a certain pattern.
Call Stack (most recent call first):
/usr/lib/aarch64-linux-gnu/cmake/pcl/PCLConfig.cmake:616 (find_package_handle_standard_args)
CMakeLists.txt:17 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PCL_FILTERS: /usr/lib/aarch64-linux-gnu/libpcl_filters.so
-- ******** Summary ********
-- CMake version : 3.23.0
-- CMake command : /opt/cmake-3.23.0/bin/cmake
-- System : Linux
-- C++ compiler : /usr/bin/c++
-- C++ compiler version : 9.4.0
-- Build type : Release
-- CXX flags :
-- CMAKE_PREFIX_PATH : /home/xx/data/pointcloud-3d-detector-tensorrt/build/devel;/opt/ros/noetic
-- CMAKE_INSTALL_PREFIX : /usr/local
-- CMAKE_MODULE_PATH : /usr/lib/aarch64-linux-gnu/cmake/pcl/Modules
-- CUDA_VERSION : 11.4
-- CUDA_TOOLKIT_ROOT_DIR : /usr/local/cuda
-- CUDA_LIBRARIES : /usr/local/cuda/lib64/libcudart_static.a;Threads::Threads;dl;/usr/lib/aarch64-linux-gnu/librt.so
-- CUDA_INCLUDE_DIRS: : /usr/local/cuda/include
-- CUDART_LIB : /usr/local/cuda/lib64/libcudart_static.a
-- CUBLAS_LIB : /usr/local/cuda/lib64/libcublas.so
-- TENSORRT_LIB : /usr/src/tensorrt/lib/libnvinfer.so;/usr/lib/aarch64-linux-gnu/libnvonnxparser.so
-- TENSORRT_INCLUDE_DIR : /usr/src/tensorrt/include
-- CUDNN_LIB : /usr/lib/aarch64-linux-gnu/libcudnn.so
-- CUBLASLT_LIB : /usr/local/cuda/lib64/libcublasLt.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/xx/data/pointcloud-3d-detector-tensorrt/build
make -j10 did not report an error and compiled successfully,The message after running is as follows:
./devel/lib/point_detection/point_detector
loading /home/xx/data/pointcloud-3d-detector-tensorrt/plugins/lib/librd3d_trt_plugin.so ...
try loading TensorRT engine file: /home/xx/data/pointcloud-3d-detector-tensorrt/iassd_hvcsx2_gq_4x8_80e_kitti_3cls(export_fp16).engine
====== model infos ======
-> points(1, 16384, 4)
<- boxes(1, 256, 8)
<- scores(1, 256)
<- nums(1, 1)
However, when I publish the point cloud, the program is stuck and can't end. When I do a debug print, I find that it is stuck when the data enters the detector and the GPU occupancy stays at 99%.
My environment is as follows:
CUDA 11.4.14
TensorRT 8.4.1
cuDNN 8.4.1
OpenCV 4.5.4
GCC 9.4.0