Relative Content

Tag Archive for c++opencvcuda

Trouble compiling and running an OpenCV project with CUDA in Visual Studio, net.forward();

I’m encountering issues while compiling and running my OpenCV project with CUDA in Visual Studio. I’m using Visual Studio 2022 in windows 11 and have configured OpenCV 4.8.0 with CUDA 12.1 and CUDNN 8.9.3 . Despite following the setup instructions, I’m receiving an error during compilation/execution. The error message I’m encountering is Unhandled exception at 0x00007FFD4697DF51 (cudnn64_8.dll) in TestTensorflow.exe: Fatal program exit requested., and it occurs at outputs = net.forward() ;. I’ve verified my CUDA installation and ensured that the necessary environment variables and paths are correctly set up. Any insights or suggestions on how to resolve this issue would be greatly appreciated