Change hovernet losses to MaskedLoss? #6906
Unanswered
OmarAshkar
asked this question in
Q&A
Replies: 1 comment 3 replies
-
hey @OmarAshkar , MaskedLoss may not be reasonable as you describe it. The MaskedLoss def:
but your data of a lot of missing labels. For the problems with your data, my suggestion you can either set the label to 0, or remove the data with missing labels, or use a semi-supervised training. Mason |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have a challenge in my data of a lot of missing labels. I am wondering if I can use the concept of MaskedLoss here? What I understand that 0's will not be accounted for in the loss.
I was thinking to change these 2 lines of DiceLoss and CrossentopyLoss
MONAI/monai/apps/pathology/losses/hovernet_loss.py
Line 62 in 2daabf9
I need some guidance on how to change those lines please.
Thanks alot!
Beta Was this translation helpful? Give feedback.
All reactions