[Fix] Change `-` to `_` for `restoration_demo.py`
args parser are inconsistent.
@@ -15,8 +15,8 @@ def parse_args():
parser = argparse.ArgumentParser(description='Restoration demo')
parser.add_argument('config', help='test config file path')
parser.add_argument('checkpoint', help='checkpoint file')
- parser.add_argument('img-path', help='path to input image file')
- parser.add_argument('save-path', help='path to save restoration result')
+ parser.add_argument('img_path', help='path to input image file')
+ parser.add_argument('save_path', help='path to save restoration result')
parser.add_argument(
'--imshow', action='store_true', help='whether show image with opencv')
parser.add_argument('--device', type=int, default=0, help='CUDA device id')
