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

Cuda failure: no kernel image #4

Closed stevenlee090 closed 4 years ago

stevenlee090 commented 4 years ago

Hi,

I was trying to build and run the sample on Ubuntu 18.04 and encountered the following error. Was wondering if anyone tried something similar?

[build] ./yolov3-trt                                                                                                             master 
Loading pre-trained weights...
Loading complete!
Using previously generated plan file located at ../configs/yolov3-kFLOAT.engine
Loading TRT Engine...
Loading Complete!
Cuda failure: no kernel image is available for execution on the device in file /work/code/yolo-tensorrt/modules/plugin_factory.cpp at line 155
[1]    19770 abort (core dumped)  ./yolov3-trt

I have followed the prerequisites listed in the main read me.

stevenlee090 commented 4 years ago

I had a look around and I think this may be due to my GTX 760m GPU which could be too old for this.