Skip to content

Commit

Permalink
Fix type hint in dataset.py (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucmos committed Feb 15, 2022
1 parent 052aae5 commit 41ff1e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def main(cfg: omegaconf.DictConfig) -> None:
Args:
cfg: the hydra configuration
"""
_: MyDataset = hydra.utils.instantiate(cfg.nn.data.datasets.train, split="train", _recursive_=False)
_: Dataset = hydra.utils.instantiate(cfg.nn.data.datasets.train, split="train", _recursive_=False)


if __name__ == "__main__":
Expand Down

0 comments on commit 41ff1e9

Please sign in to comment.