Traceback (most recent call last):
File "E:/AAAAAbishe/Aimportant/RsnaBoneAge/train.py", line 37, in
from torch.utils.data import Dataset
File "C:\Users\Daisy\.conda\envs\pytorch\lib\site-packages\torch\__init__.py", line 127, in
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:/AAAAAbishe/Aimportant/RsnaBoneAge/train.py", line 37, in
from torch.utils.data import Dataset
File "C:\Users\Daisy\.conda\envs\pytorch\lib\site-packages\torch\__init__.py", line 102, in
from torch._C import *
ImportError: DLL load failed: 找不到指定的程序。
报错原因:
可能是pytorch版本不对?搜罗了半天这个大佬提供的方法奏效了