AlexeyAB / darknet

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

compiling with cuda 9.2 fails #2418

Open holger-prause opened 5 years ago

holger-prause commented 5 years ago

According to the documentation compiling with older cuda version is possible.

If you have other version of CUDA (not 10.0) then open build\darknet\darknet.vcxproj by using Notepad, find 2 places with "CUDA 10.0" and change it to your CUDA-version, then do step 1

I can confirm this was working some time ago but it is broken now on latest master.

Changing `

compute_30,sm_30;compute_75,sm_75

back to

compute_30,sm_30;compute_52,sm_52

`

in the .vcxproj file fixed the problem for me. Maybe this should be included in the documentation. Any further input on this is welcome :-)

My System: Cuda 9.2 Cudnn Windows 7 VS Studio15

holger-prause commented 5 years ago

Hey cool so alex is reading all this stuff - great man!