#!/bin/bash rm -rf inputs/* rm -rf results/* name=$1 start=`date` python crop_frames.py --in_dir "$name" --out_dir "inputs/$name" python test.py --in_dir "inputs/$name" --out_dir "results/$name" python merge_frames --in_dir "results/$name" --out_dir "inputs/$name" ffmpeg -i ./results/28L/L/merged/frame_%05d.png -y -c:v libx264 -vf fps=25 -pix_fmt yuv420p "./results/${name}_uprez.mp4" # scp "./results/${name}_uprez.mp4" jules@lmno:asdf/neural/uprez/ endd=`date` echo echo "Start: $start" echo "End: $endd" echo