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

VGG ConvMlp: fix layer defaults/types #2409

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

adamjstewart
Copy link
Contributor

Although the default is None, a value of None is invalid and will cause the __init__ method to crash. Using mypy would have caught this issue. This PR changes the default to be a valid input.

@rwightman rwightman merged commit 63b2de7 into huggingface:main Jan 15, 2025
@adamjstewart adamjstewart deleted the models/vgg branch January 15, 2025 15:47
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.

2 participants