Skip to content

Commit

Permalink
add min_fit_clients
Browse files Browse the repository at this point in the history
  • Loading branch information
panh99 committed Sep 20, 2024
1 parent 02e1813 commit a4cb019
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def main(driver: Driver, context: Context) -> None:
strategy = FedAvg(
# Select all available clients
fraction_fit=1.0,
min_fit_clients=5,
# Disable evaluation in demo
fraction_evaluate=(0.0 if is_demo else context.run_config["fraction-evaluate"]),
min_available_clients=5,
Expand Down

0 comments on commit a4cb019

Please sign in to comment.