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 import structure for Fast Image processors #34859

Merged
merged 2 commits into from
Nov 25, 2024

Conversation

yonigozlan
Copy link
Member

What does this PR do?

Small fix to include torchvision dependency in import structure for DETR, RT-DETR, Deformable DETR Fast image processors

Not sure why I didn't see it before, or why it didn't break anything, but better safe than sorry :)

Who can review?

@ArthurZucker

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Copy link
Collaborator

@ArthurZucker ArthurZucker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I think we are missing a check in quality were we remove the dependencies, but alright for now

Would be nice to update the __init__ to the new format as well !

@yonigozlan yonigozlan force-pushed the fix-import-structure-fast branch from 4080aa2 to f7915f5 Compare November 25, 2024 21:08
@yonigozlan yonigozlan merged commit bdb29ff into huggingface:main Nov 25, 2024
26 checks passed
BernardZach pushed a commit to BernardZach/transformers that referenced this pull request Dec 5, 2024
* Fix import structure image_processor_fast

* update to new inits
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.

3 participants