Giter VIP home page Giter VIP logo

Comments (3)

martinarjovsky avatar martinarjovsky commented on May 29, 2024

This is not a classification problem, the loss of the discriminator should be negative (since outputting 0 would get a 0 loss and it's trying to minimize), see equation 3 of the paper.

The negative loss of the discriminator is an estimate for the Wasserstein distance, under a perfect generator the loss of the discriminator should be 0.

from wassersteingan.

yichuan9527 avatar yichuan9527 commented on May 29, 2024

Thank you for your answer. I would like to know the value of the convergence of G‘s loss in your experiment. is 0.5?

from wassersteingan.

martinarjovsky avatar martinarjovsky commented on May 29, 2024

I haven't plotted it. Note however that the loss of the generator doesn't have to be meaningful, only it's gradient. If you change the critif f(x) to be f(x) + a for some positive constant a, the generator loss would shift by a, even though the gradient of the generator and the critic's loss are unaffected.

That being said assuming E_gen[ f(x) ] is similar to - E_real[ f(x) ], the generator's loss should converge to 0.

Note that 0.5 is not really a meaningful number in here. It is in a normal gan setting since this would mean the discriminator assigns the same probability for examples to be real or fake, but in here the critic is not trained with a classification loss or with a sigmoid at the end, so a number like 0.5 shouldn't really appear (or as much as any other random number).

from wassersteingan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.