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 aux_loss in adcgan #2

Open
leesocool opened this issue Jul 30, 2023 · 0 comments
Open

About aux_loss in adcgan #2

leesocool opened this issue Jul 30, 2023 · 0 comments

Comments

@leesocool
Copy link

Thank you for a great job. I'm trying to reproduce your results using TensorFlow, and I'd like to know why the "+1" operation is performed on the label in D_adc_loss_fake and G_adc_loss_neg.
in train_fns.py
Line 63
D_adc_loss_fake = losses.classifier_loss_dis(D_adc_fake, y_[:config['batch_size']] * 2 + 1, config['hinge'])
and
Line 106
G_adc_loss_neg = losses.classifier_loss_gen(D_adc_fake, y_ * 2 + 1, config['hinge'])

Looking forward to your answer, thank you!

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