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
df89801f
Commit
df89801f
authored
3 years ago
by
Erick Lavoie
Browse files
Options
Downloads
Patches
Plain Diff
Added experiments on removing edges for CIFAR10
parent
99ce7ae3
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
results-v2/dc-greedy-swap-rm-edges-cifar10-2-shards-eq-classes-fc.sh
+47
-0
47 additions, 0 deletions
...dc-greedy-swap-rm-edges-cifar10-2-shards-eq-classes-fc.sh
results-v2/dc-ideal-rm-edges-cifar10-max-local-skew-fc.sh
+45
-0
45 additions, 0 deletions
results-v2/dc-ideal-rm-edges-cifar10-max-local-skew-fc.sh
with
92 additions
and
0 deletions
results-v2/dc-greedy-swap-rm-edges-cifar10-2-shards-eq-classes-fc.sh
0 → 100755
+
47
−
0
View file @
df89801f
#!/usr/bin/env bash
# Path to current script
SCRIPT_DIR
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&> /dev/null
&&
pwd
)
"
TOOLS
=
$SCRIPT_DIR
/
$(
cat
toolspath
)
;
cd
$TOOLS
# Add current working directory to executable namespace
export
PATH
=
$PATH
:
$TOOLS
# Setup root directory for resolution of imports:
# the path of all local python libraries are relative to this
export
PYTHONPATH
=
$TOOLS
# Each command outputs the run directory, which is then used
# by the next command to add parameters and generate information
# used by the simulator. For a list of available options for each
# command, run 'export PYTHONPATH=.; <command> --help'.
for
RM_EDGES
in
1 5
;
do
for
C_GRAD
in
'--clique-gradient'
''
;
do
setup/meta.py
\
--script
$SCRIPT_DIR
/
`
basename
"
$0
"
`
\
--results-directory
$SCRIPT_DIR
/tmp
\
--seed
1 |
setup/dataset.py
\
--name
cifar10
\
--train-examples-per-class
5000 5000 5000 5000 5000 5000 5000 5000 5000 5000
\
--validation-examples-per-class
0 0 0 0 0 0 0 0 0 0 |
setup/nodes/google-fl.py
\
--name
2-shards-eq-classes
\
--nb-nodes
100
\
--local-shards
2
\
--shard-size
250 |
setup/topology/d_cliques/greedy_swap.py
\
--interclique
fully-connected
\
--max-clique-size
10
\
--max-steps
1000 |
setup/model/gn_lenet.py |
simulate/algorithm/d_sgd.py
\
--batch-size
20
\
--learning-momentum
0.9
\
$C_GRAD
\
--learning-rate
0.002 |
simulate/logger.py
\
--accuracy-logging-interval
10
\
--nb-processes
1 |
simulate/run.py
\
--nb-epochs
100
;
done
;
done
This diff is collapsed.
Click to expand it.
results-v2/dc-ideal-rm-edges-cifar10-max-local-skew-fc.sh
0 → 100755
+
45
−
0
View file @
df89801f
#!/usr/bin/env bash
# Path to current script
SCRIPT_DIR
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&> /dev/null
&&
pwd
)
"
TOOLS
=
$SCRIPT_DIR
/
$(
cat
toolspath
)
;
cd
$TOOLS
# Add current working directory to executable namespace
export
PATH
=
$PATH
:
$TOOLS
# Setup root directory for resolution of imports:
# the path of all local python libraries are relative to this
export
PYTHONPATH
=
$TOOLS
# Each command outputs the run directory, which is then used
# by the next command to add parameters and generate information
# used by the simulator. For a list of available options for each
# command, run 'export PYTHONPATH=.; <command> --help'.
for
RM_EDGES
in
1 5
;
do
for
C_GRAD
in
'--clique-gradient'
''
;
do
setup/meta.py
\
--script
$SCRIPT_DIR
/
`
basename
"
$0
"
`
\
--results-directory
$SCRIPT_DIR
/tmp
\
--seed
1 |
setup/dataset.py
\
--name
cifar10
\
--train-examples-per-class
4500 4500 4500 4500 4500 4500 4500 4500 4500 4500
\
--validation-examples-per-class
500 500 500 500 500 500 500 500 500 500 |
setup/nodes.py
\
--name
max-local-skew
\
--nb-nodes
100
\
--nodes-per-class
10 10 10 10 10 10 10 10 10 10
\
--local-classes
1 |
setup/topology/d_cliques/ideal.py
\
--interclique
fully-connected |
setup/model/gn_lenet.py |
simulate/algorithm/d_sgd.py
\
--batch-size
20
\
--learning-momentum
0.9
\
$C_GRAD
\
--learning-rate
0.002 |
simulate/logger.py
\
--accuracy-logging-interval
10
\
--nb-processes
1 |
simulate/run.py
\
--nb-epochs
100
;
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