I am using CaffeMNIST reference app for my use case. As instructed in Readme file there are certain pre-requisites as follows to run the app:
Pre-requisites:
Copy mnist_mean.binaryproto and mnist.caffemodel from the data/mnist directory in the TensorRT SDK to the CaffeMNIST/data directory
I have flashed Xavier with Jetpack 4.1 and hence TensorRT is inbuilt in that so there is no TensorRT SDK separately and hence both files are missing. Could you please lemme know how it will affect the implementation of the app?
After that the following command was modified since TensorRT SDK root folder is not there as mentioned above:
Thanks DaneLLL for your reply.
How could we run it on Desktop GPU? Would it not require to go through the same steps to install TensorRT and other dependencies that is required for Deepstream to run? It is given in the reference apps of NVIDA deepstream on Github and how it cannot be supported on Jetson?
I tried running it on Desktop just to give your suggestion a try but since TensorRT and other dependencies are missing, I could not do that. What am I supposed to do now with Xavier? Please find below the error log when I tried to run it on Desktop GPU:
cmake -D DS_SDK_ROOT=/Downloads/DeepStreamSDK-Jetson-3.0_EA_beta5.0/deepstream_sdk_on_jetson -D CMAKE_BUILD_TYPE=Release ..
-- The C compiler identification is GNU 7.4.0
-- The CXX compiler identification is GNU 7.4.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
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found CUDA: /usr/local/cuda-10.0 (found suitable exact version "10.0")
CMake Error at CMakeLists.txt:42 (MESSAGE):
-- Unable to find TensorRT headers. Please set path using -DTRT_SDK_ROOT
-- Configuring incomplete, errors occurred!
See also "/Downloads/deepstream_reference_apps-master/CaffeMNIST/nvdsinfer_custom_impl_CaffeMNIST/build/CMakeFiles/CMakeOutput.log".
See also "/Downloads/deepstream_reference_apps-master/CaffeMNIST/nvdsinfer_custom_impl_CaffeMNIST/build/CMakeFiles/CMakeError.log".