Skip to content

Latest commit

 

History

History
59 lines (49 loc) · 1.77 KB

File metadata and controls

59 lines (49 loc) · 1.77 KB

TP-ML

TP of Machine Learning with Pytorch Lightning for Master 1

Welcome ! This directory contains Laurent Risser's practical exercises, originally written in pytorch, which I have been implemented in pytorch lightning with python. They are the result of work carried out during the second week of the Seconde course, at IMT (Institut de Mathématiques de Toulouse).

Table of Contents


  1. General Info
  2. Packages
  3. Google Colab

General Info


Lightning is a library descended from Pytorch. It retains its object-oriented writing style, but in which model training is automatically managed. If you want to get to the bottom of this, you'll need a good knowledge of object-oriented programming.

I recommend that you use Google Colab to run Jupiter Notebooks and thus be able to use a GPU or TPU for free.

Packages


You will need to install differently python packages:

pip install numpy
pip install matplotlib
pip install pandas
pip install torch
pip install torchvision
pip install lightning

Google Colab


To use a Jupiter Notebook in Google Colab, Lightning needs to be installed directly on the Notebook. Type this command on the first line of your Notebooks in a separate cell :

!pip install lightning -qq