1
0
mirror of https://github.com/gryf/coach.git synced 2025-12-18 03:30:19 +01:00
This commit is contained in:
Gal Leibovich
2019-06-16 11:11:21 +03:00
committed by GitHub
parent 8df3c46756
commit 7eb884c5b2
107 changed files with 2200 additions and 495 deletions

View File

@@ -53,10 +53,14 @@ if __name__ == "__main__":
"the preset name, followed by the environment level",
default='',
type=str)
parser.add_argument('-sd', '--level_as_sub_dir',
parser.add_argument('-lsd', '--level_as_sub_dir',
help="(flag) Store each level in it's own sub directory where the root directory name matches "
"the preset name",
action='store_true')
parser.add_argument('-ssd', '--seed_as_sub_dir',
help="(flag) Store each seed in it's own sub directory where the root directory name matches "
"the preset name",
action='store_true')
parser.add_argument('-ew', '--evaluation_worker',
help="(flag) Start an additional worker that will only do evaluation",
action='store_true')
@@ -108,6 +112,8 @@ if __name__ == "__main__":
command.append("-c")
if args.evaluation_worker:
command.append("-ew")
if args.seed_as_sub_dir:
seed = ''
if level is not None:
command.extend(['-lvl', '{}'.format(level)])
if level_as_sub_dir: