Traceback (most recent call last):
File "E:/AAAAA/Aimportant/RsnaBoneAge/train.py", line 37, in <module>
from torch.utils.data import Dataset
File "C:\Users\Daisy\.conda\envs\pytorch\lib\site-packages\torch\__init__.py", line 127, in <module>
raise err
OSError: [WinError 126] 找不到指定的模块。 Error loading "C:\Users\Daisy\.conda\envs\pytorch\lib\site-packages\torch\lib\asmjit.dll" or one of its dependencies.
报错原因:
pytorch版本过高,需要重新安装低版本pytorch
解决方法:
又遇到新问题:
Traceback (most recent call last):
File "E:/AAAAA/Aimportant/RsnaBoneAge/train.py", line 37, in <module>
from torch.utils.data import Dataset
File "C:\Users\Daisy\.conda\envs\pytorch\lib\site-packages\torch\__init__.py", line 102, in <module>
from torch._C import *
ImportError: DLL load failed: 找不到指定的程序。
报错原因:
可能是pytorch版本不对?搜罗了半天这个大佬提供的方法奏效了
win10+cuda10.0+pytorch安装_water19111213的博客-CSDN博客_cuda10.0对应的pytorch