chenfei-wu / TaskMatrix

Other
34.54k stars 3.32k forks source link

The class CLIPFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please use CLIPImageProcessor instead. #337

Open alevinno opened 1 year ago

alevinno commented 1 year ago

Hi, What shoud I do to deal with this message: /anaconda3/envs/visgpt/lib/python3.8/site-packages/transformers/models/clip/feature_extraction_clip.py:28: FutureWarning: The class CLIPFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please use CLIPImageProcessor instead.

ZoeyyHz commented 1 year ago

fix : https://github.com/huggingface/transformers/pull/20111

AgentXMan commented 1 year ago

fix : huggingface/transformers#20111

where in it?

hwk06023 commented 9 months ago

The warning indicates that the CLIPFeatureExtractor class in the transformers library is deprecated and will be removed in version 5. Users are advised to switch to the CLIPImageProcessor class instead. This change is necessary to maintain compatibility with the latest updates and features of the transformers library.

I don't think it's a big problem because it's just a warning.