Windows 10 安装 Cuda, Tensorflow, 和keras,附CPU/GPU切换小技巧

本文介绍了在Windows 10上安装CUDA、CuDNN、Tensorflow和Keras的步骤,以及如何在CPU和GPU之间切换。首先,通过Anaconda安装Python 3.5,然后下载并安装CUDA和CuDNN。接着使用pip安装Tensorflow的CPU或GPU版本,最后一步是安装Keras并验证安装是否成功。文章还提供了在CPU和GPU上运行示例代码的技巧。
摘要由CSDN通过智能技术生成

Originally published on Medium, reblogged in case of blocking

I’ve tried months ago to install the GPU-based Machine learning framework, namely keras with tensorflow, but get stuck following the official indication of the latter, and the issue remained unresolved until yesterday because of loads of patients in summer vocation, and I finally managed to get m1000m working.

I basically followed instructions written in Chinese in http://blog.csdn.net/u012898521/article/details/69611800, with a few modifications according to keras documentation in Chinese HERE, and actually I did a combination of both.

Step 1 — python

By far tensorflow only support python 3 but no newer than major version of 3.5, and last

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值