Open haichaoyu opened 7 years ago
Hi @haichaoyu thanks for reporting this. 1) I think you're right. The code diverges from the paper architecture. There is no particular reason why I added this. ATM I'm not sure how it affects the performance.
2) Someone send a PR addressing this. Would love to hear your thoughts on this.
@jakeret Hi, I added a new version of dice loss but did not test them. Sorry about that.
Thanks I'll have a look
Hello,
I have two questions about the UNet architecture and Dice loss function:
# of True Positives / (# of Positives + # of False Positives)
, but the Dice loss in Line 231, unet.py count both positives and negatives if I understand the code correctly.Please correct me if I am wrong. Thanks.