yolov5_deepsort_tensorrt icon indicating copy to clipboard operation
yolov5_deepsort_tensorrt copied to clipboard

pycuda._driver.LogicError: cuDeviceGet failed: initialization error

Open oussamabousselmi opened this issue 3 years ago • 2 comments

when i run demo_trt.py i got this error detector = Detector(engine_file_path) File "/home/radar/Desktop/yolotrt/yolov5_deepsort_tensorrt/detector_trt.py", line 43, in init self.cfx = cuda.Device(0).make_context() pycuda._driver.LogicError: cuDeviceGet failed: initialization error

oussamabousselmi avatar Sep 18 '21 14:09 oussamabousselmi

Please carefully check whether the type and dimension information of the input data is correct.

cong avatar Sep 22 '21 02:09 cong

This problem can occur with the engine file provided by the author, and can be solved using your own engine file.

lencm avatar Dec 02 '21 06:12 lencm