我也是替换了,也有cuda环境,同样调用不了,楼上哪位朋友有解决了?给小弟指点一下呗这问题怎么这么多人遇到。 |
CUDA11.4,CUDNN8.2.2.26都装好了,无法使用 OpenCV(4.6.0) Error: No CUDA support (OpenCV was not built to work with the selected device. Please check CUDA_ARCH_PTX or CUDA_ARCH_BIN in your build configuration.) in cv::dnn::dnn4_v20220524::Net::Impl::initCUDABackend, file F:\opencv4.6\opencv\sources\modules\dnn\src\op_cuda.cpp, line 30 |
总是报错 [ INFO:0@1.324] global F:\opencv4.6\opencv\sources\modules\videoio\src\videoio_registry.cpp (223) cv::`anonymous-namespace'::VideoBackendRegistry::VideoBackendRegistry VIDEOIO: Enabled backends(8, sorted by priority): FFMPEG(1000); GSTREAMER(990); INTEL_MFX(980); MSMF(970); DSHOW(960); CV_IMAGES(950); CV_MJPEG(940); UEYE(930) [ INFO:0@1.365] global F:\opencv4.6\opencv\sources\modules\videoio\src\backend_plugin.cpp (383) cv::impl::getPluginCandidates Found 3 plugin(s) for FFMPEG [ INFO:0@1.377] global F:\opencv4.6\opencv\sources\modules\core\src\utils\plugin_loader.impl.hpp (67) cv::plugin::impl:ynamicLib::libraryLoad load C:\Users\noname\AppData\Roaming\VolDev\??+??\????\???\_sys_sln_tmp\samples\vprj_win\_int\DNN_ObjectDetection\debug\x64\linker\opencv_videoio_ffmpeg460_64d.dll => FAILED [ INFO:0@1.399] global F:\opencv4.6\opencv\sources\modules\core\src\utils\plugin_loader.impl.hpp (67) cv::plugin::impl:ynamicLib::libraryLoad load opencv_videoio_ffmpeg460_64d.dll => FAILED [ INFO:0@1.414] global F:\opencv4.6\opencv\sources\modules\core\src\utils\plugin_loader.impl.hpp (67) cv::plugin::impl:ynamicLib::libraryLoad load opencv_videoio_ffmpeg460_64.dll => OK [ INFO:0@1.423] global F:\opencv4.6\opencv\sources\modules\videoio\src\backend_plugin.cpp (50) cv::impl:luginBackend::initCaptureAPI Found entry: 'opencv_videoio_capture_plugin_init_v1' [ INFO:0@1.433] global F:\opencv4.6\opencv\sources\modules\videoio\src\backend_plugin.cpp (169) cv::impl:luginBackend::checkCompatibility Video I/O: initialized 'FFmpeg OpenCV Video I/O Capture plugin': built with OpenCV 4.6 (ABI/API = 1/1), current OpenCV version is '4.6.0' (ABI/API = 1/1) [ INFO:0@1.447] global F:\opencv4.6\opencv\sources\modules\videoio\src\backend_plugin.cpp (69) cv::impl:luginBackend::initCaptureAPI Video I/O: plugin is ready to use 'FFmpeg OpenCV Video I/O Capture plugin' [ INFO:0@1.457] global F:\opencv4.6\opencv\sources\modules\videoio\src\backend_plugin.cpp (84) cv::impl:luginBackend::initWriterAPI Found entry: 'opencv_videoio_writer_plugin_init_v1' [ INFO:0@1.467] global F:\opencv4.6\opencv\sources\modules\videoio\src\backend_plugin.cpp (169) cv::impl:luginBackend::checkCompatibility Video I/O: initialized 'FFmpeg OpenCV Video I/O Writer plugin': built with OpenCV 4.6 (ABI/API = 1/1), current OpenCV version is '4.6.0' (ABI/API = 1/1) [ INFO:0@1.481] global F:\opencv4.6\opencv\sources\modules\videoio\src\backend_plugin.cpp (103) cv::impl:luginBackend::initWriterAPI Video I/O: plugin is ready to use 'FFmpeg OpenCV Video I/O Writer plugin' O |
as853749515 发表于 2022-11-15 01:40 我也一样 |
为什么我什么都安装好了 也配置好了 运行还是cpu 不是GPU运行呢 |
为什么我的都配置好了 运行不是用的GPU 而是cpu呢 |
我的 CUDA11.4,CUDNN8.2.2.6 都安装成功了 dll lib 也替换了 为啥我运行的时候还是用的CPU呢 设置的英伟达CUDA推理引擎 |
膜拜大神 |
CUDA加速真香 |
|Archiver|手机版|小黑屋|递归火山软件开发平台 ( 鄂ICP备18029190号 )
GMT+8, 2024-11-24 04:35 , Processed in 0.090628 second(s), 26 queries .
Powered by Discuz! X3.4
© 2001-2017 Comsenz Inc.