Skip to content

Commit

Permalink
fix: type error in main
Browse files Browse the repository at this point in the history
  • Loading branch information
Erotemic committed Jan 23, 2025
1 parent 9de3de6 commit 8733d49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion yolo/lazy.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

import hydra
from lightning import Trainer
from omegaconf.dictconfig import DictConfig

# FIXME: messing with sys.path is a bad idea. Factor this out.
project_root = Path(__file__).resolve().parent.parent
Expand All @@ -14,7 +15,7 @@


@hydra.main(config_path="config", config_name="config", version_base=None)
def main(cfg: Config):
def main(cfg: DictConfig):
callbacks, loggers, save_path = setup(cfg)

trainer = Trainer(
Expand Down

0 comments on commit 8733d49

Please sign in to comment.