小书学习的主要方向是tensorflow和pytorch,今天就来安装一下pytorch。
广州有哪些大学pytorch官网:()
点击get started
复制命令到win10终端:
c:\urs\shu\desktop>pip3 install /d/file/titlepic/torch-0.4.1-cp36-cp36m-win_amd64.whlcollecting torch==0.4.1 from /d/file/titlepic/torch-0.4.1-cp36-cp36m-win_amd64.whl downloading /d/file/titlepic/torch-0.4.1-cp36-cp36m-win_amd64.whl (55.9mb) 100% |████████████████████████████████| 55.9mb 2.9mb/sinstalling collected packages: torchsuccessfully installed torch-0.4.1
c:\urs\shu\desktop>pip3 install /d/file/titlepic/torch-0.4.1-cp36-cp36m-win_amd64.whlcollecting torch==0.4.1 from /d/file/titlepic/torch-0.4.1-cp36-cp36m-win_amd64.whl downloading /d/file/titlepic/torch-0.4.1-cp36-cp36m-win_amd64.whl (55.9mb) 100% |████████████████████████████████| 55.9mb 2.9mb/sinstalling collected packages: torchsuccessfully installed torch-0.4.1c:\urs\shu\desktop>pip3 install torchvisioncollecting torchvision downloading https://files.pythonhosted.org/packages/ca/0d/f00b2885711e08bd71242ebe7b96561e6f6d0英语的一般疑问句1fdb4b9dcf4d37e2e13c5e1/torchvision-0.2.1-py2.py3-none-ahowever的用法ny.whl (54kb) 100% |████████████████████████████████| 61kb 120kb/srequirement already satisfied: numpy in c:\urs\shu\appdata\local\programs\python\python36\lib\site-packages (from torchvision) (1.15.3)requirement already satisfied: six in c:\urs\shu\appdata\local\programs\python\python36\lib\site-packages (from torchvision) (1.11.0)collecting pillow>=4.1.1 (from torchvision) downloading https://files.pythonhosted.org/packages/bd/39/c76eaf781343162bdb1cf4854cb3bd5947a87ee44363e5acd6c48d69c4a1/pillow-5.3.0-cp36-cp36m-win_amd64.whl (1.6mb) 100% |████████████████████████████████| 1.6mb 81kb/srequirement already satisfied: torch in c:\urs\shu\appdata\local\programs\python\python36\lib\site-packages (from torchvision) (0.4.1)installing collected packages: pillow, torchvisionsuccessfully installed pil学校广告low-5.3.0 torchvision-0.2.1
谈笑间,pytorch就已经安装成功了。我这边开的热点,网速可能会快一些。
注:现在网上的教程大多是anaconda方式 安装,谁让小书是小白呢,代码编辑器是sublime text 3,所以用的都是简单粗暴的方法。
c:\urs\shu\desktop>pythonpython 3.6.4 (v3.6.4:d48eceb, dec 19 2017, 06:54:40) [msc v.1900 64 bit (amd64)] on win32type "help", "copyright", "credits" or "licen" for more information.>>> import pytorchtraceback (most recent call last): file "<stdin>", line 1, in <module>modulenotfounderror: no module named 'pytorch'>>> import torch>>>
到此这篇关于教你一分钟在win10终端成功安装pytorch的方法步骤的文章就介绍到这了,更多相关win10安装pyt画家赵广不屈orch内容请搜索www.887551.com以前的文章或继续浏览下面的相关文章希望大家以后多多支持www.887551.com!
本文发布于:2023-04-04 15:36:53,感谢您对本站的认可!
本文链接:https://www.wtabcd.cn/fanwen/zuowen/d1cff5264deced3ca58edc18fda1a75f.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文word下载地址:教你一分钟在win10终端成功安装Pytorch的方法步骤.doc
本文 PDF 下载地址:教你一分钟在win10终端成功安装Pytorch的方法步骤.pdf
留言与评论(共有 0 条评论) |