enazoe / yolo-tensorrt

TensorRT8.Support Yolov5n,s,m,l,x .darknet -> tensorrt. Yolov4 Yolov3 use raw darknet *.weights and *.cfg fils. If the wrapper is useful to you,please Star it.
MIT License
1.19k stars 316 forks source link

Jetson pack 32.6.1 and TensorRT 8.0 support #139

Open adrianosantospb opened 2 years ago

adrianosantospb commented 2 years ago

Hi,

I'm trying to build this repo using jetson-pack-32-6-1 and tensorrt 8.0, but I'm getting a stranger error (stop the process without apparent error) that it could have some relation of JP 32 and TRT 8. I'd like to know If someone here already tested on these versions.

Tks.

enazoe commented 2 years ago

try the branch TRT8

adrianosantospb commented 2 years ago

Hi, @enazoe . Tks for your support. Well, I did it and now I'm getting a strange error. Look at:

yolo-tensorrt/modules/calibrator.cpp:26: /usr/include/aarch64-linux-gnu/NvInfer.h:6669:18: error: overriding 'virtual void nvinfer1::IInt8Calibrator::writeCalibrationCache(const void, std::size_t) noexcept' virtual void writeCalibrationCache(const void ptr, std::size_t length) noexcept = 0; ^~~~~ CMakeFiles/detector.dir/build.make:62: recipe for target 'CMakeFiles/detector.dir/external/yolo-tensorrt/modules/calibrator.cpp.o' failed make[2]: [CMakeFiles/detector.dir/external/yolo-tensorrt/modules/calibrator.cpp.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/detector.dir/all' failed make[1]: [CMakeFiles/detector.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2

Any idea? The problem is that there is no a clear error message for now...

ismetdagli commented 2 years ago

The problem is still there. Can someone update here after finding a solution/idea on what to do?