tumourkit.segmentation.hovernet.models.hovernet.utils.mse_loss
- tumourkit.segmentation.hovernet.models.hovernet.utils.mse_loss(true, pred, device='cuda')
Calculate mean squared error loss.
- Args:
- true: ground truth of combined horizontal
and vertical maps
- pred: prediction of combined horizontal
and vertical maps
- Returns:
loss: mean squared error