Skip to content
Snippets Groups Projects
Commit 4c677892 authored by Erick Lavoie's avatar Erick Lavoie
Browse files

Fixed typo

parent 9308ef2a
No related branches found
No related tags found
No related merge requests found
...@@ -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}
......
...@@ -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-cliques --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;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment