The result is amazing! I have two questions about loss.
- But I have a question that the three loss below will influence each other?some positive some negative.
“self._loss_d_real + self._loss_d_cond + self._loss_d_fake”
- when I am training “loss_d_real is negative value” is right" and why
self._loss_d_real = self._compute_loss_D(d_real_img_prob, True) * self._opt.lambda_D_prob
def _compute_loss_D(self, estim, is_real):
return -torch.mean(estim) if is_real else torch.mean(estim)


