pixel_error
- lightning_pose.metrics.pixel_error(keypoints_true: ndarray, keypoints_pred: ndarray) ndarray[source]
Root mean square error between true and predicted keypoints.
- Parameters:
keypoints_true – shape (samples, n_keypoints, 2)
keypoints_pred – shape (samples, n_keypoints, 2)
- Returns:
shape (samples, n_keypoints)