This repository has been archived by the owner on Mar 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 404
New loss function for segmentation #200
Comments
Thanks @fepegar, the loss function's interface is ready, but we need the new configuration file #166 to support a proper nested parameter parsing. Perhaps @BostonChildrensRadiology would be interested in this implementation as well. |
Cool, looking forward to the new config format. I'll submit the PR as a WIP in a second. |
zhanghaoyue
pushed a commit
to zhanghaoyue/NiftyNet
that referenced
this issue
Oct 18, 2019
Resolve "bilinear additive upsampling" Closes NifTK#200 See merge request !165
Is this working for class imbalanced semantic segmentation?(mostly medical images) |
@amartya-k yes, it should. Take a look at the paper I referenced in the first comment. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi all,
I have implemented the Tversky loss function for segmentation with imbalanced data. I'll try it tomorrow and if it works I'll open a PR.
It needs two parameters α and β to weight precision and recall during training (if α + β = 1, it's equivalent to an Fβ-score and if α = β = 0.5, it's Dice). Is there a way to specify those without hard-coding them? The only other losses that accept kwargs are GDSC and
wasserstein_disagreement_map
, but I the only example I've found in the repo in which those are passed is in this test:NiftyNet/tests/loss_segmentation_test.py
Lines 94 to 110 in 0bdbd9c
The text was updated successfully, but these errors were encountered: