安装Tensorflow-gpu==1.13.1 查看Tensorflow版本 国内镜像 体验识别数子

感受:
终于安装好了,非常的开心,因为以前用的是TF2,有些新的API和模块有改动,作为初学者的小白,无从下手,所以听从前辈的建议安装Tensorflow,使用的方法是pip在线安装,最好用国内镜像安装,会快捷稳定很多,内含安装cpu版本的指令,安装cpu版本后无需再进行后面的所有步骤了!!!个人建议安装GPU版本的

步骤 内容
* 使用国内镜像源安装(强力推荐)
1 安装
2 继续安装
3 坚持就是胜利
4 测试并体验深度学习的快乐

*,使用国内镜像源安装(强力推荐)

如果用了这个方法,那么步骤1-3都可以不看了,因为这个放法下载非常快!

先安装Anaconda:详细教程
安装了Anaconda后就可以使用pip命令、来进行包管理了
在cmd窗口中输入以下指令:
GPU版本

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow-gpu==1.13.1

CPU版本:

pip install 
warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY failed LibMambaUnsatisfiableError: Encountered problems while solving: - package tensorflow-gpu-1.13.1-h0d30ee6_0 requires tensorflow 1.13.1, but none of the providers can d Could not solve for environment specs The following packages are incompatible ├─ pin-1 is installable and it requires │ └─ python 3.9.* , which can be installed; └─ tensorflow-gpu is not installable because there are no viable options ├─ tensorflow-gpu 1.10.0 would require │ └─ tensorflow 1.10.0 but there are no viable options │ ├─ tensorflow [1.10.0|1.13.1|1.14.0|1.9.0] would require │ │ ├─ python >=3.6,<3.7.0a0 , which conflicts with any installable versions previously reporte; │ │ └─ tensorflow-base [1.13.1 py36_4|1.13.1 py36_5|1.13.1 py36_6|1.13.1 py36_8|1.14.0 py36h9f0s │ │ └─ python >=3.6,<3.7.0a0 , which conflicts with any installable versions previously repo; │ ├─ tensorflow [1.10.0|1.9.0] would require │ │ └─ python >=3.5,<3.6.0a0 , which conflicts with any installable versions previously reporte; │ └─ tensorflow 1.10.0 conflicts with any installable versions previously reported; ├─ tensorflow-gpu 1.11.0 would require │ └─ tensorflow 1.11.0 , which conflicts with any installable versions previously reported; ├─ tensorflow-gpu 1.12.0 would require │ └─ tensorflow 1.12.0 , which conflicts with any installable versions previously reported; ├─ tensorflow-gpu 1.13.1 would require │ └─ tensorflow 1.13.1 but there are no viable options │ ├─ tensorflow [1.10.0|1.13.1|1.14.0|1.9.0], which cannot be installed (as previously explained; │ ├─ tensorflow [1.13.1|1.14.0] would require │ │ ├─ python >=3.7,<3.8.0a0 , which conflicts with any installable versions previously reporte; │ │ └─ tensorflow-base [1.13.1 py37_7|1.14.0 py37hc8dfbb8_0], which requires │ │ └─ python >=3.7,<3.8.0a0 , which conflicts with any installable versions previously repo; │ └─ tensorflow 1.13.1 conflicts with any installable versions previously reported; ├─ tensorflow-gpu 1.14.0 would require │ └─ tensorflow 1.14.0 but there are no viable options │ ├─ tensorflow [1.10.0|1.13.1|1.14.0|1.9.0], which cannot be installed (as previously explained; │ ├─ tensorflow [1.13.1|1.14.0], which cannot be installed (as previously explained); │ └─ tensorflow 1.14.0 conflicts with any installable versions previously reported; ├─ tensorflow-gpu 1.15.0 would require │ └─ tensorflow 1.15.0.* , which conflicts with any installable versions previously reported; ├─ tensorflow-gpu 1.8.0 would require │ └─ tensorflow-gpu-base 1.8.0 , which requires │ └─ cudatoolkit 9.0.* , which conflicts with any installable versions previously reported; ├─ tensorflow-gpu 1.9.0 would require │ └─ tensorflow 1.9.0 but there are no viable options │ ├─ tensorflow [1.10.0|1.13.1|1.14.0|1.9.0], which cannot be installed (as previously explained; │ ├─ tensorflow [1.10.0|1.9.0], which cannot be installed (as previously explained); │ └─ tensorflow 1.9.0 conflicts with any installable versions previously reported; ├─ tensorflow-gpu 2.0.0 would require │ └─ tensorflow 2.0.0 , which conflicts with any installable versions previously reported; ├─ tensorflow-gpu 2.1.0 would require │ └─ tensorflow 2.1.0 , which conflicts with any installable versions previously reported; ├─ tensorflow-gpu 2.3.0 would require │ └─ tensorflow 2.3.0 , which conflicts with any installable versions previously reported; ├─ tensorflow-gpu 2.5.0 would require │ └─ tensorflow 2.5.0 , which conflicts with any installable versions previously reported; └─ tensorflow-gpu 2.6.0 would require └─ tensorflow 2.6.0 , which conflicts with any installable versions previously reported.
最新发布
09-28
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值