Skip to content

Commit

Permalink
fix: Fix function args.
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyYang0714 committed Oct 15, 2024
1 parent d95fb72 commit 53f2242
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vis4d/eval/common/depth.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ def process_batch( # type: ignore # pylint: disable=arguments-differ
"""Process a batch of data.
Args:
prediction (np.array): Prediction optical flow, in shape (H, W, 2).
groundtruth (np.array): Target optical flow, in shape (H, W, 2).
prediction (np.array): Prediction optical flow, in shape (B, H, W).
groundtruth (np.array): Target optical flow, in shape (B, H, W).
"""
preds = (
array_to_numpy(prediction, n_dims=None, dtype=np.float32)
Expand Down

0 comments on commit 53f2242

Please sign in to comment.