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.18k
stars
316
forks
source link
Invalid network type in trt_utils.loadWeights() on yolov4_scaled branch #147
I have gotten the executable to build on the yolov4_scaled branch but I encounter this error when loading the weights.
Error is caused by this line in
modules/trt_utils.cpp
loadWeights()
What is this
(int)(unsigned char)buf[0]
and what should the value be?