diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-01-16 00:42:21 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-01-16 00:42:21 +0100 |
| commit | 1f12028c7c4048092fbbee98686909e0e59882c7 (patch) | |
| tree | 2e623d08e1306fefb11b4bab0ceebd442d973959 | |
| parent | 1f55e94d67344e41d844b1d6b486e36c4e2c1417 (diff) | |
paths
| -rw-r--r-- | crop_frames.py | 2 | ||||
| -rw-r--r-- | run.sh | 4 | ||||
| -rw-r--r-- | test.py | 2 |
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(): @@ -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` @@ -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() |
