Skip to content

Instantly share code, notes, and snippets.

@noda-sin
Created October 20, 2017 09:47
Show Gist options
  • Save noda-sin/dedfb808e3937a8f1620b50453f3fec0 to your computer and use it in GitHub Desktop.
Save noda-sin/dedfb808e3937a8f1620b50453f3fec0 to your computer and use it in GitHub Desktop.
$ 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