JunMa11 / SegLossOdyssey

A collection of loss functions for medical image segmentation
Apache License 2.0
3.76k stars 597 forks source link

losses_pytorch vs test/loss_functions #20

Closed daandres closed 3 years ago

daandres commented 3 years ago

Hi,

thanks for this great collection of segmentation losses. But I wonder, what are the differences between losses_pytorch (https://github.com/JunMa11/SegLoss/tree/master/test/loss_functions) and test/loss_functions (https://github.com/JunMa11/SegLoss/tree/master/test/loss_functions)? And which one would recommend for custom test? I saw that test/loss_functionshave dependencies to nnU-Net, while the others don't.

Thank you

JunMa11 commented 3 years ago

Hi @daandres,

Thanks for your interest.

Now, nnU-Net has moved to V2 but I have not created a new version for the loss functions. If you want to use nnU-Net V2 with different loss functions, I would recommend https://github.com/MIC-DKFZ/nnUNet/tree/master/nnunet/training/network_training/nnUNet_variants/loss_function

daandres commented 3 years ago

thank you @JunMa11 for clarification and the additional repo.