We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b43e8c commit 2cbc14cCopy full SHA for 2cbc14c
1 file changed
fl.py
@@ -49,7 +49,7 @@ def model_fn():
49
print("_" * 10)
50
print("{0}: {1}".format(metric_name, value))
51
52
- print("_" * 30)
+ with open("fed_learn_global_test_results.json", 'w') as f:
53
+ json.dump(server.global_test_metrics_dict, f)
54
-with open("fed_learn_global_test_results.json", 'w') as f:
55
- json.dump(server.global_test_metrics_dict, f)
+ print("_" * 30)
0 commit comments