Giter VIP home page Giter VIP logo

Comments (3)

hei6775 avatar hei6775 commented on September 18, 2024

Hello, I have new something to share with you. In my experiments, I found that the GDL is hard to decrease. According to the Paper "AnatomyNet: Deep Learning for Fast...", the generalized dice loss uses squared volume weights. However, it makes the optimization unstable in the extremely unbalanced segmentation. I've replaced GDL with DICELoss and only focused on the classes of interest, which will decrease as expected. I said before that diceloss didn't work, maybe it was my little mistake. Is it still possible to use boundaryoss and diceloss together? Maybe I'll add FocalLoss, because diceloss is unstable.

from boundary-loss.

HKervadec avatar HKervadec commented on September 18, 2024

Hello,

Yes, you can use Boundary loss with any other loss; they are all compatible. It is about finding a combination that works for your specific problem.

My experience with the GDL is rather “chaotic”, and I usually prefer other losses (even the simple cross-entropy loss). The focal loss is indeed quite powerful, from my more recent experiments, so I encourage you to give it a go.

I've replaced GDL with DICELoss and only focused on the classes of interest, which will decrease as expected.

How many classes does your problem have? Indeed, supervising different classes differently (either with a different weight, or another loss) is not out of the ordinary. You can also decide to supervise the background explicitely (idc=[0,1,2...], or implicitely (idc=[1,2,...]).

Let me know,

Hoel

from boundary-loss.

HKervadec avatar HKervadec commented on September 18, 2024

Hello, I have new something to share with you. In my experiments, I found that the GDL is hard to decrease. According to the Paper "AnatomyNet: Deep Learning for Fast...", the generalized dice loss uses squared volume weights. However, it makes the optimization unstable in the extremely unbalanced segmentation.

Related to that general topic, there is that pre-print (still under revision) from colleagues that might interest you:
The hidden label-marginal biases of segmentation losses

from boundary-loss.

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.