Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
decentralizepy
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
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
Milos Vujasinovic
decentralizepy
Commits
88f71b02
Commit
88f71b02
authored
3 years ago
by
Rishi Sharma
Browse files
Options
Downloads
Patches
Plain Diff
Add run.sh
parent
39f34441
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
eval/run.sh
+21
-6
21 additions, 6 deletions
eval/run.sh
with
21 additions
and
6 deletions
eval/run.sh
+
21
−
6
View file @
88f71b02
#!/bin/zsh
cd
~/Gitlab/decentralizepy/eval
#!/bin/bash
decpy_path
=
~/Gitlab/decentralizepy/eval
cd
$decpy_path
first_machine
=
128
m
=
`
/sbin/ifconfig ens785 |
grep
'inet '
|
awk
'{print $2}'
|
awk
-v
FS
=
.
'{print $4}'
`
m
=
`
expr
$m
-
128
`
m
=
`
expr
$m
-
$first_machine
`
env_python
=
~/miniconda3/envs/decpy/bin/python3
original_config
=
config_femnist_grow.ini
graph
=
96_nodes_random2.edges
graph
=
96_nodes_random1.edges
original_config
=
epoch_configs/config_celeba.ini
config_file
=
/tmp/config.ini
procs_per_machine
=
16
machines
=
6
iterations
=
7
0
iterations
=
7
6
test_after
=
2
eval_file
=
testing.py
log_level
=
INFO
cp
$original_config
$config_file
echo
"alpha = 0.75"
>>
$config_file
$env_python
$eval_file
-mid
$m
-ps
$procs_per_machine
-ms
$machines
-is
$iterations
-gf
$graph
-ta
$test_after
-cf
$config_file
-ll
$log_level
cp
$original_config
$config_file
echo
"alpha = 0.50"
>>
$config_file
$env_python
$eval_file
-mid
$m
-ps
$procs_per_machine
-ms
$machines
-is
$iterations
-gf
$graph
-ta
$test_after
-cf
$config_file
-ll
$log_level
cp
$original_config
$config_file
echo
"alpha = 0.10"
>>
$config_file
$env_python
$eval_file
-mid
$m
-ps
$procs_per_machine
-ms
$machines
-is
$iterations
-gf
$graph
-ta
$test_after
-cf
$config_file
-ll
$log_level
config_file
=
epoch_configs/config_celeba_100.ini
$env_python
$eval_file
-mid
$m
-ps
$procs_per_machine
-ms
$machines
-is
$iterations
-gf
$graph
-ta
$test_after
-cf
$original_config
-ll
$log_level
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