1

I've been trying to set up the YOLOv3 with the darknet (according to this tutorial: https://youtu.be/saDipJR14Lc at 11:30). While configuring the darknet with CUDA support, CMake raised

CMake Error at CMakeLists.txt:156 (message):
  CUDA not found, please build explicitly with -DENABLE_CUDA=OFF if you do
  not want CUDA.

enter image description here

I looked at a bunch of GitHub and StackOverflow threads about this or any similar error message, but I haven't found any solution yet that works. By the way, when I check my CUDA version (11.2) in cmd (I'm on Windows), the version shows up correctly.

Tsyvarev
  • 60,011
  • 17
  • 110
  • 153
Jan
  • 50
  • 6
  • 2
    Stack Overflow discourages **images** which just represent a text. Instead we expect the **text** itself to be pasted into the question post. This can be done at least for the error message about the CUDA. See [ask] and [that question](https://meta.stackoverflow.com/questions/285551/why-should-i-not-upload-images-of-code-data-errors) on meta. – Tsyvarev Jan 16 '23 at 21:27
  • 1
    I tried many different ideas. Finally, I installed CUDA 12, which solved my problem. – Jan Jan 17 '23 at 00:34

1 Answers1

0

I had a similar problem. When installing Cuda, there was an error that the VS version is not suitable. Reinstalled from 2022 to 2019

SsSJKK
  • 1