Skip to content
Snippets Groups Projects
Unverified Commit 7debfc97 authored by Michael's avatar Michael Committed by GitHub
Browse files

Merge branch 'main' into Occidata

parents dab33070 283a5bb1
Branches
No related tags found
No related merge requests found
......@@ -12,5 +12,8 @@ pub/*
data/*
*.tgz
*.pyc
src/__pycache__/*
\ No newline at end of file
info.log
*.ipynb
launch.json
backup_results/*
*.sh
\ No newline at end of file
......@@ -8,5 +8,10 @@
3. Histogram plots and a summary table of various experiments can be obtained running `src/utils_results.py`
To use driver.py use the following parameters :
`python driver.py --exp_type --dataset --heterogeneity_type --num_clients --num_samples_by_label --num_clusters --centralized_epochs --federated_rounds --seed `
To run all experiments in exp_config.csv user `run_exp.py`.
Once all experiments are done, to get results run `src/utils_results.src`.
\ No newline at end of file
......@@ -20,6 +20,7 @@ with open(csv_file, newline='') as csvfile:
"python", "driver.py",
"--exp_type", exp_type,
"--dataset", dataset,
"--nn_model", nn_model,
"--heterogeneity_type", heterogeneity_type,
"--num_clients", num_clients,
......@@ -27,8 +28,7 @@ with open(csv_file, newline='') as csvfile:
"--num_clusters", num_clusters,
"--centralized_epochs", centralized_epochs,
"--federated_rounds", federated_rounds,
"--seed", seed
]
"--seed", seed]
# Run the command
subprocess.run(command)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment