mmdetection-to-tensorrt icon indicating copy to clipboard operation
mmdetection-to-tensorrt copied to clipboard

Unable to fetch in submodule path 'third_party/cub'

Open BChunlei opened this issue 3 years ago • 2 comments

when is use the comand 'git submodule update --init --depth=1', error occurs: Unable to fetch in submodule path 'third_party/cub'. How to deal with it? thanks.

BChunlei avatar Jun 22 '21 05:06 BChunlei

You can download cub from the official repo and put it in third_party folder.

grimoire avatar Jun 22 '21 06:06 grimoire

You can download cub from the official repo and put it in third_party folder.

OK,it works. But when i install amirstan_plugin and use the command 'cmake -DTENSORRT_DIR=/root/downloads/TensorRT-7.2.3.4/ ..',error occurs:

-- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at /usr/share/cmake-3.10/Modules/FindCUDA.cmake:682 (message): Specify CUDA_TOOLKIT_ROOT_DIR Call Stack (most recent call first): CMakeLists.txt:6 (FIND_PACKAGE)

-- Configuring incomplete, errors occurred! See also "/root/project/amirstan_plugin/build/CMakeFiles/CMakeOutput.log".

BChunlei avatar Jun 23 '21 02:06 BChunlei