Commit 193b0a47 authored by nikuya3's avatar nikuya3
Browse files

Handle non-serializable fields in task config and result object

parent cba0eb1d
......@@ -103,8 +103,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