Mentions légales du service

Skip to content
Snippets Groups Projects
Verified Commit d9a9a276 authored by ANDREY Paul's avatar ANDREY Paul
Browse files

Fix fairness metrics checkpointing.

parent 5e7a4972
No related branches found
No related tags found
1 merge request!69Enable Fairness-Aware Federated Learning
...@@ -670,7 +670,7 @@ class FederatedClient: ...@@ -670,7 +670,7 @@ class FederatedClient:
self.ckptr.save_metrics( self.ckptr.save_metrics(
metrics=metrics, metrics=metrics,
prefix="fairness_metrics", prefix="fairness_metrics",
append=(query.round_i > 0), append=(query.round_i > 1),
timestamp=f"round_{query.round_i}", timestamp=f"round_{query.round_i}",
) )
......
...@@ -575,7 +575,7 @@ class FederatedServer: ...@@ -575,7 +575,7 @@ class FederatedServer:
self.ckptr.save_metrics( self.ckptr.save_metrics(
metrics=metrics, metrics=metrics,
prefix="fairness_metrics", prefix="fairness_metrics",
append=(query.round_i > 0), append=(query.round_i > 1),
timestamp=f"round_{query.round_i}", timestamp=f"round_{query.round_i}",
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment