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

fail to build yolov4 engine #36

Closed liudakai2 closed 4 years ago

liudakai2 commented 4 years ago

求助作者大大和各位大佬~ xavier上编译项目成功,但运行demo的时候报错: modules/yolo.cpp:522: void Yolo::createYOLOEngine(nvinfer1::DataType, Int8EntropyCalibrator*): Assertion `m_Engine != nullptr' failed.

系统环境: JetPack 4.3 Ubuntu 18.04.3 LTS CUDA 10.0.326 cudnn 7.6.3 Tensorrt 6.0.1 OpenCV 4.1.1

enazoe commented 4 years ago

@liudakai2 你刷成jetpack4.4试试?

liudakai2 commented 4 years ago

嗯嗯,我板子上还部署了其他东西,暂时不能刷成4.4,谢谢作者大大

---Original--- From: "enazoe"<notifications@github.com> Date: Mon, Jul 27, 2020 09:22 AM To: "enazoe/yolo-tensorrt"<yolo-tensorrt@noreply.github.com>; Cc: "Mention"<mention@noreply.github.com>;"Liu Kai"<951522847@qq.com>; Subject: Re: [enazoe/yolo-tensorrt] fail to build yolov4 engine (#36)

@liudakai2 你刷成jetpack4.4试试?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

enazoe commented 4 years ago

@liudakai2 你回滚到之前的版本试下,yolov4用了些新的api,改下对应版本的api就行,类名相似

liudakai2 commented 4 years ago

嗯嗯好的

---Original--- From: "enazoe"<notifications@github.com> Date: Mon, Jul 27, 2020 10:47 AM To: "enazoe/yolo-tensorrt"<yolo-tensorrt@noreply.github.com>; Cc: "Mention"<mention@noreply.github.com>;"Liu Kai"<951522847@qq.com>; Subject: Re: [enazoe/yolo-tensorrt] fail to build yolov4 engine (#36)

@liudakai2 你回滚到之前的版本试下,yolov4用了些新的api,改下对应版本的api就行,类名相似

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.