diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-01-09 23:34:28 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-01-09 23:34:28 +0100 |
| commit | 47b11b226ac2bd97ebd81226f3658dcd9e684893 (patch) | |
| tree | 883c488ebf2cb681a2886f06dae31aaa3f7b4e95 /test.py | |
| parent | 24d0b900b6386e88eaa6d53b96f1d47b4617649f (diff) | |
random net
Diffstat (limited to 'test.py')
| -rw-r--r-- | test.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -7,13 +7,14 @@ import scipy import argparse import os import subprocess +from random import choice from PIL import Image from utils import LoadImage, DownSample, AVG_PSNR, depth_to_space_3D, DynFilter3D, LoadParams from nets import FR_16L, FR_28L, FR_52L parser = argparse.ArgumentParser() -parser.add_argument('--L', metavar='L', type=int, default=28, 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') |
