Skip to content

Instantly share code, notes, and snippets.

@watermouth
Last active July 15, 2019 05:51
Show Gist options
  • Select an option

  • Save watermouth/0890d23612649fe683611f8d79407468 to your computer and use it in GitHub Desktop.

Select an option

Save watermouth/0890d23612649fe683611f8d79407468 to your computer and use it in GitHub Desktop.

Python環境構築 anaconda tensorflow-gpu

# 環境を作る
conda create -y -n env名 tensorflow-gpu keras ipykernel pandas matplotlib scikit-learn seaborn
conda install -y -c conda-forge category_encoders
# jupyter-notebookを起動可能にする  
conda activate env名
python -m ipykernel install --user --name env名

NVIDIA gpu driver

driver 関連のエラーで動かなかったら, gpu driverを最新にしてみるといい.

cuda version などの整合性はconda使えば勝手にあっているはず... (あってないというgoogle検索結果もある) https://www.tensorflow.org/install/gpu

driver type は windows 10 , GTX 1070 なら DCH だった。windowsだったらDCHと思っておけばいい???

参考

https://qiita.com/daizutabi/items/bf4e965b64b12ef1fea0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment