Open henbucuoshanghai opened 3 years ago
sudo ./yolov5 -s yolov5s.wts yolov5s.engine s
sudo ./yolov5 -d yolov5s.engine ../samples
this is not my project ....
yes..... in wrong project.
by the way ,the yolo 3 and yolo4 in this git are trained under the officifal darnket?
yes..... in wrong project.
by the way ,the yolo 3 and yolo4 in this git are trained under the officifal darnket?
yes
tks for your help,useful
but yolo34 is in c language,how to change it to tensorrt api?using onnx?or directly using the trt api? where is the related code?
in my project , I use the trt api build the yolov3 yolov4 model,and parse the darknet weight directly.
Env
About this repo
Your problem
i use the yolo5s model,get the engine and test it all right.. sudo ./yolov5 -s yolov5s.wts yolov5s.engine s sudo ./yolov5 -d yolov5s.engine ../samples when i use fp32 and fp16,everyting is right!!!
but int8 is wrong. Loading weights: yolov5s.wts Your platform support int8: true Building engine, please wait for a while... reading calib cache: int8calib.table [06/02/2021-16:54:38] [W] [TRT] TensorRT was linked against cuDNN 8.0.5 but loaded cuDNN 8.0.4 terminate called after throwing an instance of 'std::out_of_range' what(): _Map_base::at Aborted
what is wrong?