解决OSError: [WinError 127] Error loading “S:\anaconda\envs\bert\lib\site-packages\torch\lib\caffe2_de

OSError: [WinError 127] 找不到指定的模块。anaconda\lib\site-packages\torch\lib\caffe2_detectron_ops.dll“

FileNotFoundError - caffe2_detectron_ops.dll on Windows source build if Python 3.8 used · Issue #35803 · pytorch/pytorch · GitHub

删掉 caffe2_detectron_ops.dll caffe2_module_test_dynamic.dll and caffe2_observers.dll and it finally works.

你可能感兴趣的:(环境搭建,bert,pytorch,深度学习)