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

fix path

parent fc781b53
No related branches found
No related tags found
No related merge requests found
......@@ -81,8 +81,8 @@ for exp in exps_to_sample:
for slerp in ['true', 'false']:
for align in ['true', 'false']:
samples_path = Path(f'{base_dir}/{exp}/')
cmd = ['python', 'cluster/single_run.py', '--folder', samples_path, '--mode', 'eval', '--bid', '40']
cmd.extend([ '--extras', f'align={align} slerp={slerp}'])
cmd = ['python', 'cluster/single_run.py', '--folder', str(samples_path), '--mode', 'eval', '--bid', '40']
cmd.extend(['--extras', f'align={align} slerp={slerp}'])
run(cmd)
# submission only samples
......@@ -90,7 +90,7 @@ for exp in ['teach-motion_branch_false-teacher_force_false', 'teach-motion_branc
'teach-motion_branch_true-teacher_force_false', 'teach-motion_branch_true-teacher_force_true']:
samples_path = Path(f'{base_dir}/{exp}/samples_slerp_aligned_pairs/checkpoint-last/submission')
for fig_var in ['true', 'false']:
cmd = ['python', 'cluster/single_run.py', '--folder', samples_path, '--mode', 'render', '--bid', '20']
cmd = ['python', 'cluster/single_run.py', '--folder', str(samples_path), '--mode', 'render', '--bid', '20']
cmd.extend([ '--extras',
f"mode=sequence quality=false num=5 res=med separate_actions={fig_var} fake_trans=false"])
run(cmd)
......@@ -100,7 +100,7 @@ for exp in ['teach-motion_branch_false-teacher_force_false', 'teach-motion_branc
'teach-motion_branch_true-teacher_force_false', 'teach-motion_branch_true-teacher_force_true',
'temos-motion_branch_false-teacher_force_false', 'temos-motion_branch_true-teacher_force_false']:
samples_path = Path(f'{base_dir}/{exp}/samples_slerp_aligned_pairs/checkpoint-last/submission')
cmd = ['python', 'cluster/single_run.py', '--folder', samples_path, '--mode', 'render', '--bid', '20']
cmd = ['python', 'cluster/single_run.py', '--folder', str(samples_path), '--mode', 'render', '--bid', '20']
cmd.extend([ '--extras',
f"mode=video quality=false num=5 res=med fake_trans=trans"])
run(cmd)
......@@ -113,11 +113,11 @@ for exp in ['teach-motion_branch_false-teacher_force_false', 'teach-motion_branc
samples_path = Path(f'{base_dir}/{exp}/samples_slerp_aligned_pairs/checkpoint-last/submission/1183-3.npy')
for fig_var in ['true', 'false']:
cmd = ['python', 'cluster/single_run.py', '--folder', samples_path, '--mode', 'render', '--bid', '20']
cmd = ['python', 'cluster/single_run.py', '--folder', str(samples_path), '--mode', 'render', '--bid', '20']
cmd.extend([ '--extras',
f"mode=sequence quality=false num=5 res=med separate_actions={fig_var} fake_trans=true"])
run(cmd)
cmd = ['python', 'cluster/single_run.py', '--folder', samples_path, '--mode', 'render', '--bid', '20']
cmd = ['python', 'cluster/single_run.py', '--folder', str(samples_path), '--mode', 'render', '--bid', '20']
cmd.extend([ '--extras',
f"mode=sequence quality=false num=5 res=med separate_actions={fig_var} fake_trans=false"])
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