delta.model.pixelwise_weighted_binary_crossentropy_seg¶
- delta.model.pixelwise_weighted_binary_crossentropy_seg(y_true: Tensor, y_pred: Tensor) Tensor¶
Pixel-wise weighted binary cross-entropy loss. The code is adapted from the Keras TF backend. (see their github)
- Parameters
- y_trueTensor
Stack of groundtruth segmentation masks + weight maps.
- y_predTensor
Predicted segmentation masks.
- Returns
- Tensor
Pixel-wise weight binary cross-entropy between inputs.