tensorflow安装
来源:互联网 发布:淘宝客搜索计入权重吗 编辑:程序博客网 时间:2024/06/06 04:39
Introduce
这将近一个星期的tensorflow环境配置,发现了很多问题,对conda和pip有了更深入的认识,包括:
比较了
1、pip install tensorflow
2、conda install tensorflow
3、打开Anaconda Prompt,输入清华的仓库镜像,更新包更快:
conda config --add channelshttps://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes
建立TensorFlow空间:conda create -n tensorflow python=3.5,设置Python版本为3.5
激活TensorFlow空间:activate tensorflow
安装TensorFlow:pip install--ignore-installed --upgrade tensorflow_gpu-1.0.0-cp35-cp35m-win_amd64.whl
conda config --add channelshttps://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes
建立TensorFlow空间:conda create -n tensorflow python=3.5,设置Python版本为3.5
激活TensorFlow空间:activate tensorflow
安装TensorFlow:pip install--ignore-installed --upgrade tensorflow_gpu-1.0.0-cp35-cp35m-win_amd64.whl
这三种方式,发现如果不适用GPU加速,第二个最可靠的完成tensorflow的安装,此时是CPU版本。在spyder运行程序没有问题,而第三种方法虽然也能安装,而且在cmd-python 环境中也能运行测试程序,但是在spyder中却不行。
阅读全文
0 0
- [TensorFLow] tensorFlow安装
- [TensorFlow] win10安装TensorFlow
- 【tensorflow】最新版tensorflow安装
- [TensorFlow] windows 安装TensorFlow
- Tensorflow安装
- 安装tensorflow
- Tensorflow安装
- Tensorflow 安装
- 安装tensorflow
- 安装tensorflow
- 安装tensorflow
- TensorFlow安装
- tensorflow安装
- 安装tensorflow
- TensorFlow安装
- tensorflow安装
- tensorflow安装
- tensorflow安装
- BZOJ 2839 浅谈容斥原理组合计数及欧拉定理优化二维幂指数
- html5_angular+jquery用户列表
- 坚持#第218天~零基础自学云计算基础语言应用31~35节
- 多用户留言系统0.2-分离调用
- Linux(CentOS 7_x64位)系统下安装Xmgrace
- tensorflow安装
- 【ubuntu】安装cuda
- winscp root用户 登录ubuntu access denied
- 快速幂
- 16秋计算机JAVA第三节课作业(孙家伟) 4~6题
- android多线程之AsyncTask的初步认识(三)
- 前端学习のbody元素
- git使用错误大全(不定期更新)
- 线程的基本操作