This is a tutorial presented during a workshop at the Applied Machine Learning Days 2021.
It consists of 8 interactive Jupyter notebooks.
The links below open the notebooks in Google Colab. This way, you don't have to install anything on your computer and you get a GPU for free.
This notebook covers the basic features of Google Colab.
Check out these others tutorials and courses if you are hungry to learn more:
- Official tutorials: pytorch.org/tutorials. There are many!
- Step-by-step tutorial: towardsdatascience.com
- PyTorch for deep learning (.py files): yunjey/pytorch-tutorial
- PyTorch for deep learning (notebooks): yandexdataschool/Practical_DL
Binder is an alterantive way to run remote notebooks that does not require a Google account.
If you want to run the notebooks locally, you can use conda. The following instructions
should work on Linux/Mac OS, Windows might require slight adaptations.
If you have not installed it yet, you can download it from Anaconda (Python 3.6 version).
Verify that it is installed by running
conda -VMake sure your conda installation is up-to-date:
conda update condaNow clone the repository:
git clone https://github.com/theevann/amld-pytorch-workshop.git
cd amld-pytorch-workshopThe available conda environments can be listed using
conda env listLet's now create a new environment called 'amld-pytorch'.
conda env create -f environments.ymlAfter the environment has been created, you can activate it by
source activate amld-pytorchNow start the Jupyter notebook by running
jupyter notebookThe environment can similarly deactivated by
source deactivate
