generative-models icon indicating copy to clipboard operation
generative-models copied to clipboard

ImportError: cannot import name 'CLIPTextModelWithProjection' from 'transformers'

Open SongDI911 opened this issue 2 years ago • 2 comments
trafficstars

When I use py310 and torch2.0 transformers error CLIPTextModelWithProjection cannot be found image image

SongDI911 avatar Jul 27 '23 10:07 SongDI911

+1

samiede avatar Jul 31 '23 09:07 samiede

upgrade the transformers.

pip install -U transformers

yifanlu0227 avatar Jun 04 '24 03:06 yifanlu0227