Skip to content

Commit 47f6ea5

Browse files
committed
todo comment was added
1 parent ac303ee commit 47f6ea5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

federated_learning.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ def model_fn():
6464
with open(str(train_hist_path), 'w') as f:
6565
json.dump(server.global_test_metrics_dict, f)
6666

67+
# TODO: save only when a condition is fulfilled (validation loss gets better, etc...)
6768
server.save_model_weights(global_weight_path)
6869

6970
print("_" * 30)

0 commit comments

Comments
 (0)