Created
March 5, 2018 11:38
-
-
Save davidnvq/40f1f46af4e4ad1e39a267d7c4c6f144 to your computer and use it in GitHub Desktop.
Keras Installation
This file contains hidden or 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
# For more information, check this website | |
# http://deeplearning.lipingyang.org/2017/08/01/install-keras-with-tensorflow-backend/ | |
# Please make sure that | |
# – PATH includes /usr/local/cuda-8.0/bin | |
# – LD_LIBRARY_PATH includes /usr/local/cuda-8.0/lib64 | |
conda install pillow | |
conda install h5py | |
pip install keras # for python 2 | |
pip3 install keras # for python 3 | |
conda install -c anaconda keras-gpu # for conda | |
# Verify keras configuration file | |
nano ~/.keras/keras.json | |
# Check in Python | |
python -c "import keras; print(keras.__version__)" | |
python -c "from keras import backend; print(backend._BACKEND)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment