summaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-01-09 23:36:29 +0100
committerJules Laplace <julescarbon@gmail.com>2019-01-09 23:36:29 +0100
commit6cbcefdcc2bb5fda1006929449acb40757396bf5 (patch)
treed409bd9824319bb4cd0b2d8829bb242603b7eb89 /test.py
parent47b11b226ac2bd97ebd81226f3658dcd9e684893 (diff)
random net
Diffstat (limited to 'test.py')
-rw-r--r--test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.py b/test.py
index b99aa56..57779ff 100644
--- a/test.py
+++ b/test.py
@@ -14,7 +14,7 @@ from utils import LoadImage, DownSample, AVG_PSNR, depth_to_space_3D, DynFilter3
from nets import FR_16L, FR_28L, FR_52L
parser = argparse.ArgumentParser()
-parser.add_argument('--L', metavar='L', type=int, default=choice(16, 28, 52), help='Network depth: One of 16, 28, 52')
+parser.add_argument('--L', metavar='L', type=int, default=choice([16, 28, 52]), help='Network depth: One of 16, 28, 52')
parser.add_argument('--T', metavar='T', default='L', help='Input type: L(Low-resolution) or G(Ground-truth)')
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', help='Directory to output to')