enazoe / yolo-tensorrt

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.19k stars 315 forks source link

terminate called after throwing an instance of 'std::out_of_range' #113

Open swlfsj opened 3 years ago

swlfsj commented 3 years ago

请问以下在测试yolo4时报出这个错误该如何解决呢 File does not exist : ../configs/yolov4-kINT8-batch1.engine Building the TensorRT Engine... New calibration table will be created to build the engine terminate called after throwing an instance of 'std::out_of_range' what(): _Map_base::at 已放弃 (核心已转储) 谢谢

enazoe commented 3 years ago

检查下内存是否充足

swlfsj commented 3 years ago

好的,谢谢您的解答,我测试了一下将config_v4.inference_precison =INT8改为FP32便能跑通,应该是在台式电脑上不支持INT8的原因