liuliu / swift-diffusion

BSD 3-Clause "New" or "Revised" License
423 stars 33 forks source link

Intel giving just abstract image #10

Closed enzyme69 closed 1 year ago

enzyme69 commented 1 year ago

txt2img_4160646034

txt2img_1547624426

Back to Intel computer, this is weird, I kept getting only these abstract image after 10 minutes. This is 20 steps sample.

Any idea why?

enzyme69 commented 1 year ago

Hmm... my feeling is that I am using the wrong model...

enzyme69 commented 1 year ago

Downloaded the ckpt that you supplied and it's good now. Is it possible to have 1.5 version?

liuliu commented 1 year ago

There are still some problems with sd-v1.5 with Float16 unfortunately (I haven't got time to dig deep, seems really about precision so far). Anyway, I put the weights under https://static.libnnc.org/sd-v1.5.ckpt feel free to try. The new autoencoder I put it under https://static.libnnc.org/vae_ft_mse_840000_f32.ckpt you need to make a few code changes to use the new autoencoder (in examples/txt2img/main.swift, change the file path). For what it is worth, I uploaded wd-v1.3.ckpt too, and this definitely needs the new autoencoder (you cannot load the decoder from that file).

enzyme69 commented 1 year ago

Thanks Liuliu! I will try!