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

About the training loss #22

Open
wmyw96 opened this issue Jul 11, 2018 · 4 comments
Open

About the training loss #22

wmyw96 opened this issue Jul 11, 2018 · 4 comments

Comments

@wmyw96
Copy link

wmyw96 commented Jul 11, 2018

I read your code about the design for loss and found your implementation is different from that proposed in the paper. So you use the traditional loss of GAN instead of the WGAN loss? Does it mean WGAN loss might not be a good choice in practice?

@duxingren14
Copy link
Owner

duxingren14 commented Jul 11, 2018 via email

@chl916185
Copy link

Why is noise z not used?
@duxingren14

@duxingren14
Copy link
Owner

Instead of explicitly adding random noise, I used dropout instead.

@chl916185
Copy link

chl916185 commented Jul 27, 2018

"def preprocess_img(img, img_size=128, flip=False, is_test=False):
img = scipy.misc.imresize(img, [img_size, img_size])
if (not is_test) and flip and np.random.random() > 0.5:
img = np.fliplr(img)
return img"
You did that?
@duxingren14

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