Skip to content

add custom loss arg to supervised_training.py#161

Merged
constantinpape merged 2 commits into
mainfrom
cldice_supervised_training
Apr 13, 2026
Merged

add custom loss arg to supervised_training.py#161
constantinpape merged 2 commits into
mainfrom
cldice_supervised_training

Conversation

@stmartineau99
Copy link
Copy Markdown
Contributor

  • added custom loss_fn arg to supervised_training
  • if None, defaults to torch_em.Loss.DiceLoss
  • custom loss functions are expected to be compatible with ignore_label and mask_channel args (loss wrappers)

@constantinpape constantinpape merged commit 97acb6f into main Apr 13, 2026
3 checks passed
@constantinpape constantinpape deleted the cldice_supervised_training branch April 13, 2026 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants