cloneofsimo / paint-with-words-sd

Implementation of Paint-with-words with Stable Diffusion : method from eDiff-I that let you generate image from text-labeled segmentation map.
MIT License
635 stars 52 forks source link

inj_forward() got an unexpected keyword argument 'encoder_hidden_states' #26

Closed OlegBatrakov closed 1 year ago

OlegBatrakov commented 1 year ago

Hey, I've been trying to run runer.py, however get this error. Can you please advise me?

Снимок экрана 2023-02-01 163056
OlegBatrakov commented 1 year ago

Soorry, already solved diffusers 0.9.0 should be used pip install diffusers==0.9.0

lwchen6309 commented 1 year ago

This issue dues to a diffusers version > 0.10.0, it's now add to requirement.txt to set diffusers==0.10.0 to avoid this issue