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.
When I use it on centos7, it reports an error like this:terminate called after throwing an instance of 'std::out_of_range' what(): map::at,
I eventually found out that Linux does not treat the blank lines in the configuration file yolov5s6.cfg the same way Windows does. When reading a blank line, 'line.empty()=true' under Windows, and 'line="\r"' under Centos7, so 'line.empty()=false'.
When I use it on centos7, it reports an error like this:
terminate called after throwing an instance of 'std::out_of_range' what(): map::at
, I eventually found out that Linux does not treat the blank lines in the configuration file yolov5s6.cfg the same way Windows does. When reading a blank line, 'line.empty()=true' under Windows, and 'line="\r"' under Centos7, so 'line.empty()=false'.