Yuantao Feng
commited on
Commit
·
eeebc3f
1
Parent(s):
1fb6b1a
correct default values of model filenames in demo scripts (#11)
Browse files
demo.py
CHANGED
@@ -21,7 +21,7 @@ def str2bool(v):
|
|
21 |
|
22 |
parser = argparse.ArgumentParser(description='Deep Residual Learning for Image Recognition (https://arxiv.org/abs/1512.03385, https://github.com/PaddlePaddle/PaddleHub)')
|
23 |
parser.add_argument('--input', '-i', type=str, help='Path to the input image.')
|
24 |
-
parser.add_argument('--model', '-m', type=str, default='
|
25 |
args = parser.parse_args()
|
26 |
|
27 |
if __name__ == '__main__':
|
|
|
21 |
|
22 |
parser = argparse.ArgumentParser(description='Deep Residual Learning for Image Recognition (https://arxiv.org/abs/1512.03385, https://github.com/PaddlePaddle/PaddleHub)')
|
23 |
parser.add_argument('--input', '-i', type=str, help='Path to the input image.')
|
24 |
+
parser.add_argument('--model', '-m', type=str, default='image_classification_ppresnet50_2021oct.onnx', help='Path to the model.')
|
25 |
args = parser.parse_args()
|
26 |
|
27 |
if __name__ == '__main__':
|