mirror of
https://github.com/Doctorado-ML/benchmark.git
synced 2025-08-17 16:35:54 +00:00
Add flush to write experiments results
This commit is contained in:
@@ -279,6 +279,7 @@ class Experiment:
|
|||||||
output["results"] = self.results
|
output["results"] = self.results
|
||||||
with open(self.output_file, "w") as f:
|
with open(self.output_file, "w") as f:
|
||||||
json.dump(output, f)
|
json.dump(output, f)
|
||||||
|
f.flush()
|
||||||
|
|
||||||
def do_experiment(self):
|
def do_experiment(self):
|
||||||
now = time.time()
|
now = time.time()
|
||||||
|
Reference in New Issue
Block a user