RegressionMSELoss
- class lightning_pose.losses.losses.RegressionMSELoss(data_module: BaseDataModule | UnlabeledDataModule | None = None, epsilon: float = 0.0, log_weight: float = 0.0, **kwargs)[source]
Bases:
LossMSE loss between ground truth and predicted coordinates.
Methods Summary
__call__(keypoints_targ, keypoints_pred[, stage])Call self as a function.
compute_loss(targets, predictions)remove_nans(targets, predictions)Methods Documentation