From b4264a85bee49fe1f1a74049552a9110bf4799a5 Mon Sep 17 00:00:00 2001 From: jules Date: Sat, 24 Nov 2018 14:23:59 +0100 Subject: rename to run.sh --- run.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 run.sh (limited to 'run.sh') diff --git a/run.sh b/run.sh new file mode 100644 index 0000000..84cd086 --- /dev/null +++ b/run.sh @@ -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 + -- cgit v1.2.3-70-g09d2