TensorRT-Yolov3
https://github.com/talebolano/TensorRT-Yolov3
Ubuntu 16.04 or Jetson Nano
TensorRT 5.1/5.0.2.6/4.0.1.6
CUDA 9.2 or CUDA 9.0 or CUDA 10.0
我使用的是 trt 515 cuda 只能用9
编译 要指定路径
cmake .. -DTENSORRT_ROOT=/home/amax/Downloads/TensorRT-5.1.5.0
我的g++是 4.9
修改了dataReader.h 添加#include <tuple>
不然会报
TensorRT-Yolov3/dataReader.cpp:79:116: error: return type ‘class std::tuple<std::list<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::list<std::vector<Tn::Bbox, std::allocator<Tn::Bbox> >, std::allocator<std::vector<Tn::Bbox, std::allocator<Tn::Bbox> > > > >’ is incomplete
std::tuple<std::list<std::string>, std::list<std::vector<Bbox>>> readObjectLabelFileList(const string& fileName)
^
compilation terminated due to -Wfatal-errors.
分析是 return std::make_tuple(move(fileList),move(bBoxes)); 接口不支持,版本问题