diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-08-25 23:19:39 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-08-25 23:19:39 +0200 |
commit | 6968572c1a21394b88a29f675b17b9698784a898 (patch) | |
tree | d89d1c5c2ec331d38dcb5b6a2dbbd72c9e355b8a /training/main.py | |
parent | 49ca6ade1a19f7f9c702171537fe4be0dfcda66d (diff) |
Update training stuff
Diffstat (limited to 'training/main.py')
-rw-r--r-- | training/main.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/training/main.py b/training/main.py index 6e54a23..73adda0 100644 --- a/training/main.py +++ b/training/main.py @@ -4,7 +4,9 @@ from omegaconf import DictConfig from training.metadata import TRAINING_DIR -@hydra.main(version_base="1.2", config_path=TRAINING_DIR / "conf", config_name="config") +@hydra.main( + version_base="1.2", config_path=str(TRAINING_DIR / "conf"), config_name="config" +) def main(config: DictConfig) -> None: """Loads config with hydra and runs the experiment.""" import utils |