Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
LeungTsang committed Sep 13, 2024
2 parents 273d28e + 1431436 commit a0cebbc
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 a0cebbc

Please sign in to comment.