RAGAN Loss

# wasserstein type
cr = torch.mean(d_real,0)
cf = torch.mean(d_fake,0)
d_loss = -(d_real-cf) + (d_fake-cr)
g_loss = -(d_fake-cr)

examples

{
  "class": "function:hypergan.losses.ragan_loss.RaganLoss",
  "type": "hinge"
}

options

Last updated