Skip to content

Commit

Permalink
Add --squeeze to the parent argparser. (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
willgraf committed Aug 27, 2021
1 parent e9bddee commit 8eaf6ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_app.py
Expand Up @@ -80,7 +80,7 @@ def existing_file(x):
choices=('DEBUG', 'INFO', 'WARN', 'ERROR', 'CRITICAL'),
help='Only log the given level and above.')

parser.add_argument('--squeeze', action='store_true',
parent.add_argument('--squeeze', action='store_true',
help='Squeeze the output tensor before saving.')

# use subparsers to group options for different applications
Expand Down

0 comments on commit 8eaf6ff

Please sign in to comment.