Skip to content

Commit 892af4f

Browse files
committed
fix forgot renaming
1 parent 7c94e65 commit 892af4f

File tree

1 file changed

+2
-2
lines changed
  • packages/common/src/weathergen/common

1 file changed

+2
-2
lines changed

packages/common/src/weathergen/common/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ def _check_logging(config: Config) -> Config:
119119
Apply fixes to log frequency config.
120120
"""
121121
config = config.copy()
122-
if config.get("log_intervals") is None: # TODO remove this for next version
123-
config.log_intervals = OmegaConf.construct(
122+
if config.get("train_log_freq") is None: # TODO remove this for next version
123+
config.train_log_freq = OmegaConf.construct(
124124
{"checkpoint": 250, "terminal": 10, "metrics": config.train_log.log_interval}
125125
)
126126

0 commit comments

Comments
 (0)