Closed
Description
FAIL: test_consistency_with_cross_entropy_2d_no_reduction (tests.test_focal_loss.TestFocalLoss)
For gamma=0 the focal loss reduces to the cross entropy loss
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/MONAI/tests/test_focal_loss.py", line 135, in test_consistency_with_cross_entropy_2d_no_reduction
assert np.allclose(max_error, 0)
AssertionError
Metadata
Metadata
Assignees
Labels
No labels