-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A problem when make #18
Comments
Hello. This project is currently targeting Jetson TX2 / JetPack 3.2. Did you flash your Jetson using the latest JetPack 3.2? This should install CUDA 9.0 and TensorRT 3.0.4 (which includes NvInfer.h). |
Hi, is there a way to make this work for 1080ti? A cmake beginner here, any help would be appreciated! |
Hi Mike, I was able to get over this error by installing tensorrt with tar and adding the header files to LD_LIBRARY_PATH All header files are under TensorRT-3.0.4/include/ But I ran into the error below haha |
I solved this problem by replacing cv::Mat image= cv::imread(imageFilename, CV_LOAD_IMAGE_COLOR); line with cv::Mat image = cv::imread(imageFileName); |
Any news for this error ? I met the exact same error even with TensorRT-4.0.1.6.Ubuntu-16.04.4.x86_64-gnu.cuda-9.0.cudnn7.1.tar.gz.. |
As stated in the log, the nvuffparser::IUffParser::registerInput method requires 3 arguments (see the docs). Try to use |
Try sudo aptitude install libnvinfer5 libnvinfer-dev |
I got a error when I make the project, who knows how can I solve it?
cuda version :8.0
TensorRT :3.0.4
env: Ubantu
The following is the error information:
`project/tf_to_trt_image_classification-master/examples/classify_image/classify_image.cu:10:21: fatal error: NvInfer.h: No such file or directory
#include <NvInfer.h>
^
compilation terminated.
CMake Error at classify_image_generated_classify_image.cu.o.cmake:207 (message):
Error generating
/project/tf_to_trt_image_classification-master/build/examples/classify_image/CMakeFiles/classify_image.dir//./classify_image_generated_classify_image.cu.o
make[2]: *** [examples/classify_image/CMakeFiles/classify_image.dir/classify_image_generated_classify_image.cu.o] Error 1
make[1]: *** [examples/classify_image/CMakeFiles/classify_image.dir/all] Error 2
make: *** [all] Error 2`
The text was updated successfully, but these errors were encountered: