Commit 3968fd0a authored by nikuya3's avatar nikuya3 Committed by lintangsutawika
Browse files

Handle non-serializable fields in task config and result object

parent 1409bcf5
......@@ -95,8 +95,7 @@ def main():
if results is not None:
samples = results.pop("samples")
dumped = json.dumps(results, indent=2)
dumped = json.dumps(results, indent=2, default=lambda o: str(o))
print(dumped)
batch_sizes = ",".join(map(str, results["config"]["batch_sizes"]))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment