Skip to content
Snippets Groups Projects
Commit ed49b3b0 authored by Nikos Athanasiou's avatar Nikos Athanasiou
Browse files

fix paths for exps

parent 695a62f5
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ for exp in exps_to_sample:
exp_path = Path(f'{base_dir}/{exp}/')
for s in slerp:
for a in align:
cmd = ['python', 'cluster/single_run.py', '--folder', exp_path, '--mode', 'sample', '--bid', '20']
cmd = ['python', 'cluster/single_run.py', '--folder', str(exp_path), '--mode', 'sample', '--bid', '20']
cmd.extend(['--extras', f'align={a} slerp_ws={s}'])
run(cmd)
......@@ -38,7 +38,7 @@ for exp in exps_to_sample:
for exp in ['teach-motion_branch_false-teacher_force_false', 'teach-motion_branch_false-teacher_force_true',
'teach-motion_branch_true-teacher_force_false', 'teach-motion_branch_true-teacher_force_true']:
exp_path = Path(f'{base_dir}/{exp}/')
cmd = ['python', 'cluster/single_run.py', '--folder', exp_path, '--mode', 'sample', '--bid', '20']
cmd = ['python', 'cluster/single_run.py', '--folder', str(exp_path), '--mode', 'sample', '--bid', '20']
cmd.extend([ '--extras',
f"align=full slerp_ws=8 set=submission"])
run(cmd)
......@@ -50,7 +50,7 @@ exp_ablate_h = ['teach-hist10-teacher_force',
'teach-hist5-teacher_force_false']
for exp in exp_ablate_h:
exp_path = Path(f'{base_dir}/{exp}/')
cmd = ['python', 'cluster/single_run.py', '--folder', exp_path, '--mode', 'sample', '--bid', '20']
cmd = ['python', 'cluster/single_run.py', '--folder', str(exp_path), '--mode', 'sample', '--bid', '20']
cmd.extend([ '--extras',
f"align=full slerp_ws=8"])
run(cmd)
......
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