delta.model.unstack_acc

delta.model.unstack_acc(y_true: Tensor, y_pred: Tensor) Tensor

Unstacks the mask from the weights in the output tensor for segmentation and computes binary accuracy

Parameters
y_trueTensor

Stack of groundtruth segmentation masks + weight maps.

y_predTensor

Predicted segmentation masks.

Returns
Tensor

Binary prediction accuracy.