Closed
Description
When training the VQGAN pipeline in FFHQ dataset.
I checked the disc_loss
use the function like vanilla_d_loss
def hinge_d_loss(logits_real, logits_fake):
loss_real = torch.mean(F.relu(1. - logits_real))
loss_fake = torch.mean(F.relu(1. + logits_fake))
d_loss = 0.5 * (loss_real + loss_fake)
return d_loss
But the metric in tensorboard ,the loss is very strangeness!
I am confused whether this discriminator loss is really optimized for generator training.
The discriminator loss is joined to the process after the training step reaches 30K. By the way, add the metric of discriminator loss form training starts to the shown in the picture above.
Metadata
Metadata
Assignees
Labels
No labels