python-tensorflow配置

1.cpu

(1)windos

windows10(64位)Anaconda3+Python3.6搭建Tensorflow(cpu版本)及keras - CSDN博客  https://blog.csdn.net/bin_bin_bingo/article/details/79250591

Windows在Anaconda下安装Tensorflow Keras 支持Python3.6 - CSDN博客  https://blog.csdn.net/bin_goo/article/details/78821803

Windows安装配置theano,Python3.6 - CSDN博客  https://blog.csdn.net/m0_37681914/article/details/73609177

Anaconda安装指定版本的tensorflow - Python学习记录 - CSDN博客  https://blog.csdn.net/shy1994/article/details/88069174

自己总结:常用命令

conda create -n tf python=3.6

activate tf    /    deactivate tf

python   /   exit()

conda install tensorflow=1.10.0   /    pip install tensorflow==1.10.0

conda install keras=2.2.2   /   pip install keras==2.2.2

conda install pillow  / pip install pillow

conda install matplotlib   /    pip inatall matplotlib

conda uninstall tensorflow

(2)ubuntu

ubuntu16.04下安装&配置anaconda+tensorflow新手教程 - JayShaun的博客 - CSDN博客  https://blog.csdn.net/m0_37864814/article/details/82112029

自己总结:常用命令

source activate tf

2.gpu

(1)windos

win10+CUDA8.0+CuDNN6.0安装 - xddwz的博客 - CSDN博客  https://blog.csdn.net/xddwz/article/details/86525181

(2)ubuntu

ubuntu16.04安装Nvidia显卡驱动、CUDA8.0和cudNN V6 - 牧野的博客 - CSDN博客  https://blog.csdn.net/dcrmg/article/details/79620302

cudnn安装成功没有:    https://blog.csdn.net/weixin_39123145/article/details/81979270

自己总结:常用命令

conda create -n tf python=3.6

source activate tf    /   source deactivate tf

python   /   exit()

conda install tensorflow-gpu=1.3.0   /    pip install tensorflow-gpu==1.3.0

conda install keras-gpu=2.2.2   /   pip install keras==2.1.2

keras也分gpu和cpu,conda命令安装keras不加gpu会安装tensorflow-cpu要注意,而pip则不会

conda install pillow  / pip install pillow

conda install matplotlib   /    pip inatall matplotlib

conda uninstall tensorflow

3.PyCharm

(1)windos

PyCharm 2018专业版 安装和永久激活方法 - 妞妞和喵喵 - 博客园  https://www.cnblogs.com/niuhemiao/p/10103786.html

(2)ubuntu

下载解压在bin里面输入:sh ./pycharm.sh

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值