vis4d.eval.metrics.flow¶
Depth estimation metrics.
Functions
|
Compute the angular error. |
|
Compute the end point error. |
- 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