AlexeyAB / darknet

YOLOv4 / Scaled-YOLOv4 / YOLO - Neural Networks for Object Detection (Windows and Linux version of Darknet )
http://pjreddie.com/darknet/
Other
21.69k stars 7.96k forks source link

GPU compile on Jetson Tx2 #7724

Open monkeypipo opened 3 years ago

monkeypipo commented 3 years ago

I have tried to complied darknet on my Jetson tx2 on Auvidea J121 carrier board I complied darknet without GPU ,CUDA ,and cuDNN. There's no error. Once I tried to compile with them, I got this error

./src/network_kernel.cu(706): error :identifier "cudaStreamCaptureModelGlobal" is undifined ./src/network_kernel.cu(706): error : too many arguments in function call

2 errors detected in the compilaiton of "/tmp/tmpxft_00005cdb_00000000-9_network_kernels.compute_61.cpp.ii". Makefile:185: recipe for target 'obj/network_kernels.o' failed make: ***[obj/network_kernels.o] Error 1

CUDA and cuDNN were installed and works properly on its test code. I have another Tx2 module on its develop carrier. It can compile darknet with no problem and can run it on 30+ fps.

stephanecharette commented 3 years ago

I believe this is a variation of this: https://github.com/AlexeyAB/darknet/issues/7486#issuecomment-794073736