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:
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:
cmake -D DS_SDK_ROOT=<DS SDK Root> -D TRT_SDK_ROOT=<TRT SDK Root> -D CMAKE_BUILD_TYPE=Release ..
cmake -D DS_SDK_ROOT=<DS SDK Root> -D CMAKE_BUILD_TYPE=Release ..
after that when I run
following error comes up:
nvidia@jetson-0423018054743:~/Downloads/deepstream_reference_apps-master/CaffeMNIST/nvdsinfer_custom_impl_CaffeMNIST/build$ make [ 33%] Building CXX object CMakeFiles/nvdsinfer_custom_impl_CaffeMNIST.dir/nvdsiplugin_CaffeMNIST.cpp.o In file included from /home/nvidia/Downloads/deepstream_reference_apps-master/CaffeMNIST/nvdsinfer_custom_impl_CaffeMNIST/nvdsiplugin_CaffeMNIST.cpp:26:0: /home/nvidia/Downloads/deepstream_reference_apps-master/CaffeMNIST/nvdsinfer_custom_impl_CaffeMNIST/factoryCaffeMNISTLegacy.h:39:10: fatal error: fp16.h: No such file or directory #include "fp16.h" ^~~~~~~~ compilation terminated. CMakeFiles/nvdsinfer_custom_impl_CaffeMNIST.dir/build.make:62: recipe for target 'CMakeFiles/nvdsinfer_custom_impl_CaffeMNIST.dir/nvdsiplugin_CaffeMNIST.cpp.o' failed make: *** [CMakeFiles/nvdsinfer_custom_impl_CaffeMNIST.dir/nvdsiplugin_CaffeMNIST.cpp.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/nvdsinfer_custom_impl_CaffeMNIST.dir/all' failed make: *** [CMakeFiles/nvdsinfer_custom_impl_CaffeMNIST.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2
Can someone please guide me what I am doing wrong?