When I run my Python code in Visual Studio, this warning message appears and continues to work, but when I convert my code to exe, it closes instantly without giving any error.
[ WARN:0@34.474] global D:\a\opencv-python\opencv-python\opencv\modules\core\src\ocl.cpp (1020) cv::ocl::OpenCLExecutionContext::Impl::getInitializedExecutionContext OpenCL: Can't initialize OpenCL context/device/queue: unknown C++ exception
What you saw at the beginning [WARN:0@34.474 ]
every time I run the program, the part consisting of numbers changes.
Can someone tell me exactly what I should do? My video card is not good. and I don’t use C++ in my code,
When I run it in debug mode, there are no problems when I run it in normal mode, there are no problems, only a warning message comes, but when it to exe, it closes instantly without giving any errors.