linux install Theano+Tensorflow+Keras
2016-10-28 17:59
459 查看
强烈建议看官方文档安装!!
安装过程中,网络状态一定要好,如果安装过程中出现timeout的提示信息,今天就可以洗洗睡啦,等明天网络状态好的时候再安装。
安装过程出现不知名的错误的时候,执行第一步,update一下
1.#updatesoftware
sudoapt-getupdate
2.
apt-getinstallpython-tk
5.#安装pip
5.#若test不通过则需要卸载重新安装,若最后的结果为OK,这一步可以省略,failed卸载后重新进行步骤3
#测试theano
[code]python-c"importtheano;theano.test()"
7.#安装sklearn
sudopipinstallsklearn
8.#安装cython
sudopipinstallcython
#安装pandas
sudopipinstallpandas
9.#安装pyyaml
sudopipinstallpyyaml
10.
sudoapt-getinstalllibfreetype6-dev
#安装matplotlib
sudopipinstallmatplotlib
11.#Ubuntu/Linux64-bit,CPUonly,Python2.7
$exportTF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.11.0rc1-cp27-none-linux_x86_64.whl
#Python2
$sudopipinstall--upgrade$TF_BINARY_URL
#Python3
$sudopip3install--upgrade$TF_BINARY_URL[/code]
12.#安装keras
sudopipinstallKeras
安装后记:过程中会出现很多问题,不要丧失信息,慢慢来总会安装成功的~~~~[/code]
安装过程中,网络状态一定要好,如果安装过程中出现timeout的提示信息,今天就可以洗洗睡啦,等明天网络状态好的时候再安装。
安装过程出现不知名的错误的时候,执行第一步,update一下
1.#updatesoftware
sudoapt-getupdate
2.
#安装gfortran
sudoapt-getinstallgfortran
#安装blas
sudoapt-getinstalllibopenblas-dev
#安装lapack
sudoapt-getinstallliblapack-dev
#安装atlas
sudoapt-getinstalllibatlas-base-dev
4.#安装其他的库
sudosudoapt-getinstallpython-dev sudoapt-getinstallpython-pip sudoapt-getinstallpython-nose sudoapt-getinstallg++ sudoapt-getinstallgit
5.#安装pip
sudoapt-getinstallpython-pip
#安装numpy
sudopipinstallnumpy
#测试numpy,
测试通过才能进行下一步
python-c"importnumpy;numpy.test()"
#安装scipy
sudopipinstallscipy
#测试scipy,
测试通过才能进行下一步
python-c"importscipy;scipy.test()"
5.#若test不通过则需要卸载重新安装,若最后的结果为OK,这一步可以省略,failed卸载后重新进行步骤3
#卸载numpy
sudoapt-getremovepython-numpy
#卸载scipy sudoapt-getremovepython-scipy 6.#安装theanosudopipinstallTheano
#测试theano
[code]python-c"importtheano;theano.test()"
7.#安装sklearn
sudopipinstallsklearn
8.#安装cython
sudopipinstallcython
#安装pandas
sudopipinstallpandas
9.#安装pyyaml
sudopipinstallpyyaml
10.
sudoapt-getinstalllibfreetype6-dev
#安装matplotlib
sudopipinstallmatplotlib
11.#Ubuntu/Linux64-bit,CPUonly,Python2.7
$exportTF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.11.0rc1-cp27-none-linux_x86_64.whl
#Python2
$sudopipinstall--upgrade$TF_BINARY_URL
#Python3
$sudopip3install--upgrade$TF_BINARY_URL[/code]
相关文章推荐
- Ubuntu-install-keras-cuda-tensorflow/theano
- 深度工具合集安装(Nvidia+CUDA+cuDNN+Tensorflow+OpenBLAS+Caffe+Theano+Keras+Torch+Mxnet+X2Go)
- 在U盘里配置好主流深度学习框架及GPU环境theano\tensorflow\keras\caffe\cuda7.5
- 翻译 | Keras : Deep Learning library for Tensorflow and Theano
- Keras:Switching from Theano backend to tensorflow
- 使用Keras时后端(backend)的切换——切换Tensorflow backend和Theano backend
- tensorflow theano keras介绍
- Ubuntu14.04+Keras+Theano+Tensorflow配置
- windows系统下基于anaconda的方式安装tensorflow+theano+keras
- 【环境配置】Win10+Python3.5+Keras+Theano/TensorFlow
- [DL] GTX1080 + Ubuntu16.04 + CUDA 8.0RC + Tensorflow + Theano + keras
- 深度学习python库安装经验,Windows下安装Anaconda3 pycharm tensorflow keras theano中遇到的问题
- ubuntu 14.04 server搭建+NVIDIA+CUDA+CUDNN+caffe+theano+tensorflow+keras+matlab
- windows系统下的keras(Theano/Tensorflow后端)CPU以及GPU加速环境搭建
- 深度工具合集安装(Nvidia+CUDA+cuDNN+Tensorflow+OpenBLAS+Caffe+Theano+Keras+Torch+Mxnet+X2Go)
- ubuntu16.04 64位 cpu安装tensorflow+theano+keras+caffe+xgboost
- windows 四行命令安装 theano tensorflow keras
- Anaconda+Tensorflow+Theano+Keras安装
- Python 安装theano tensorflow keras 教程与pip安装失败解决方法
- linux下theano/tensorflow安装cuda支持gpu