Skip to content

Commit

Permalink
Update error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
ziatdinovmax committed Apr 12, 2023
1 parent 412e0d8 commit f8266bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion atomai/losses_metrics/losses.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ def select_loss(loss: str, nb_classes: int = None, **kwargs):
else:
raise NotImplementedError(
"Select Dice loss ('dice'), focal loss ('focal') "
" cross-entropy loss ('ce') or means-squared error ('mse')"
" cross-entropy loss ('ce'), means-squared error ('mse'),"
" multitask loss (multitask_nll and multitask_ce)"
" or pass your custom loss function"
)
return criterion

0 comments on commit f8266bc

Please sign in to comment.