Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
b8raoult committed Jul 3, 2024
1 parent cca1698 commit 4e91faf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/anemoi/training/commands/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,11 @@ def run(self, args):
cfg = hydra.compose(config_name="config")

# Add user config
user_config = config_path("train.yaml")
user_config = config_path("training.yaml")

if os.path.exists(user_config):
LOGGER.info(f"Loading config {user_config}")
cfg = OmegaConf.merge(cfg, OmegaConf.load(user_config, resolve=True))
cfg = OmegaConf.merge(cfg, OmegaConf.load(user_config))

# Add extra config files specified in the command line

Expand Down
2 changes: 1 addition & 1 deletion src/anemoi/training/config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ training:
max_epochs: 3

token:
mlflow: 8
mlflow: null

0 comments on commit 4e91faf

Please sign in to comment.