当前位置:网站首页>如何安装pytorch?—— 一种最简单有效的方法!
如何安装pytorch?—— 一种最简单有效的方法!
2022-07-25 09:22:00 【霜溪】
对于安装第三方python库,可以说是有很多方法,具体方法见往期文章。但是,有时,因为网速,pip版本等种种原因,在安装一些库时,往往会失败。
这里,详细说明一下如何用最简单最有效的方法安装pytorch库(强大的深度学习库)。
第一步,打开pytorch官网
地址:https://pytorch.org
第二步,选择环境

在这里,我选择的是稳定版,window环境,pip安装,python语言,cuda11.3
当然,这里也可选择不安装Cuda(建议安装)。
最后Run the Command,也就是在windows命令行中输入后面的命令。
注:确保网速较好
当然,如果之前介绍的安装第三方库的方式可以成功安装这个库,那很好。但若那几种方式都失败了,不要失望,一定要尝试一下这种方法。
边栏推荐
猜你喜欢

基于树莓派4b的传感器数据可视化实现

Redis string 结构命令

*7-1 CCF 2015-09-1 sequence segmentation

Data preprocessing

In depth interpretation of C language random number function and how to realize random number

单例模式(Singleton)

@1-1 CCF 2021-04-1 gray histogram

基于机智云平台的温湿度和光照强度获取

OC -- object replication

The jar package has been launched on Alibaba cloud server and the security group has been opened, but postman still can't run. What should we do
随机推荐
Constant power wireless charging based on stm32
@3-2 optimal threshold of CCF 2020-12-2 final forecast
基于树莓派4b的传感器数据可视化实现
一张图讲解 SQL Join 左连 又连
对象数据如何转化成数组
【数据挖掘】最近邻和贝叶斯分类器
微信小程序初步了解及实现底部导航栏
~1 CCF 2022-06-2 treasure hunt! Big adventure!
Laravel calls a third party to send mail (PHP)
Esp8266的Flash读写操作以及Flash上传文件
UI原型资源
基于机智云平台的温湿度和光照强度获取
How to deploy the jar package to the server? Note: whether the startup command has nohup or not has a lot to do with it
Learning new technology language process
初识Opencv4.X----图像卷积
Redis set 结构命令
Class (2) and protocol
[code source] add brackets to the daily question
Swift简单实现待办事项
基于人脸识别的树莓派门禁系统