Skip to content

Commit

Permalink
Use input round_number (#1292)
Browse files Browse the repository at this point in the history
Signed-off-by: Lerer, Eran <[email protected]>
  • Loading branch information
cloudnoize authored Jan 21, 2025
1 parent a19f869 commit f18b685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openfl/component/aggregator/aggregator.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ def _save_model(self, round_number, file_path):
self.next_model_round_number, ("model",)
)
self.persistent_db.finalize_round(
tensor_tuple_dict, next_round_tensors, self.round_number, self.best_model_score
tensor_tuple_dict, next_round_tensors, round_number, self.best_model_score
)
logger.info(
"Persist model and clean task result for round %s",
Expand Down

0 comments on commit f18b685

Please sign in to comment.