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

Can't reproduce the results, maybe sensitive to data? #11

Open
dejianchen1989 opened this issue May 10, 2019 · 5 comments
Open

Can't reproduce the results, maybe sensitive to data? #11

dejianchen1989 opened this issue May 10, 2019 · 5 comments

Comments

@dejianchen1989
Copy link

I ran the training scripts directly, but can't reproduce the results.
It seems there is no significant difference between the original and generated images:

image

Is it sensitive to training data? I also used face-cropped celebA as src_data:
image

and face-cropped danbooru2018 as tgt_data:
image

Each dataset contains about 1600 images (for fast training)。
So, where is the problem? THX~

@dejianchen1989
Copy link
Author

Also, it seems that the Initialization phrase suffers from checkerboard effect, as illustrated in
https://distill.pub/2016/deconv-checkerboard/.

image

I changed ConvTranspose2d to Upsample+Conv2d (as suggested in the above post), but the quality of image generated drops a lot.

@zhra46
Copy link

zhra46 commented May 31, 2019

@dejianchen1989 i think the checkerboard effect happened at original papers too.
Besides, there is a error while computing:D_fake_loss = BCE_loss(D_fake, fake)

ValueError: Target and input must have the same number of elements. target nelement (8192) != input nelement (38400)

i found this is because the different shape between D_fake and Fake variables
should i resize all the natural image to 256,256 before training process?

@Ricelll
Copy link

Ricelll commented Jan 9, 2020

@dejianchen1989 Hi, I can't reproduce the results with CelebA and Cartoon's imgs,either.Gen Loss and Con Loss dosn't decrease.

@syaoran13
Copy link

e = y[:, :, :, args.input_size:]
y = y[:, :, :, :args.input_size] here i'm getting error

@zwq11
Copy link

zwq11 commented Jan 22, 2024

May I ask if your problem has been solved? My training data is not very different from the raw data either.

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

5 participants