-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
hello, thank you for your excellent work and the open source code.
And I have some questions about InpaintingLoss.py:
LBAM_Pytorch/loss/InpaintingLoss.py
Line 75 in 98c2ae7
| D_loss = D_fake - D_real + gp |
why not use D_loss = D_fake - D_real + gp?
if D_real = D_real.mean().sum() * -1 and D_fake = D_fake.mean().sum() * 1
I think D_loss = D_fake + D_real + gp
and line 120
GLoss = holeLoss + validAreaLoss + prcLoss + styleLoss + 0.1 * D_fake
should be
GLoss = holeLoss + validAreaLoss + prcLoss + styleLoss - 0.1 * D_fake
thank you for your reply.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels