Skip to content

Commit

Permalink
count
Browse files Browse the repository at this point in the history
  • Loading branch information
guang1220 committed Jun 13, 2022
1 parent 31d40ad commit e1e4c0e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@
/fl_code/mlp/*.sh
/fl_code/randomforest/*.sh

config.yaml

8 changes: 0 additions & 8 deletions config.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion fl_code/randomforest/randomforest_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ def fit_round(node_num: int) -> Dict:
min_fit_clients=client_num,
min_eval_clients=2
)
fl.server.start_server("0.0.0.0:"+port,strategy=strategy,config={"num_rounds": 10})
fl.server.start_server("0.0.0.0:"+port,strategy=strategy,config={"num_rounds": 21})
2 changes: 1 addition & 1 deletion fl_code/xgboost/xgboost_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,4 +160,4 @@ def fit_round(node_num: int) -> Dict:
min_fit_clients=client_num,
min_eval_clients=2
)
fl.server.start_server("0.0.0.0:"+port,strategy=strategy,config={"num_rounds": 3})
fl.server.start_server("0.0.0.0:"+port,strategy=strategy,config={"num_rounds": 21})

0 comments on commit e1e4c0e

Please sign in to comment.