Skip to content

Commit

Permalink
todo comment was added
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborvecsei committed Aug 6, 2019
1 parent ac303ee commit 47f6ea5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions federated_learning.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ def model_fn():
with open(str(train_hist_path), 'w') as f:
json.dump(server.global_test_metrics_dict, f)

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

print("_" * 30)

0 comments on commit 47f6ea5

Please sign in to comment.