It then forces the network to learn patterns near these locations, at the expense of overfitting and consequently slightly compromised per-pixel accuracy.
on this version of the Rand index we exclude the zero component of the original labels (background pixels of the ground truth).