visual-chatgpt icon indicating copy to clipboard operation
visual-chatgpt copied to clipboard

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

Open alevinno opened this issue 1 year ago • 3 comments

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.

alevinno avatar Apr 08 '23 00:04 alevinno

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

ZoeyyHz avatar Apr 14 '23 06:04 ZoeyyHz

fix : huggingface/transformers#20111

where in it?

AgentXMan avatar Apr 29 '23 16:04 AgentXMan

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.

hwk06023 avatar Jan 20 '24 22:01 hwk06023