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

ENH: replace star imports with imported names in train.py #1266

Merged
merged 1 commit into from
May 20, 2022

Conversation

kaczmarj
Copy link
Contributor

this pull request replaces * imports with the imported names. this makes it clearer where functions are defined and does not pollute the namespace.

@rwightman rwightman merged commit fd360ac into huggingface:master May 20, 2022
@kaczmarj kaczmarj deleted the enh/no-star-imports branch May 20, 2022 16:01
kaczmarj added a commit to kaczmarj/pytorch-image-models that referenced this pull request May 26, 2022
This fixes buggy behavior introduced by
huggingface#1266.

Related to huggingface#1273.
rwightman pushed a commit that referenced this pull request Jun 13, 2022
This fixes buggy behavior introduced by
#1266.

Related to #1273.
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