Tensorflow学习笔记day01 + 各个系统的TF环境安装 + CPU + GPU


GPU版本

Linux

步骤一: https://blog.csdn.net/weixin_40519315/article/details/104142396

步骤二(用window的安装指令): https://blog.csdn.net/weixin_40519315/article/details/104143302

Window

步骤一:先在电脑上安装一个anaconda

步骤二(记得先安装cuda、cudnn):https://blog.csdn.net/weixin_40519315/article/details/104143302

Mac

CUDA和Mac系统彻底割裂


CPU版本

跟GPU一样,先把anaconda装了

Linux

# 仅使用 CPU 的版本
$  pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.0.1-cp27-none-linux_x86_64.whl

$  pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.0.1-cp36-cp36m-linux_x86_64.whl

Mac 

# 2.7
$ pip install https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.0.1-py2-none-any.whl

# 3.4、3.5
$ pip install https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.0.1-py3-none-any.whl

window

conda install --channel https://conda.anaconda.org/nehaljwani tensorflow

后续还会继续完善, 因为疫情没有电脑,所以不知道是否能够全部运行正常

如果很急可以参考其他人 (参考:http://c.biancheng.net/view/1881.html)

发布了52 篇原创文章 · 获赞 40 · 访问量 3万+

猜你喜欢

转载自blog.csdn.net/weixin_40519315/article/details/104286036