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

Poor results in WGAN mode on CelebA #59

Closed
eitanrich opened this issue Jan 28, 2018 · 6 comments
Closed

Poor results in WGAN mode on CelebA #59

eitanrich opened this issue Jan 28, 2018 · 6 comments

Comments

@eitanrich
Copy link

eitanrich commented Jan 28, 2018

Hi,

I'm trying to train on CelebA (cropped and resized to 64x64).
The results in WGAN-GP mode look great, both in quality and diversity, however, when I set the mode to 'wgan', I get very distorted faces even after 200K iterations.
Any ideas?

celeba_samples_102799

Thanks,
Eitan

@igul222
Copy link
Owner

igul222 commented Jan 28, 2018 via email

@eitanrich
Copy link
Author

I'm not sure it answers your question, but I used the default GoodGenerator, GoodDiscriminator, with the following parameters:

MODE = 'wgan' # dcgan, wgan, wgan-gp, lsgan
DIM = 64 # Model dimensionality
CRITIC_ITERS = 5 # How many iterations to train the critic for
N_GPUS = 2 # Number of GPUs
BATCH_SIZE = 64 # Batch size. Must be a multiple of N_GPUS
ITERS = 200000 # How many iterations to train for
LAMBDA = 10 # Gradient penalty lambda hyperparameter
OUTPUT_DIM = 64643 # Number of pixels in each iamge

@eitanrich
Copy link
Author

The same configuration with MODE = 'wgan-gp' produces nice results, without the distortions.
Eitan

@igul222
Copy link
Owner

igul222 commented Jan 29, 2018 via email

@eitanrich
Copy link
Author

Thanks. This seems to be working.

@y601757692l
Copy link

hi,now i am also trying to train on CelebA (cropped and resized to 64x64) in WGAN-GP mode . I just modify the DATA_DIR in gan_64x64.py. But there was a mistake like this:
IOError: [Errno 2] No such file or directory: '/data-4T-B/yelu/data/dcgan-completion.tensorflow/aligned/img_align_celeba_png/train_64x64/train_64x64/0927649.png'
Could you show me your code? thanks so much~~~

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