Jan
Jan

Reputation: 50

GPU support error in cmake while configuring the darknet for YOLOv3 and YOLOv4

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.

Upvotes: 1

Views: 399

Answers (1)

SsSJKK
SsSJKK

Reputation: 1

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

Upvotes: 0

Related Questions