negative losses
Hi , I am finding negative losses while training with my own dataset. I would like to ask you what causes this.
Hi, sorry for the late reply, I hope you have solved the issue, mostly this is due to incorrect data processing, e.g., incorrect GT mask value. Carefully checking the data would be a possible solution.
hi, I conducted experiments on my other CT dataset, I got the negative loss too, but the results is good. Is there anything wrong? can you give me some advice to fix this? thanks
Hi, my previous answer was wrong; since we use -dice as a loss rather than 1-dice, a negative loss is correct; if you prefer a positive loss, you can change it to 1-dice in the loss.py file.