Created
October 20, 2017 09:47
-
-
Save noda-sin/dedfb808e3937a8f1620b50453f3fec0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git clone https://github.com/yyuu/pyenv.git ~/.pyenv | |
$ vi ~/.bashrc | |
export PYENV_ROOT="${HOME}/.pyenv" | |
if [ -d "${PYENV_ROOT}" ]; then | |
export PATH=${PYENV_ROOT}/bin:$PATH | |
eval "$(pyenv init -)" | |
fi | |
$ source ~/.bashrc | |
$ pyenv install anaconda3-5.0.0 | |
$ pyenv global anaconda3-5.0.0 | |
$ wget http://developer.download.nvidia.com/compute/redist/cudnn/v6.0/cudnn-8.0-linux-x64-v6.0.tgz | |
$ tar zvxf cudnn-8.0-linux-x64-v6.0.tgz | |
$ sudo mv cuda/lib64/* /usr/local/cuda/lib64/ | |
$ sudo mv cuda/include/* /usr/local/cuda/include/ | |
$ pip install tensorflow-gpu | |
$ pip install keras |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment