Skip to content

Commit 341fca9

Browse files
authored
fix nargs specifier for category file generation (#4663)
1 parent 453199b commit 341fca9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchvision/prototype/datasets/generate_category_files.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def parse_args(argv=None):
3838

3939
parser.add_argument(
4040
"names",
41-
nargs="?",
41+
nargs="*",
4242
type=str,
4343
help="Names of datasets to generate category files for. If omitted, all datasets will be used.",
4444
)

0 commit comments

Comments
 (0)