Skip to content
Snippets Groups Projects
Commit 0d85f125 authored by sicer's avatar sicer
Browse files

fix bugs

parent 26ca5d46
No related branches found
No related tags found
No related merge requests found
......@@ -51,6 +51,7 @@ def run(_run, _config, _log):
else:
json_output_direc = os.path.join(dirname(dirname(abspath(__file__))), "results", args.env, alg_name)
json_exp_direc = os.path.join(json_output_direc, unique_token + '.json')
os.makedirs(json_output_direc, exist_ok=True)
json_logging = {'config': vars(args)}
with open(json_exp_direc, 'w') as f:
json.dump(json_logging, f, ensure_ascii=False)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment