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

a bug in dis.py #42

Open
wdyxwzyh opened this issue Aug 19, 2019 · 1 comment
Open

a bug in dis.py #42

wdyxwzyh opened this issue Aug 19, 2019 · 1 comment

Comments

@wdyxwzyh
Copy link

 emm  in dis.py.131, the L2 regr has been add to calculate D loss , and maybe the equation is wrong?
    self.loss = tf.reduce_mean(losses) + self.l2_reg_lambda + self.l2_loss
it should be:
    self.loss = tf.reduce_mean(losses) + self.l2_reg_lambda * self.l2_loss
@wdyxwzyh
Copy link
Author

also in train.py.110, there should be generator.pgen_loss_adv instead of generator.gen_loss_adv

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

1 participant