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

The reconstructed image looks okay, but the sampling results are very poor #88

Open
JaosonMa opened this issue Mar 12, 2024 · 1 comment

Comments

@JaosonMa
Copy link

JaosonMa commented Mar 12, 2024

i used the VanillaAE, used all the celeba img_align_celeba data, 200k
this is epoch 28 reconstructed image:
28_2000_re
this is epoch 28 sample image:
28_2000

i think the sample was very bad, how can it happen?

@brockbrownwork
Copy link

brockbrownwork commented Mar 12, 2024

It's possible that you're overfitting. I just posted an issue about this, but I think the convolutional layers are supposed to get fewer channels toward the middle because it's an autoencoder, not more channels in the middle. Try reversing hidden_dims maybe and train again.

Edit: never mind, I missed the fact that there's a stride of two, so it does create a bottleneck in the middle. Also apparently increasing the channels toward the middle isn't uncommon.

image

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