GithubHelp home page GithubHelp logo

What is the role of entropy loss? about cgdm HOT 2 OPEN

tarun005 avatar tarun005 commented on September 5, 2024
What is the role of entropy loss?

from cgdm.

Comments (2)

duzhekai avatar duzhekai commented on September 5, 2024

Hi, the entropy loss serves as a class balance regularization item which is inherited from MCD original paper and relative methods (please refer to the supplementary material of MCD). In addition, we mentioned this in the implementation details.

from cgdm.

tarun005 avatar tarun005 commented on September 5, 2024

I am aware of the loss used on MCD paper, it is given as follows.

https://github.com/mil-tokyo/MCD_DA/blob/af10217c5c5451dcd8bc3e975a7d067c285cc029/visda_classification/res_train_main.py#L145

which seems to be different to the loss you used .

CGDM/utils.py

Line 419 in 2d8fee0

entropy = input_ * torch.log(input_)

Can you explain the difference? Also, you additionally used an entropy minimization loss which is not used in MCD and also never mentioned in your paper.

from cgdm.

Related Issues (6)

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.