MCPcopy Create free account
hub / github.com/HiLab-git/SSL4MIS / softmax_dice_loss

Function softmax_dice_loss

code/utils/losses.py:39–56  ·  view source on GitHub ↗

Takes softmax on both sides and returns MSE loss Note: - Returns the sum over all examples. Divide by the batch size afterwards if you want the mean. - Sends gradients to inputs but not the targets.

(input_logits, target_logits)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

dice_loss1Function · 0.85

Tested by

no test coverage detected