Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
D-Cliques
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
Model registry
Operate
Environments
Monitor
Incidents
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
SaCS
Distributed Machine Learning
D-Cliques
Commits
4c677892
Commit
4c677892
authored
4 years ago
by
Erick Lavoie
Browse files
Options
Downloads
Patches
Plain Diff
Fixed typo
parent
9308ef2a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
main.tex
+2
-0
2 additions, 0 deletions
main.tex
results/mnist/clique-ring/experiments.sh
+1
-1
1 addition, 1 deletion
results/mnist/clique-ring/experiments.sh
with
3 additions
and
1 deletion
main.tex
+
2
−
0
View file @
4c677892
...
@@ -257,6 +257,8 @@ We solve this problem by decoupling the gradient averaging from the weight avera
...
@@ -257,6 +257,8 @@ We solve this problem by decoupling the gradient averaging from the weight avera
\subsection
{
MNIST and Linear Model
}
\subsection
{
MNIST and Linear Model
}
% To regenerate the figure, from directory results/mnist
% python ../../../learn-topology/tools/plot_convergence.py 1-node-iid/all/2021-03-10-09:20:03-CET fully-connected/all/2021-03-10-09:25:19-CET clique-ring/all/2021-03-10-10:15:24-CET fully-connected-cliques/all/2021-03-10-10:19:44-CET --add-min-max --yaxis validation-accuracy --labels '1-node IID bsz=12800' '100-nodes non-IID fully-connected bsz=128' '100-nodes non-IID D-Clique (Ring)' '100-nodes non-IID D-Cliques (Fully-Connected)' --legend 'lower right' --ymin 80 --ymax 92.5
\begin{figure}
[htbp]
\begin{figure}
[htbp]
\centering
\centering
\includegraphics
[width=0.7\textwidth]
{
figures/10-cliques-validation-accuracy
}
\includegraphics
[width=0.7\textwidth]
{
figures/10-cliques-validation-accuracy
}
...
...
This diff is collapsed.
Click to expand it.
results/mnist/clique-ring/experiments.sh
+
1
−
1
View file @
4c677892
...
@@ -8,7 +8,7 @@ LRS='
...
@@ -8,7 +8,7 @@ LRS='
'
'
for
BSZ
in
$BSZS
;
for
BSZ
in
$BSZS
;
do for
LR
in
$LRS
;
do for
LR
in
$LRS
;
do
python sgp-mnist.py
--nb-nodes
100
--nb-epochs
100
--local-classes
1
--seed
1
--nodes-per-class
10 10 10 10 10 10 10 10 10 10
--global-train-ratios
0.802568 0.802568 0.802568 0.802568 0.802568 0.802568 0.802568 0.802568 0.802568 0.802568
--dist-optimization
d-psgd
--topology
fully-connected-
clique
s
--metric
dissimilarity
--learning-momentum
0.
--sync-per-mini-batch
1
--results-directory
$CWD
/all
--learning-rate
$LR
--batch-size
$BSZ
"
$@
"
--parallel-training
--nb-workers
10
--dataset
mnist
--model
linear
--clique-gradient
--initial-averaging
do
python sgp-mnist.py
--nb-nodes
100
--nb-epochs
100
--local-classes
1
--seed
1
--nodes-per-class
10 10 10 10 10 10 10 10 10 10
--global-train-ratios
0.802568 0.802568 0.802568 0.802568 0.802568 0.802568 0.802568 0.802568 0.802568 0.802568
--dist-optimization
d-psgd
--topology
clique
-ring
--metric
dissimilarity
--learning-momentum
0.
--sync-per-mini-batch
1
--results-directory
$CWD
/all
--learning-rate
$LR
--batch-size
$BSZ
"
$@
"
--parallel-training
--nb-workers
10
--dataset
mnist
--model
linear
--clique-gradient
--initial-averaging
done
;
done
;
done
;
done
;
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