Mentions légales du service

Skip to content
Snippets Groups Projects
Commit a97af4cd authored by LEVEAU Valentin's avatar LEVEAU Valentin
Browse files
parents f89365f2 da67e31c
No related branches found
No related tags found
No related merge requests found
{
"cells": [],
"metadata": {},
"nbformat": 4,
"nbformat_minor": 2
}
{
"cells": [],
"metadata": {},
"nbformat": 4,
"nbformat_minor": 2
}
%% Cell type:markdown id: tags:
# Introduction au Deep Learning: TP2
%% Cell type:markdown id: tags:
Le dernier TP consistait à étudier et implémenter dans un cas simple un des mécanismes principaux de l'apprentissage automatique: l'optimisation par descent de gradient. Dans ce TP, nous allons étudier ..
%% Cell type:markdown id: tags:
## Partie 1: Installation de l'environnement
%% Cell type:code id: tags:
``` python
```
wget https://repo.continuum.io/archive/Anaconda2-5.0.1-Linux-x86_64.sh ./
sh Anaconda2-5.0.1-Linux-x86_64.sh
rm Anaconda2-5.0.1-Linux-x86_64.sh
export NO_CUDA=1
export CMAKE_PREFIX_PATH=$1
conda install numpy pyyaml mkl setuptools cmake cffi
conda install -c soumith magma-cuda80
git clone --recursive https://github.com/pytorch/pytorch
cd pytorch
python setup.py install
git clone https://github.com/pytorch/vision.git
cd vision
python setup.py install
cd ../
git clone https://github.com/pytorch/examples.git
cd examples/mnist
python main.py
echo TOUT EST OK !!!
cd ../../../
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment