summaryrefslogtreecommitdiff
path: root/training/main.py
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2023-08-25 23:19:39 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-08-25 23:19:39 +0200
commit6968572c1a21394b88a29f675b17b9698784a898 (patch)
treed89d1c5c2ec331d38dcb5b6a2dbbd72c9e355b8a /training/main.py
parent49ca6ade1a19f7f9c702171537fe4be0dfcda66d (diff)
Update training stuff
Diffstat (limited to 'training/main.py')
-rw-r--r--training/main.py4
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