Xerrada teórico-pràctica a la Universitat de Girona sobre Deep Learning (19/05/2017), Jordi Vitrià.
The best way to run the course software is to use a Docker container. There’s full documentation on installing Docker at docker.com
, but in a few words, the steps are:
- Go to
docs.docker.com
in your browser. - Step one of the instructions sends you to download Docker.
- Run that downloaded file to install Docker.
- At the end of the install process a whale in the top status bar indicates that Docker is running, and accessible from a terminal.
- Click the whale to get
Preferences
, and other options. - Open a command-line terminal, and run some Docker commands to verify that Docker is working as expected.
Some good commands to try are
docker version
to check that you have the latest release installed, anddocker ps
anddocker run hello-world
to verify that Docker is running. - By default, Docker is set to use 2 processors. You can increase processing power for the app by setting this to a higher number in
Preferences
, or lower it to have Docker for Mac use fewer computing resources. - Memory - By default, Docker is set to use 2 GB runtime memory, allocated from the total available memory on your computer. You can increase the RAM on the app to get faster performance by setting this number higher (for example to 3) or lower (to 1) if you want Docker to use less memory.
Once Docker is installed, you can dowload the image of this course and download the git repository:
- In a terminal, go to your course folder and run (This operation requires a good internet connection; it will take some minutes):
docker pull datascienceub/deepub
- MacOS & Linux: Run the
deepub
image on your system:docker run -it -p 8888:8888 -p 6006:6006 -v /$(pwd):/notebooks datascienceub/deepub
- Windows: Run the
deepub
image on your system:docker run -it -p 8888:8888 -p 6006:6006 -v C:/your/course/folder:/notebooks datascienceub/deepub
- Once these steps have been done, you can check the installation by starting your web browser and introducing this URL:
http://localhost:8888
. - Open a new Jupyter notebook and execute this instruction in a code cell:
!git clone https://github.com/DeepLearningUB/DeepLearningGirona2017
.
Docker for Windows requires 64bit Windows 10 Pro, Enterprise and Education. The Hyper-V package must be enabled for Docker for Windows to work. The Docker for Windows installer will enable it for you, if needed. (This requires a reboot). If your system does not satisfy these requirements, you can install Docker Toolbox, which uses Oracle Virtual Box instead of Hyper-V.