/pytorch-practical-training

pratrical crash course on pytorch by reproducing some published biology-related deep-learning models

Primary LanguageJupyter NotebookCreative Commons Attribution Share Alike 4.0 InternationalCC-BY-SA-4.0

Practical dip into deep learning - a PyTorch short crash-course

This repository regroups works on the "Practical dip into deep learning - a PyTorch short crash-course" course of the SIB.

Its goal is to propose a practical introduction to pytorch and deep-learning models by reproducing or getting inspiration from a number published deep-learning models in the field of biology.

This course eschew the theory (which is covered in another SIB course) and focuses instead on the details of the implementation.

pre-requisites

The course is targeted to life scientists who are already familiar and fluent with the Python programming language and who have a solid knowledge in machine learning.

In order to follow the course you need to have installed python and jupyter notebooks, as well as a number of prerequisite libraries.

See the intructions on installing prerequisite libraries of more details.

course organization

The course is organized in several, numbered, jupyter notebooks, each corresponding to a model which interleaves code demo, and exercises.

The course does not require any particular expertise with jupyter notebooks to be followed, but if it is the first time you encounter them we recommend this gentle introduction.

Solutions to each practical can be found in the solutions/ folder and should be loadable directly in the jupyter notebook themselves.

Note also the pytorchtools.py file which contain some early stopping utilities.

directory structure

  • data : contains the datasets
  • images : images generated or used in the notebooks
  • drafts : some drafts notebooks, with many failed attempts...
  • solutions: exercise solutions