diff options
| author | jules <jules@asdf.us> | 2018-11-24 14:23:59 +0100 |
|---|---|---|
| committer | jules <jules@asdf.us> | 2018-11-24 14:23:59 +0100 |
| commit | b4264a85bee49fe1f1a74049552a9110bf4799a5 (patch) | |
| tree | db2c98ee78590425d932fc78c1d5fb6d34b7aa2e /run.sh | |
| parent | d10dbdf8ab9b902906ec14c6f43900068d5533a0 (diff) | |
rename to run.sh
Diffstat (limited to 'run.sh')
| -rw-r--r-- | run.sh | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -0,0 +1,21 @@ +#!/bin/bash + +rm -rf inputs/L/* +rm -rf results/28L/L/* + +name=$1 +start=`date` + +python crop_frames.py --overlap 16 crop "$name" +mv "$name/crop*" inputs/L/ +python test.py 28 L "" +python crop_frames.py merge results/28L/L/ +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 + |
