AttributeError: module transformers has no attribute CLIPImageProcessor while loading this model into diffusers pipeline

#10
by jerry23 - opened

I got this error while in the pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16) step. Anyone has the same issue?

My diffusers version is 0.11.1

image.png

jerry23 changed discussion title from AttributeError: module transformers has no attribute CLIPImageProcessor while loading the model to AttributeError: module transformers has no attribute CLIPImageProcessor while loading this model into diffusers pipeline

I resolved this issue by updating transformer library.

transformers-4.25.1

resolved by curtis-abcd

darkstorm2150 changed discussion status to closed

@curtis-abcd It works! Thanks a lot for your help :D

Sign up or log in to comment