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.
In the function of yolo.cpp void Yolo::parse_cfg_blocks_v5(const std::vector<std::map<std::string, std::string>> &vec_block_) , the "batch" checking is missing, assert((block.find("batch") != block.end()) && "Missing 'batch' param in network cfg"); should be added at 1179 line.
In the function of yolo.cpp
void Yolo::parse_cfg_blocks_v5(const std::vector<std::map<std::string, std::string>> &vec_block_)
, the "batch" checking is missing,assert((block.find("batch") != block.end()) && "Missing 'batch' param in network cfg");
should be added at 1179 line.