A hands-on introduction to Deep Learning with self-correcting exercises
Switch branches/tags
Nothing to show
Clone or download
Latest commit c23dc1f Apr 9, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs Add main sources Apr 9, 2018
notebooks Add example for using Adam Mar 26, 2018
.gitignore Include reveal lib/ folder Mar 2, 2018
LICENSE Initial commit Feb 19, 2018
README.md Update link to intro slides Apr 7, 2018
RESOURCES.md Add additional resources Mar 14, 2018
environment.yml Create dedicated conda environment Mar 23, 2018

README.md

Deep Learning Workshop

Binder

A hands-on introduction to Deep Learning with self-correcting exercises.

About

This repository contains resources used to teach Deep Learning at the Ecole Nationale Supérieure de Cognitique.

  • Course slides, available in French.

  • Code samples and exercises, under the form of Jupyter notebooks.

Prerequisites

You need to know the basics of programming with the Python langage to follow along. If you don't, there are numerous online resources for discovering Python. Among others, check out the official Python tutorial or take a whirlwind tour of Python.

How to use the notebooks

  • Browse the notebooks online with the Jupyter notebook viewer.

  • Launch an interactive session using Binder: Binder

  • Click on any .ipynb file in the notebooks folder to show it through GitHub's own notebook viewer.

  • Clone or download this repository and run a Jupyter notebook server on your local machine. See below for detailed instructions.

Local installation with Anaconda

Anaconda is a popular Python data science platform. It includes many useful librairies and tools out of the box, including the Jupyter server needed to run notebooks locally.

  1. Install the Anaconda distribution on your machine.

  2. Clone this repository into your working directory with git. Alternatively, you can download it as a .zip file, then extract the downloaded archive to the desired folder.

  3. Open the Anaconda prompt and navigate to the deep-learning-workshop folder created during the previous step.

  4. Install the required packages for the notebooks to run by typing the following command.

    conda env create -f environment.yml

    This command will create a new environnement named dl-workshop. It might take several minutes to complete. See the conda documentation for more information about environments.

  5. Activate the newly created environment by typing the following command.

    activate dl-workshop

    If you're on OS X or Linux, you have to type source activate dl-workshop instead.

  6. If you're on Windows, define TensorFlow as Keras' backend engine with the following command.

    set KERAS_BACKEND=tensorflow
  7. Navigate to the notebooks subdirectory of the deep-learning-workshop folder, then launch a Jupyter server with the following command:

    jupyter notebook
  8. The previous command should open a new tab in your browser showing the list of notebooks (if not, visit http://localhost:8888). Click on index.ipynb to get started!

Troubleshooting

If you're on Windows and notebook execution gets very slow over time, close the notebook server and restore TensorFlow as backend.

set KERAS_BACKEND=tensorflow

Relaunch the server: you should witness a noticeable speedup in notebook execution speed.

Additional resources

See Resources.

License

The code in this repository, including notebooks, is released under the MIT license.

The text content is released under the Creative Commons BY-NC-SA license.