loading error when using SD1.5
KelestZ opened this issue · 2 comments
KelestZ commented
RuntimeError: Error(s) in loading state_dict for LatentDiffusionInterface:
Unexpected key(s) in state_dict: "cond_stage_model.transformer.text_model.embeddings.position_ids".
seasonSH commented
try degrading transfomers (both 4.19.2 and 4.27.1 have been tested to work)
chavinlo commented
try degrading transfomers (both 4.19.2 and 4.27.1 have been tested to work)
Installing transformers==4.27.1
fixed this issue for me
pip install -U transformers==4.27.1