delta.model.unstack_acc

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