-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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 Identity loss in cyclegan.py #59
Comments
I have the same concern. |
G_BA: domain B -> domain A, As is shown in the picture (below) -> refer to Unsupervised Cross-Domain Image Generation detailed explanation: junyanz/pytorch-CycleGAN-and-pix2pix#322 |
The source code of Identity loss is shown below:
loss_id_A = criterion_identity(G_BA(real_A), real_A)
loss_id_B = criterion_identity(G_AB(real_B), real_B)
This seems a little bit weird to me, maybe it should be:
loss_id_A = criterion_identity(G_AB(real_A), real_A)
loss_id_B = criterion_identity(G_BA(real_B), real_B)
The text was updated successfully, but these errors were encountered: