Got problem when i tried to use tensorrt

Aftering cloning jetson-inference and downloading submodules from "GitHub - dusty-nv/pytorch-segmentation: Training of semantic segmentation networks with PyTorch "
and cd jetson-inference
mkdir build
cd build
cmake …/
Then it went wrong with

“”""""
Note: this project uses git submodules in the source tree.
if you haven’t already, run the following command from
the project’s root directory:

       git submodule update --init

– CUDA version: 10.2
– CUDA 10 detected, enabling SM_72
– system arch: aarch64
– output path: /home/ricksanchez/jetson-inference/build/aarch64
– BUILD_EXPERIMENTAL disabled
– Copying /home/ricksanchez/jetson-inference/c/detectNet.h
– Copying /home/ricksanchez/jetson-inference/c/imageNet.h
– Copying /home/ricksanchez/jetson-inference/c/segNet.h
– Copying /home/ricksanchez/jetson-inference/c/tensorConvert.h
– Copying /home/ricksanchez/jetson-inference/c/tensorNet.h
– Copying /home/ricksanchez/jetson-inference/calibration/randInt8Calibrator.h
– Doxygen detected, to build API reference, run make docs
CMake Error at tools/CMakeLists.txt:3 (add_subdirectory):
The source directory

/home/ricksanchez/jetson-inference/tools/camera-capture

does not contain a CMakeLists.txt file.

CMake Error at CMakeLists.txt:164 (add_subdirectory):
The source directory

/home/ricksanchez/jetson-inference/utils

does not contain a CMakeLists.txt file.

– trying to build Python bindings for Python versions: 2.7;3.6;3.7
– detecting Python 2.7…
– found Python version: 2.7 (2.7.17)
– found Python include: /usr/include/python2.7
– found Python library: /usr/lib/aarch64-linux-gnu/libpython2.7.so
– CMake module path: /home/ricksanchez/jetson-inference/utils/cuda;/home/ricksanchez/jetson-inference/python/bindings;/home/ricksanchez/jetson-inference/python/bindings/…/…/utils/python/bindings
– NumPy not found
– detecting Python 3.6…
– found Python version: 3.6 (3.6.9)
– found Python include: /usr/include/python3.6m
– found Python library: /usr/lib/aarch64-linux-gnu/libpython3.6m.so
– CMake module path: /home/ricksanchez/jetson-inference/utils/cuda;/home/ricksanchez/jetson-inference/python/bindings;/home/ricksanchez/jetson-inference/python/bindings/…/…/utils/python/bindings
– NumPy not found
– detecting Python 3.7…
– Python 3.7 wasn’t found
– Copying /home/ricksanchez/jetson-inference/python/examples/detectnet.py
– Copying /home/ricksanchez/jetson-inference/python/examples/imagenet.py
– Copying /home/ricksanchez/jetson-inference/python/examples/my-detection.py
– Copying /home/ricksanchez/jetson-inference/python/examples/my-recognition.py
– Copying /home/ricksanchez/jetson-inference/python/examples/segnet.py
– Copying /home/ricksanchez/jetson-inference/python/examples/segnet_utils.py
– Copying examples/imagenet.py → imagenet-console.py
– Copying examples/imagenet.py → imagenet-camera.py
– Copying examples/detectnet.py → detectnet-console.py
– Copying examples/detectnet.py → detectnet-camera.py
– Copying examples/segnet.py → segnet-console.py
– Copying examples/segnet.py → segnet-camera.py
– Configuring incomplete, errors occurred!
See also “/home/ricksanchez/jetson-inference/build/CMakeFiles/CMakeOutput.log”.
See also “/home/ricksanchez/jetson-inference/build/CMakeFiles/CMakeError.log”.

“”"""

what should i do next?

Hi @329512443, did you clone with git --recursive?

If not, run this:

cd /path/to/your/jetson-inference
git submodule update --init
cd build
cmake ../

i think that the
“git submodule update --init"
is downloading from
“” GitHub - dusty-nv/pytorch-segmentation: Training of semantic segmentation networks with PyTorch “”
so i just use
“git clone GitHub - dusty-nv/pytorch-segmentation: Training of semantic segmentation networks with PyTorch
instead
wont it work?
but maybe its something to do with the network,after i ran " git submodule update --init " it just didnt work

Hi,

Just give it try.
The cmake works correctly with the following command:

$ git clone https://github.com/dusty-nv/jetson-inference
$ git submodule update --init
$ mkdir build
$ cd build/
$ cmake ../
...

Please help to give it a try.
Thanks.