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

renderings

parent ec3ec1e6
No related branches found
No related tags found
No related merge requests found
......@@ -35,14 +35,26 @@ base_dir = Path("/is/cluster/work/nathanasiou/experiments/teach/babel-amass/teac
# run(cmd)
# submission only samples
# 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']:
#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',
# 'temos-motion_branch_true-teacher_force_false']:
# exp_path = Path(f'{base_dir}/{exp}/')
# 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"])
# f"jointstype=vertices align=full slerp_ws=8 set=submission"])
# run(cmd)
#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',
# 'temos-motion_branch_true-teacher_force_false']:
# exp_path = Path(f'{base_dir}/{exp}/')
# cmd = ['python', 'cluster/single_run.py', '--folder', str(exp_path), '--mode', 'sample', '--bid', '20']
# cmd.extend([ '--extras',
# f"jointstype=vertices align=trans slerp_ws=null set=submission"])
# run(cmd)
#end_script()
#end_script()
# # ablation history frames samples
# exp_ablate_h = ['teach-hist10-teacher_force',
# 'teach-hist10-teacher_force_false',
......@@ -58,37 +70,37 @@ base_dir = Path("/is/cluster/work/nathanasiou/experiments/teach/babel-amass/teac
# teach/independent evaluation
# base_dir = Path("/is/cluster/work/nathanasiou/experiments/teach/babel-amass/teach-post-submission")
# exps_to_sample = ['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',
# 'temos-motion_branch_false-teacher_force_false',
# 'temos-motion_branch_true-teacher_force_false',
# 'teach-hist10-teacher_force',
# 'teach-hist10-teacher_force_false',
# 'teach-hist5-teacher_force',
# 'teach-hist5-teacher_force_false']
exps_to_sample = ['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',
'temos-motion_branch_false-teacher_force_false',
'temos-motion_branch_true-teacher_force_false',
'teach-hist10-teacher_force',
'teach-hist10-teacher_force_false',
'teach-hist5-teacher_force',
'teach-hist5-teacher_force_false']
# pairs_type = ['samples_no-slerp_unaligned_pairs',
# 'samples_slerp_aligned_pairs',
# 'samples_slerp_unaligned_pairs',
# 'samples_no-slerp_aligned_pairs']
# set_folder = 'checkpoint-last/val'
# slerp = ['true', 'false']
# align = ['true', 'false']
# 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', str(samples_path), '--mode', 'eval', '--bid', '40']
# cmd.extend(['--extras', f'align={align} slerp={slerp}'])
# run(cmd)
#set_folder = 'checkpoint-last/val'
#slerp = ['true', 'false']
#align = ['true', 'false']
#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', str(samples_path), '--mode', 'eval', '--bid', '40']
# cmd.extend(['--extras', f'align={align} slerp={slerp}'])
# run(cmd)
# submission only samples
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']:
samples_path = Path(f'{base_dir}/{exp}/samples_slerp_aligned_pairs/checkpoint-last/submission')
for exp in ['teach-motion_branch_true-teacher_force_false',
'temos-motion_branch_true-teacher_force_false']:
samples_path = Path(f'{base_dir}/{exp}/samples_vertices_slerp_aligned_pairs/checkpoint-last/submission')
for fig_var in ['true', 'false']:
cmd = ['python', 'cluster/single_run.py', '--folder', str(samples_path), '--mode', 'render', '--bid', '20']
cmd.extend([ '--extras',
......@@ -96,32 +108,39 @@ for exp in ['teach-motion_branch_false-teacher_force_false', 'teach-motion_branc
run(cmd)
# # single example rendering
# 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',
# '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', str(samples_path), '--mode', 'render', '--bid', '20']
# cmd.extend([ '--extras',
# f"mode=video quality=false num=5 res=med fake_trans=trans"])
# run(cmd)
for exp in ['teach-motion_branch_true-teacher_force_false',
'temos-motion_branch_true-teacher_force_false']:
samples_path = Path(f'{base_dir}/{exp}/samples_vertices_slerp_aligned_pairs/checkpoint-last/submission')
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=false"])
run(cmd)
# wo slerp
for exp in ['teach-motion_branch_true-teacher_force_false',
'temos-motion_branch_true-teacher_force_false']:
samples_path = Path(f'{base_dir}/{exp}/samples_vertices_no-slerp_unaligned_pairs/checkpoint-last/submission')
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=false"])
run(cmd)
# # single example rendering
# 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',
# '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/1183-3.npy')
# for fig_var in ['true', 'false']:
# 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', 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)
#for exp in ['teach-motion_branch_true-teacher_force_false',
# 'temos-motion_branch_true-teacher_force_false']:
# samples_path = Path(f'{base_dir}/{exp}/samples_vertices_slerp_aligned_pairs/checkpoint-last/submission/1183-3.npy')
# for fig_var in ['true', 'false']:
#
# 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', 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)
#end_script()
# temos/teach final exps
# models = ['teach', 'temos']
# motion_branch = ['true', 'false']
......
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