Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yurujaja authored Sep 13, 2024
1 parent 35e600a commit 1431436
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engine/data_preprocessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


def get_collate_fn(cfg: omegaconf.DictConfig) -> Callable:
modalities = cfg.dataset.bands.keys()
modalities = cfg.encoder.input_bands.keys()

def collate_fn(
batch: dict[dict[str, torch.Tensor]]
Expand Down Expand Up @@ -602,4 +602,4 @@ def __init__(self, dataset, cfg, local_cfg):
if not local_cfg:
local_cfg = omegaconf.OmegaConf.create()
local_cfg.size = cfg.encoder.input_size
super().__init__(dataset, cfg, local_cfg)
super().__init__(dataset, cfg, local_cfg)

0 comments on commit 1431436

Please sign in to comment.