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

The question of discriminator adversarial loss #21

Open
zhangyonle opened this issue Jun 3, 2022 · 0 comments
Open

The question of discriminator adversarial loss #21

zhangyonle opened this issue Jun 3, 2022 · 0 comments

Comments

@zhangyonle
Copy link

criteria/loss.py
loss_adversarial = criterion(real_pred, real_target) + criterion(fake_pred, fake_target) +
criterion(real_pred_edge, edge) + criterion(fake_pred_edge, edge)
I think the former three "criterion(real_pred, real_target), criterion(fake_pred, fake_target), criterion(real_pred_edge, edge)" are right, but the last one "criterion(fake_pred_edge, edge)", I think the second parameter is the "non-truth edge" instead of "the ground_truth edge".
I need your help to help me to understand the "criterion(fake_pred_edge, edge)".

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