delta.model.pixelwise_weighted_binary_crossentropy_track

delta.model.pixelwise_weighted_binary_crossentropy_track(y_true: tensorflow.python.framework.ops.Tensor, y_pred: tensorflow.python.framework.ops.Tensor) tensorflow.python.framework.ops.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.