HeatmapLoss
- class lightning_pose.losses.losses.HeatmapLoss(data_module: BaseDataModule | UnlabeledDataModule | None = None, log_weight: float = 0.0, **kwargs)[source]
Bases:
LossParent class for different heatmap losses (MSE, Wasserstein, etc).
Methods Summary
__call__(heatmaps_targ, heatmaps_pred[, stage])Call self as a function.
compute_loss(**kwargs)remove_nans(targets, predictions)Methods Documentation