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.
does it have to do anything with the CUDA or Tensorrt version or something
CUDA 10.0.326
OpenCV 4.4.0-pcompiled CUDA: YES
TensorRT: 6.0.1.10
VPI: .1.0.0
VisionWorks: 1.6.0.500n
Vulkan: 1.1.70
cuDNN: 7.6.3.28
[ 94%] Building CXX object CMakeFiles/yolo-trt.dir/samples/sample_detector.cpp.o /usr/bin/c++ -I/usr/local/cuda-10.0/include -I/home/jetsonnano/Desktop/yolo-tensorrt/modules -I/home/jetsonnano/Desktop/yolo-tensorrt/extra -isystem /usr/local/include/opencv4 -std=c++14 -Wno-write-strings -std=gnu++11 -o CMakeFiles/yolo-trt.dir/samples/sample_detector.cpp.o -c /home/jetsonnano/Desktop/yolo-tensorrt/samples/sample_detector.cpp /home/jetsonnano/Desktop/yolo-tensorrt/samples/sample_detector.cpp: In function ‘int main()’: /home/jetsonnano/Desktop/yolo-tensorrt/samples/sample_detector.cpp:40:45: error: ‘make_unique’ is not a member of ‘std’ std::uniqueptr detector = std::make_unique();
^ detector = std::make_unique();
^ detector = std::make_unique();
^
/home/jetsonnano/Desktop/yolo-tensorrt/samples/sample_detector.cpp:40:67: error: expected primary-expression before ‘)’ token
std::uniqueptr detector = std::make_unique();
^
CMakeFiles/yolo-trt.dir/build.make:62: recipe for target 'CMakeFiles/yolo-trt.dir/samples/sample_detector.cpp.o' failed
make[2]: [CMakeFiles/yolo-trt.dir/samples/sample_detector.cpp.o] Error 1
make[2]: Leaving directory '/home/jetsonnano/Desktop/yolo-tensorrt/build'
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/yolo-trt.dir/all' failed
make[1]: [CMakeFiles/yolo-trt.dir/all] Error 2
make[1]: Leaving directory '/home/jetsonnano/Desktop/yolo-tensorrt/build'
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
~~/home/jetsonnano/Desktop/yolo-tensorrt/samples/sample_detector.cpp:40:45: note: suggested alternative: ‘__unique’ std::uniqueptr~~__unique /home/jetsonnano/Desktop/yolo-tensorrt/samples/sample_detector.cpp:40:65: error: expected primary-expression before ‘>’ token std::uniqueptr