level 1
我安装时显示:
C:\Users\k\Anaconda3\Scripts\pip install torch===1.2.0 torchvision===0.4.0 -f https://download.pytorch.org/whl/torch_stable.html
Requirement already satisfied: numpy in c:\users\k\anaconda3\lib\site-packages (from torch===1.2.0) (1.15.3)
Requirement already satisfied: six in c:\users\k\anaconda3\lib\site-packages (from torchvision===0.4.0) (1.10.0)
Requirement already satisfied: pillow>=4.1.1 in c:\users\k\anaconda3\lib\site-packages (from torchvision===0.4.0) (5.4.1)
Installing collected packages: torch, torchvision
测试:
python
Python 3.5.2 |Anaconda 4.2.0 (64-bit)| (default, Jul 5 2016, 11:41:13) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> print(torch.__version__)
1.2.0
>>>
2025年02月15日 01点02分
