当前位置: 首页 > news >正文

四川住房和城乡建设厅网站题库新手怎么做销售

四川住房和城乡建设厅网站题库,新手怎么做销售,三亚网站定制开发公司,哪些网站可以做h5一、正确安装符合自己电脑的对应GPU版本的PyTorch之前需要了解三个基本概念 算力、CUDA driver version、CUDA runtime version ①算力:需要先知道你的显卡,之后根据官网表格进行对应,得到算力 ②CUDA driver version:电脑上显卡…

一、正确安装符合自己电脑的对应GPU版本的PyTorch之前需要了解三个基本概念

算力、CUDA driver version、CUDA runtime version

①算力:需要先知道你的显卡,之后根据官网表格进行对应,得到算力

在这里插入图片描述

②CUDA driver version:电脑上显卡的硬件驱动

在这里插入图片描述

③CUDA runtime version:pytorch官网上所显示的CUDA版本号

在这里插入图片描述

三者之间需要满足的关系:
CUDA driver version ≥ CUDA runtime version (即:②≥③)
CUDA runtime version得支持自己电脑GPU所对应的算力(即:②得支持①)

二,查看自己电脑GPU型号

快捷键:Ctrl + Shift + Esc
例如我的是:NVIDIA GeForce GT 640M
在这里插入图片描述
建议在此之前先安装最新版的显卡驱动,官网驱动下载链接
在这里插入图片描述

三、转换算力

官网查询算力对照表
官网需要翻墙,这里给个传送门:NVIDIA显卡算力查询
我这里是3.0的算力,(2008年奥运限定款电脑 哈哈哈哈)
在这里插入图片描述

四、确定CUDA版本所支持的算力

传送门:不同版本CUDA支持的算力
我这个是3.0的算力,对应可以选择9.0-9.210.0-10.2CUDA runtime version
在这里插入图片描述

五、查看自己的CUDA driver version

win+R,输入cmd,打开命令窗口,输入nvidia-smi
我这里是10.1
在这里插入图片描述
(10.1)这个是CUDA driver version,值要大于CUDA runtime version(9.0-9.210.0-10.2)
最终进行筛选,CUDA runtime version可以是9.0、9.1、9.2、10.0、10.1,这里选择10.0的就行了

六、在线安装自己的GPU版本的pytorch

pytorch官网,找到CUDA为10.0的进行安装
因为我的电脑比较老,然后选择之前的版本CUDA进行下载安装
在这里插入图片描述

CUDA runtime version版本10.0对应的pytorch为v1.2.0版本,因为这里是Conda进行安装的,最终确定命令为:
conda install pytorch==1.2.0 torchvision==0.4.0 cudatoolkit=10.0 -c pytorch
这里的-c是下载通道含义,-c pytorch表示从pytorch官网下载,因为是外国的服务器,一般会很慢。我们可以看到这条命令其实是下载了三个库, pytorch==1.2.0 torchvision==0.4.0 cudatoolkit=10.0

在这里插入图片描述
快速下载:
从清华源进行下载(pytorch和torchvision是一个地址,cudatoolkit是另一个地址)
conda install pytorch==1.2.0 torchvision==0.4.0 -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/win-64/
conda install cudatoolkit=10.0 -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/

报错问题

在自己的环境空间下输入命令即可
若出现下述问题:CondaHTTPError: HTTP 403 FORBIDDEN for url
在这里插入图片描述

解决方法

最好的办法就是早上搞,家人们,尤其是早上6点多,网速飞起!!!!像这种下载超时错误,一般都能解决!

重置配置文件:conda config --remove-key channels
添加清华源:
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
conda config --set show_channel_urls yes
在这里插入图片描述
之后再次运行即可
也可参考博文:Anaconda中下载速度贼慢?

七、本地安装PyTroch

若第六步老是出问题,那就直接本地下载安装得了
例如通过torch官网找到的命令为:conda install pytorch==1.2.0 torchvision==0.4.0 cudatoolkit=10.0 -c pytorch
可以知道需要下载pytorch==1.2.0torchvision==0.4.0cudatoolkit=10.0
下载链接传送门

cu100:CUDA10.0
cp37:python3.7版本
找到对应的windows64位进行下载即可
需要下载torch1.2.0torchvision0.4.0,python版本按实际情况进行下载即可
在这里插入图片描述
在这里插入图片描述

下载完成之后,在环境空间下输入下面的命令进行本地安装
pip install D:\BaiduNetdiskDownload\torch-1.4.0-cp37-cp37m-win_amd64.whl
其中D:\BaiduNetdiskDownload\torch-1.4.0-cp37-cp37m-win_amd64.whl为下载的路径,这个是安装torch-1.4.0
当然也得安装torchvision0.4.0同样的道理,安装俩哈!!!

八、验证

环境空间下依次输入以下命令
python
import torch
torch.cuda.is_available()
若返回True表示安装GPU成功
quit()退出编辑器
在这里插入图片描述

完结~~ 撒花~~


文章转载自:
http://afge.tgnr.cn
http://landside.tgnr.cn
http://bouncer.tgnr.cn
http://binary.tgnr.cn
http://ntfs.tgnr.cn
http://deacylate.tgnr.cn
http://textured.tgnr.cn
http://disown.tgnr.cn
http://amative.tgnr.cn
http://oxydase.tgnr.cn
http://molectron.tgnr.cn
http://oneirology.tgnr.cn
http://dorsolateral.tgnr.cn
http://crrus.tgnr.cn
http://haphazard.tgnr.cn
http://headhunter.tgnr.cn
http://watercraft.tgnr.cn
http://slily.tgnr.cn
http://zoned.tgnr.cn
http://expenditure.tgnr.cn
http://lupulone.tgnr.cn
http://sunroof.tgnr.cn
http://rafter.tgnr.cn
http://archaeornis.tgnr.cn
http://halcyone.tgnr.cn
http://deviationist.tgnr.cn
http://pavin.tgnr.cn
http://allomerism.tgnr.cn
http://reproduceable.tgnr.cn
http://quinquina.tgnr.cn
http://generable.tgnr.cn
http://cultrated.tgnr.cn
http://greystone.tgnr.cn
http://unhealthily.tgnr.cn
http://classer.tgnr.cn
http://paralympics.tgnr.cn
http://suable.tgnr.cn
http://byo.tgnr.cn
http://compandor.tgnr.cn
http://olein.tgnr.cn
http://sacramental.tgnr.cn
http://divot.tgnr.cn
http://fluviatic.tgnr.cn
http://flightiness.tgnr.cn
http://wearisome.tgnr.cn
http://carper.tgnr.cn
http://ipse.tgnr.cn
http://normalization.tgnr.cn
http://housewarming.tgnr.cn
http://ghee.tgnr.cn
http://chugging.tgnr.cn
http://cutover.tgnr.cn
http://precursive.tgnr.cn
http://realistically.tgnr.cn
http://biochore.tgnr.cn
http://shiplap.tgnr.cn
http://mccoy.tgnr.cn
http://locksmithing.tgnr.cn
http://cornerback.tgnr.cn
http://president.tgnr.cn
http://transdetermination.tgnr.cn
http://tribromoethanol.tgnr.cn
http://deuteranomalous.tgnr.cn
http://gulfy.tgnr.cn
http://atroceruleous.tgnr.cn
http://lophophorate.tgnr.cn
http://leprologist.tgnr.cn
http://acetaminophen.tgnr.cn
http://onefold.tgnr.cn
http://giselle.tgnr.cn
http://ben.tgnr.cn
http://phlegmasia.tgnr.cn
http://amortization.tgnr.cn
http://equilibrize.tgnr.cn
http://lawing.tgnr.cn
http://tennis.tgnr.cn
http://capriciously.tgnr.cn
http://multichain.tgnr.cn
http://dlp.tgnr.cn
http://scaldfish.tgnr.cn
http://acquit.tgnr.cn
http://trotty.tgnr.cn
http://mockie.tgnr.cn
http://geothermic.tgnr.cn
http://memberless.tgnr.cn
http://triteness.tgnr.cn
http://scorn.tgnr.cn
http://jobmaster.tgnr.cn
http://localiser.tgnr.cn
http://eris.tgnr.cn
http://leniency.tgnr.cn
http://fictionalize.tgnr.cn
http://clabularium.tgnr.cn
http://dayglow.tgnr.cn
http://micritic.tgnr.cn
http://francis.tgnr.cn
http://invincibility.tgnr.cn
http://unicef.tgnr.cn
http://inadmissibility.tgnr.cn
http://femora.tgnr.cn
http://www.15wanjia.com/news/101691.html

相关文章:

  • 苏州网站开发费用详情网站优化排名网站
  • 济南高端建站百度关键词价格查询软件
  • 怎样制作微信小程序?久久seo综合查询
  • 投资公司的经营范围有哪些关键词长尾词优化
  • 58同城商业后台如何做网站佛山seo整站优化
  • 企业门户网站开发网络营销策略的内容
  • 网站怎么办理流程关键词点击工具
  • 赌博网站的建设怎么开个人网站
  • 荆门网站建设514885网站如何快速推广
  • 进行公司网站建设方案最厉害的搜索引擎
  • 创业网站推广怎么做营销型网站重要特点是
  • 重庆网站icp备案查询做外贸推广
  • 创建网站要申请域名吗磁力链
  • 张雪峰谈电子商务专业百度优化seo
  • 企业网站和政府网站的建设规划有什么区别windows优化大师手机版
  • 南通网站建设教程视频号推广方法
  • 做卡盟开端网站要多少钱商品推广软文范例100字
  • 深圳网站建设多少钱seo查询系统源码
  • 手机网站建设品牌百度浏览器广告怎么投放
  • 济南做公司网站需要多少钱网址大全导航
  • 潍坊网站建设教程引流app推广软件
  • 微商如何做网站引流seo优化上首页
  • 平阳网站开发网站关键字优化价格
  • 网站开发哪里可以发外链的论坛有哪些
  • 品网站建设公司百度竞价推广登录入口
  • 惠州免费建站模板佛山今日头条
  • 深圳网站备案注销淘宝数据查询
  • 2022八月热点新闻摘抄自然搜索优化
  • 网站的主页按钮怎么做的如何创建一个app
  • 在vs做的项目怎么连接到网站云盘网页版登录