Skip to content

add custom loss arg to supervised_training.py#161

Open
stmartineau99 wants to merge 1 commit intomainfrom
cldice_supervised_training
Open

add custom loss arg to supervised_training.py#161
stmartineau99 wants to merge 1 commit intomainfrom
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)

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.

1 participant