summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-01-16 00:42:21 +0100
committerJules Laplace <julescarbon@gmail.com>2019-01-16 00:42:21 +0100
commit1f12028c7c4048092fbbee98686909e0e59882c7 (patch)
tree2e623d08e1306fefb11b4bab0ceebd442d973959
parent1f55e94d67344e41d844b1d6b486e36c4e2c1417 (diff)
paths
-rw-r--r--crop_frames.py2
-rw-r--r--run.sh4
-rw-r--r--test.py2
3 files changed, 4 insertions, 4 deletions
diff --git a/crop_frames.py b/crop_frames.py
index 92a149d..0f700b8 100644
--- a/crop_frames.py
+++ b/crop_frames.py
@@ -11,7 +11,7 @@ parser.add_argument('--step', default=192, type=int, help='Width of frames')
parser.add_argument('--overlap', default=2, type=int, help='Expand all frames by this margin')
parser.add_argument('--ratio', default=2, type=int, help='Pre-crop frames to this ratio')
parser.add_argument('--in_dir', help='Directory to process')
-parser.add_argument('--out_dir', default='inputs', help='Directory to output to')
+parser.add_argument('--out_dir', default='inputs', help='Directory to output crops to')
args = parser.parse_args()
def crop_dir():
diff --git a/run.sh b/run.sh
index 4f4dc09..cf8370e 100644
--- a/run.sh
+++ b/run.sh
@@ -1,7 +1,7 @@
#!/bin/bash
-rm -rf inputs/L/*
-rm -rf results/28L/L/*
+rm -rf inputs/*
+rm -rf results/*
name=$1
start=`date`
diff --git a/test.py b/test.py
index 13c92ef..92e76e3 100644
--- a/test.py
+++ b/test.py
@@ -18,7 +18,7 @@ parser.add_argument('--L', metavar='L', type=int, default=choice([16, 28, 52]),
parser.add_argument('--T', metavar='T', default='L', help='Input type: L(Low-resolution) or G(Ground-truth)')
parser.add_argument('--dataset', default=None, help='Name of dataset')
parser.add_argument('--in_dir', metavar='in_dir', default=None, help='Directory to process')
-parser.add_argument('--out_dir', metavar='out_dir', default='/media/blue/uprez/results', help='Directory to output to')
+parser.add_argument('--out_dir', metavar='out_dir', default='./results', help='Directory to output to')
parser.add_argument('--network_dir', default='.', help='Path to networks')
parser.add_argument('--mov_from_dirs', action='store_true')
args = parser.parse_args()