Skip to content

Conversation

jiqing-feng
Copy link
Contributor

Hi @sayakpaul . As transformers deprecated FeatureExtractor classes in favor of ImageProcessor classes for image preprocessing, we need to replace FeatureExtractor to ImageProcessor. To fix #12492 .

Please review this PR. Thanks!

@sayakpaul sayakpaul requested a review from yiyixuxu October 16, 2025 03:19
@yiyixuxu
Copy link
Collaborator

ohhhh .......a bit tricky situation here
normally I'd say we don't need to support classes deprecated in transformers, but it is not something once user upgrade that can be fixed

cc @DN6 for his opinions too =, is there a better way?

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.

module transformers has no attribute CLIPFeatureExtractor

2 participants