安装pytorch1.1
时间: 2023-11-09 22:01:10 浏览: 44
您可以通过以下命令安装PyTorch 1.1:
```
pip install torch==1.1.0
```
请注意,这将安装CPU版本的PyTorch。如果您需要GPU版本,请使用以下命令:
```
pip install torch==1.1.0 torchvision==0.3.0
```
相关问题
pytorch1.1安装
安装PyTorch1.1需要以下步骤:
1. 确认你的电脑是否已经安装了CUDA和cuDNN,如果没有安装,需要先安装它们。
2. 打开https://download.pytorch.org/whl/torch_stable.html,下载适合你电脑环境的PyTorch1.1版本的whl文件。
3. 打开命令行窗口,进入whl文件所在的目录,输入以下命令进行安装:pip install torch-1.1.0-cp36-cp36m-win_amd64.whl
4. 安装torchvision:pip install torchvision
5. 测试是否安装成功:在Python交互界面中输入import torch和import torchvision,如果没有报错,则安装成功。
pytorch1.1对应的版本
根据引用中提供的信息,pytorch1.1对应的CUDA版本是10.1.<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [Pytorch- 1.1 Pytorch 简介及安装(配置cuda-torch环境)](https://blog.csdn.net/weixin_42888638/article/details/121665015)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [01 Pytorch和CUDA对应的版本及Pytorch和Python对应的版本及Python与Anaconda的对应关系](https://blog.csdn.net/qq_41946216/article/details/129476095)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]