Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
chancejohnstone authored Oct 21, 2024
1 parent 105622e commit 29695ef
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions baselines/fedht/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,18 +82,18 @@ pip install .
## Expected Results
### MNIST (`num_keep` = 500)
```
python fedht.main --config-name base_mnist agg=fedavg num_keep=500 num_local_epochs=10 learning_rate=0.00005
python fedht.main --config-name base_mnist agg=fedht num_keep=500 num_local_epochs=10 learning_rate=0.00005
python fedht.main --config-name base_mnist agg=fedht iterht=True num_keep=500 num_local_epochs=10 learning_rate=0.00005
python fedht.main --config-name base_mnist agg=fedht num_keep=500 num_local_epochs=1 learning_rate=0.00005
python -m fedht.main --config-name base_mnist agg=fedavg num_keep=500 num_local_epochs=10 learning_rate=0.00005
python -m fedht.main --config-name base_mnist agg=fedht num_keep=500 num_local_epochs=10 learning_rate=0.00005
python -m fedht.main --config-name base_mnist agg=fedht iterht=True num_keep=500 num_local_epochs=10 learning_rate=0.00005
python -m fedht.main --config-name base_mnist agg=fedht num_keep=500 num_local_epochs=1 learning_rate=0.00005
```
<img src="fedht/loss_results_mnist.png" width="400"/>

### Simulation II (`num_keep` = 200)
```
python fedht.main -config-name base_simII agg=fedavg num_local_epochs=5 learning_rate=0.01
python fedht.main -config-name base_simII agg=fedht num_local_epochs=5 learning_rate=0.01
python fedht.main -config-name base_simII agg=fedht iterht=True num_local_epochs=5 learning_rate=0.01
python fedht.main -config-name base_simII agg=fedht num_local_epochs=1 learning_rate=0.01
python -m fedht.main -config-name base_simII agg=fedavg num_local_epochs=5 learning_rate=0.01
python -m fedht.main -config-name base_simII agg=fedht num_local_epochs=5 learning_rate=0.01
python -m fedht.main -config-name base_simII agg=fedht iterht=True num_local_epochs=5 learning_rate=0.01
python -m fedht.main -config-name base_simII agg=fedht num_local_epochs=1 learning_rate=0.01
```
<img src="fedht/loss_results_simII.png" width="400"/>

0 comments on commit 29695ef

Please sign in to comment.