Skip to content

Instantly share code, notes, and snippets.

@dfbarrero
Last active October 15, 2018 12:00
Show Gist options
  • Select an option

  • Save dfbarrero/1fd8a92b4ccab1a3c06ca93a2148b165 to your computer and use it in GitHub Desktop.

Select an option

Save dfbarrero/1fd8a92b4ccab1a3c06ca93a2148b165 to your computer and use it in GitHub Desktop.
Instalación del entorno para ejecutar Keras
# Docker
Orden para arrancar Jupyter desde la imagen docker oficial de TensorFlow con acceso a un difectorio del host:
docker run -it -p 8888:8888 -v $(pwd):/home/pantalla/david/notebooks/ -w /home/pantalla/david/notebooks/ tensorflow/tensorflow
o bien
docker run -it --rm -p 8888:8888 -v $(pwd):/home/pantalla/david/notebooks/ -w /home/pantalla/david/notebooks/ jupyter/tensorflow-notebook
# Conda
Create environment:
conda create --name tensorflow
Install dependencies:
conda install ipython # Avoid problems with conda environments
conda install numpy pandas matplotlib
conda install tensorflow keras
conda install pillow
# Add GPU suppport
conda install tensorflow-gpu
conda install nb_conda # Use Jupyter from Conda environments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment