1
0
mirror of https://github.com/gryf/coach.git synced 2025-12-17 19:20:19 +01:00

bug fix in HRL HER memory + some small improvements

This commit is contained in:
itaicaspi-intel
2018-08-29 14:36:18 +03:00
parent 1aa2ab0590
commit fd2f4b0852
3 changed files with 5 additions and 2 deletions

View File

@@ -118,6 +118,9 @@ def parse_arguments(parser: argparse.ArgumentParser) -> argparse.Namespace:
args.preset = "{}.py:graph_manager".format(os.path.join(get_base_dir(), 'presets', args.preset))
else:
args.preset = "{}".format(args.preset)
# if a graph manager variable was not specified, try the default of :graph_manager
if len(args.preset.split(":")) == 1:
args.preset += ":graph_manager"
# verify that the preset exists
preset_path = args.preset.split(":")[0]