Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix metavar for --input-size #2417

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

JosuaRieder
Copy link
Contributor

The argument parser framework already handles repeating metavars when nargs is set to an integer.

Used to print:

  --input-size N N N N N N N N N
                        Input all image dimensions (d h w, e.g. --input-size 3
                        224 224), uses model default if empty

Now prints:
--input-size N N N Input all image dimensions (d h w, e.g. --input-size 3 224 224), uses model default if empty

@rwightman rwightman merged commit 634b68a into huggingface:main Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants