hkproj / pytorch-stable-diffusion

Stable Diffusion implemented from scratch in PyTorch
https://www.youtube.com/watch?v=ZBKpAp_6TGI
MIT License
539 stars 120 forks source link

Weights link not working #22

Open anki-mittal opened 3 weeks ago

anki-mittal commented 3 weeks ago

From where i can download the tokenizer and weight file? link provided is not working now.

rdzhao commented 3 weeks ago

I'm facing the same issue.

edvarken commented 1 week ago

same problem here...

hkproj commented 1 week ago

Unfortunately RunwayML had to take the models down because of copyright reasons. You can download the weights from here: https://www.modelscope.cn/models/AI-ModelScope/stable-diffusion-v1-5/files

Or you can use any fine-tuned version

siiyayu commented 3 days ago

I have this error, unfortunately :( Maybe it's not the same model.

Error(s) in loading state_dict for VAE_Encoder:
    Missing key(s) in state_dict: "16.weight", "16.bias". 
    Unexpected key(s) in state_dict: "18.weight", "18.bias". 
    size mismatch for 17.weight: copying a param with shape torch.Size([8, 512, 3, 3]) from checkpoint, the shape in current model is torch.Size([8, 8, 1, 1]).
siiyayu commented 2 days ago

I downloaded wights from here and it works https://huggingface.co/benjamin-paine/stable-diffusion-v1-5/tree/main/tokenizer

Artemiskgg1 commented 2 days ago

Unfortunately RunwayML had to take the models down because of copyright reasons. You can download the weights from here: https://www.modelscope.cn/models/AI-ModelScope/stable-diffusion-v1-5/files

Or you can use any fine-tuned version

Thank you!!