Skip to content

Commit

Permalink
The train_n_rounds was not working because it was evaluating with the…
Browse files Browse the repository at this point in the history
… servers and not pool.servers. Now the function works as it should.
  • Loading branch information
AlArgente committed Jan 23, 2024
1 parent ee594f9 commit b0cb028
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@
" pool.aggregators.map(fed_avg)\n",
" # The aggregator send its aggregated weights to the server\n",
" pool.aggregators.map(set_aggregated_weights_pt, pool.servers)\n",
" servers.map(evaluate_global_model, test_data=test_dataset)"
" pool.servers.map(evaluate_global_model, test_data=test_dataset)"
]
},
{
Expand Down

0 comments on commit b0cb028

Please sign in to comment.