cuda和pytorch匹配问题OSError: [WinError 126] 找不到指定的模块。

在测试cuda和torch是否匹配是报错

OSError: [WinError 126] 找不到指定的模块。 Error loading "E:\Anaconda3\lib\site-packages\torch\lib\caffe2_detectron_ops.dll" or one of its dependencies.

出现这个,不知道如何解决

img

img


你torch安装在conda的base环境而不是其他虚拟环境?