查看torch版本
cmd
python
import torch
print(torch.__version__
)
卸载现在的torch
pip uninstall torch
安装1.4.0版本的torch
pip install torch1.4.0+cpu torchvision0.5.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
查看torch版本
cmd
python
import torch
print(torch.__version__
)
卸载现在的torch
pip uninstall torch
安装1.4.0版本的torch
pip install torch1.4.0+cpu torchvision0.5.0+cpu -f https://download.pytorch.org/whl/torch_stable.html