Skip to content

Commit

Permalink
Log output dir at end of run (#912)
Browse files Browse the repository at this point in the history
* added object detection metrics

* log name of output dir at end of run

* clarify that path is docker container path
  • Loading branch information
lcadalzo authored Nov 12, 2020
1 parent 336100d commit a3b1fc1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion armory/scenarios/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,10 @@ def _save(self, output: dict):
override_name if override_name else output["config"]["scenario"]["name"]
)
filename = f"{scenario_name}_{output['timestamp']}.json"
logger.info(f"Saving evaluation results saved to <output_dir>/{filename}")
logger.info(
f"Saving evaluation results to {scenario_output_dir}/{filename} path "
f"inside container."
)
with open(os.path.join(scenario_output_dir, filename), "w") as f:
f.write(json.dumps(output, sort_keys=True, indent=4) + "\n")

Expand Down

0 comments on commit a3b1fc1

Please sign in to comment.