CreamyLong

Results 37 comments of CreamyLong

> You can try to delete predicted_indices on autoencoder.py. I did on this https://github.com/SerdarHelli/latent-diffusion/blob/main/ldm/models/autoencoder.py . Then, probably you will get an error about version which is undefined. I just deleted....

The code and steps of training inpainting model is [here ](https://github.com/CreamyLong/stable-diffusion/tree/master?tab=readme-ov-file#Inpainting)

you could use this model _https://ommer-lab.com/files/latent-diffusion/text2img.zip_

There is a [link ](https://github.com/CreamyLong/stable-diffusion/tree/master?tab=readme-ov-file#super-resolution)for super resoulution

There are some [config file](https://github.com/CreamyLong/stable-diffusion/tree/master/configs/latent-diffusion/conditional) may help you understand how to train

_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.

Sure, you need to train a new VQVAE model, and the image size is 512 if the f=4.

This may help you https://github.com/CreamyLong/stable-diffusion/blob/master/scripts/train/train_inpaint.sh

This [config](https://github.com/CreamyLong/stable-diffusion/tree/master/configs/latent-diffusion/conditional) is for conditional generation