vis4d.eval.metrics.flow
Depth estimation metrics.
Functions
|
Compute the angular error. |
|
Compute the end point error. |
- end_point_error(prediction, target)[source]
Compute the end point error.
- Parameters:
prediction (ArrayLike) – Prediction UV optical flow, in shape (…, 2).
target (ArrayLike) – Target UV optical flow, in shape (…, 2).
- Returns:
End point error.
- Return type:
float
- angular_error(prediction, target, epsilon=1e-06)[source]
Compute the angular error.
- Parameters:
prediction (ArrayLike) – Prediction UV optical flow, in shape (…, 2).
target (ArrayLike) – Target UV optical flow, in shape (…, 2).
epsilon (float, optional) – Epsilon value for numerical stability.
- Returns:
Angular error.
- Return type:
float