Skip to content

Archange-py/TP_ML_Pytorch-Lightning_Master-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

TP of Machine Learning with Pytorch Lightning for Master 1

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published