Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Support multiple losses during training #818

Merged
merged 15 commits into from
Sep 24, 2021
Prev Previous commit
Next Next commit
Fix unittest
  • Loading branch information
MengzhangLI committed Sep 24, 2021
commit 67d3862b20918272fb748bfbee4471d0ed3a57a2
2 changes: 1 addition & 1 deletion tests/test_models/test_losses/test_dice_loss.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ def test_dice_lose():
ignore_index=0,
loss_name='loss_dice')
dice_loss = build_loss(loss_cfg)
assert dice_loss.loss_name == 'loss_dice'
assert dice_loss.loss_name == 'loss_dice'