1 torch + cuda
- 用cuda的torch,最好不要直接conda 或者pip去安装,否则用gpu去训练、测试模型容易出问题。建议直接去torch官网找https://pytorch.org/get-started/previous-versions/
- 如果使用上面的命令安装后,报错(Could not find a version that satisfies…)。可能是cuda + torch的版本windows还没有,可以去官网看看cuda + torch版本对windows的适用情况,https://download.pytorch.org/whl/torch/