Last active
October 15, 2018 12:00
-
-
Save dfbarrero/1fd8a92b4ccab1a3c06ca93a2148b165 to your computer and use it in GitHub Desktop.
Instalación del entorno para ejecutar Keras
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
| # 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