LAVT-RIS icon indicating copy to clipboard operation
LAVT-RIS copied to clipboard

About Dice Loss

Open nini0919 opened this issue 2 years ago • 3 comments

Hello, author! Thank you for contributing an influential paper to the field of res. I have a small question to ask you regarding your statement on April 13th, 2023: "Using the Dice loss instead of the cross-entropy loss can improve results. Will add code and release weights later when getting a chance." Could you please provide the calculation code for the dice loss? Thank you, good luck!

nini0919 avatar Jul 14 '23 06:07 nini0919

Hello! Hopefully I get time to do this soon. Thanks for your interest in the work.

yz93 avatar Jul 14 '23 17:07 yz93

Thank you for your patient answer. We are looking forward to your release of the code related to Dice loss.

Besides, I found the dimension of the network output tensor is [batch_size, 2, 480, 480], and I think the second dimension represents the classes of the pixel, 0 is background and 1 is foreground. Therefore, I want to ask you what is the meaning of 'multi-class' for multi-class Dice loss. Do you mean that "multi-class" refers to foreground and background classes?Thank you, good luck!

nini0919 avatar Jul 15 '23 03:07 nini0919