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

My reconstructions are bad #4

Open
jmandivarapu1 opened this issue Feb 17, 2021 · 2 comments
Open

My reconstructions are bad #4

jmandivarapu1 opened this issue Feb 17, 2021 · 2 comments

Comments

@jmandivarapu1
Copy link

Hi,

I tried running your code but even after 40 to 50 epochs my reconstructions are like below. Can you help?

Epoch_29_recon

@seolhokim
Copy link

+1

@benearnthof
Copy link

benearnthof commented Nov 30, 2023

I stumbled upon this codebase just now and reimplemented the main class here (to clear up questions about variable names and remove a lot of copy/paste in the layers.
https://gist.github.com/benearnthof/6839a96a740548579a7a278cd035d622
@jmandivarapu1
To me it looks like the images were not normalized before training, I've added that to my CelebA dataset class and over the firest 5 training epochs the loss seems to steadily decrease so far. (Average loss during 5th Epoch: 1.22) I'll report back tomorrow with samples after 50+ epochs

Edit: I noticed that we optimize Binary Cross Entropy for some reason which seemed not Ideal so I swapped it for MSEloss and now my reconstructions look like this:
image
After 20 Epochs. Input vs Reconstructions. I'll update my gist tomorrow.

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

3 participants