Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
declearn2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Magnet
DecLearn
declearn2
Commits
82174e1e
Verified
Commit
82174e1e
authored
1 year ago
by
ANDREY Paul
Browse files
Options
Downloads
Patches
Plain Diff
Update mnist-quickrun example and add a readme file.
parent
30549fa9
No related branches found
No related tags found
1 merge request
!41
Quickrun mode
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
examples/mnist_quickrun/mnist.ipynb
+508
-559
508 additions, 559 deletions
examples/mnist_quickrun/mnist.ipynb
examples/mnist_quickrun/readme.md
+31
-0
31 additions, 0 deletions
examples/mnist_quickrun/readme.md
with
539 additions
and
559 deletions
examples/mnist_quickrun/mnist.ipynb
+
508
−
559
View file @
82174e1e
This diff is collapsed.
Click to expand it.
examples/mnist_quickrun/readme.md
0 → 100644
+
31
−
0
View file @
82174e1e
# Demo training task : MNIST in Quickrun Mode
## Overview
**
We are going to use the declearn-quickrun tool to easily run a simulated
federated learning experiment on the classic
[
MNIST dataset
](
http://yann.lecun.com/exdb/mnist/
)
**
. The input of the model
is a set of images of handwritten digits, and the model needs to determine to
which digit between $0$ and $9$ each image corresponds.
## Setup
A Jupyter Notebook tutorial is provided, that you may import and run on Google
Colab so as to avoid having to set up a local python environment.
Alternatively, you may run the notebook on your personal computer, or follow
its instructions to install declearn and operate the quickrun tools directly
from a shell command-line.
## Contents
This example's folder is structured the following way:
```
mnist/
│ config.toml - configuration file for the quickrun FL experiment
| mnist.ipynb - tutorial for this example, as a jupyter notebook
| model.py - python file declaring the model to be trained
└─── data_iid - mnist data generated with `declearn-split`
└─── results_* - results generated after running `declearn-quickrun`
```
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment