One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| http://hi.baidu.com/zhmsong/blog/item/7cb17eeaddca8adad539c977.html | |
| :s/XXX/YYY/g | |
| 其中XXX是需要替换的字符串,YYY是替换后的字符串 | |
| 以上这句只对当前行进行替换,如果需要进行全局替换,则要: | |
| %s/XXX/YYY/g | |
| 如果需要对指定部分进行替换,可以用V进入visual模式,再进行 | |
| :s/XXX/YYY/g | |
| 或者可以指定行数对指定范围进行替换: |
| sudo su | |
| # Java | |
| yum -y install java-1.8.0-openjdk-devel | |
| # Build Esentials (minimal) | |
| yum -y install gcc gcc-c++ kernel-devel make automake autoconf swig git unzip libtool binutils | |
| # Extra Packages for Enterprise Linux (EPEL) (for pip, zeromq3) | |
| yum -y install epel-release |
| sudo yum -y install epel-release | |
| sudo yum -y install gcc gcc-c++ python-pip python-devel atlas atlas-devel gcc-gfortran openssl-devel libffi-devel | |
| # use pip or pip3 as you prefer for python or python3 | |
| pip install --upgrade virtualenv | |
| virtualenv --system-site-packages ~/venvs/tensorflow | |
| source ~/venvs/tensorflow/bin/activate | |
| pip install --upgrade numpy scipy wheel cryptography #optional | |
| pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.10.0rc0-cp35-cp35m-linux_x86_64.whl | |
| # or below if you want gpu, support, but cuda and cudnn are required, see docs for more install instructions | |
| pip install --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.10.0rc0-cp35-cp35m-linux_x86_64.whl |