/convnet_tutorials

Convolutional Network Tutorials (AMMI 2021)

Primary LanguageJupyter NotebookMIT LicenseMIT

Convolutional Network Tutorials (AMMI 2021)

These are the tutorials for the Convolutional Neural Networks class of the African Master's in Machine Intelligence given by Laurens van der Maaten and Jackson Hamburger.

The tutorials are iPython Notebooks in which you have to implements missing parts of the code yourself, run small experiments, and answer questions about the results of your experiments. The notebooks should be pretty self-contained.

Run notebooks on Google Cloud via colab

You can run the notebooks on Google Cloud via colab. The advantage of this approach is that your experiments will run on Google's servers, which are likely faster than your own laptop. You will need a stable wifi connection to use colab. The following links take you to the colab notebooks:

Run notebooks locally using Jupyter

You can also run the tutorial notebooks locally on your laptop. This way, you do not need an internet connection while you are working on most parts of the tutorial.

Running notebooks locally is done via Jupyter. If you do not have Jupyter installed yet, you first we need to create a Conda environment (see here for details). To do so, git clone this repository and run the following commands in your Terminal from the ammi-2021-ConvNets directory:

You can install all packages from conda environment as follows:

conda env create -f ammi_2021_convnet_env.yml
conda activate ammi_2021_convnets

You can run conda env list to confirm the ammi_2021_convnets environment is activated.

Next, start Jupyter Notebook by going into the ammi-2021-ConvNets directory in your Terminal and running jupyter notebook. This will open a browser window with the Jupyter notebook interface. In this interface, you can navigate to the correct folder and open the tutorial notebooks (with the .ipynb extension) to run them.