Skip to content

Commit

Permalink
[FIX] validation image shape error #100
Browse files Browse the repository at this point in the history
  • Loading branch information
markkua committed Aug 16, 2024
1 parent 10e775f commit 766e74a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/trainer/marigold_trainer.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# An official reimplemented version of Marigold training script.
# Last modified: 2024-04-29
# Last modified: 2024-08-16
#
# Copyright 2023 Bingxin Ke, ETH Zurich. All rights reserved.
#
Expand Down Expand Up @@ -507,7 +507,7 @@ def validate_single_dataset(
):
assert 1 == data_loader.batch_size
# Read input image
rgb_int = batch["rgb_int"].squeeze() # [3, H, W]
rgb_int = batch["rgb_int"] # [B, 3, H, W]
# GT depth
depth_raw_ts = batch["depth_raw_linear"].squeeze()
depth_raw = depth_raw_ts.numpy()
Expand Down

0 comments on commit 766e74a

Please sign in to comment.