stable-diffusion icon indicating copy to clipboard operation
stable-diffusion copied to clipboard

correct configuration for sd-v1-4.ckpt

Open alemNative opened this issue 3 years ago • 3 comments

hey guys what i must setup to run everything smooth on my mac (intel)?

i install it like described and link aloso the model correct but i get few time this outtput if i wanna generate something:

size mismatch for text_model.final_layer_norm.bias: copying a param with shape torch.Size([768]) from checkpoint, the shape in current model is torch.Size([512]).

where i must set what?

alemNative avatar Sep 30 '22 18:09 alemNative

Same here, with the CPU patch (https://github.com/CompVis/stable-diffusion/pull/56).

vlerenc avatar Oct 02 '22 13:10 vlerenc

size mismatch for text_model.final_layer_norm.bias: copying a param with shape torch.Size([768]) from checkpoint, the shape in current model is torch.Size([512]).

Fixed by install transformers==4.19.2.

CreamyLong avatar Jan 25 '24 12:01 CreamyLong

I already try to install many typies of transformers.but it seems not work.

Wangqk-wqk avatar Mar 11 '24 08:03 Wangqk-wqk