-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
big change to enable processing input images as numpy arrays
- Loading branch information
1 parent
0fc4880
commit 5a0c0f4
Showing
1 changed file
with
147 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If it's copied from then why not just import directly? We can't import from other model modules e.g. idefics3 can't do
from transformers.models.idefics2.image_processing_idefics2 import XXX
but we can freely import utils from the library like in image transforms