That’s odd, the locations look correct. You shouldn’t even need to include WITH_CUDNN and OPENCV_CNN_CUDA for it to work. Just out of interest what happens if you don’t include those flags?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
[ WARN:0@1.416] global net_impl.cpp:174 setUpNet DNN module was not built with CUDA backend; switching to CPU | 5 | 976 | October 1, 2023 | |
Unable to Compile OpenCV with CUDA support on Ubuntu 22.04 | 2 | 461 | July 31, 2024 | |
Building OpenCV 4.8 with CUDA 11.8 on Ubuntu - unsuccesfull | 8 | 7355 | July 19, 2023 | |
ERROR COMPILING OPENCV WITH CUDA at 99%, PLEASE HELP | 2 | 432 | September 21, 2023 | |
Cannot build OpenCV with CUDA and CUDNN | 3 | 4100 | August 9, 2022 |