Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ldm for inpainting #16

Open
ath90 opened this issue May 26, 2024 · 1 comment
Open

ldm for inpainting #16

ath90 opened this issue May 26, 2024 · 1 comment

Comments

@ath90
Copy link

ath90 commented May 26, 2024

Many thanks for your amazing work.

Im wondering for the cases of the inpainting do you pass the image and masked image through the same pretrained VAE. and what is the training data of this VAE is it on the images or the dataset contain also the masked images?? or you train separate VAEs for each one ?

@explainingai-code
Copy link
Owner

Thank you for the appreciation.
I have never trained ldm for the inpainting task but from what I could figure out from the code/checkpoints provided by authors, you would pass the image to the same pre-trained autoencoder.
So basically you wouldn't train autoencoder again specifically for inpainting task. The same autoencoder trained for image generation on your dataset, would be used for encoding the images/masked images for training inpainting ldm as well on your dataset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants