From 5261a55d5767e4ce5ff2cb86719d18ea66da2174 Mon Sep 17 00:00:00 2001 From: Irene Dea Date: Wed, 6 Mar 2024 12:30:53 -0800 Subject: [PATCH] add default for eval interval (#987) Co-authored-by: Daniel King <43149077+dakinggg@users.noreply.github.com> --- scripts/train/train.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/train/train.py b/scripts/train/train.py index 0eb3c7d341..b9b8e02922 100644 --- a/scripts/train/train.py +++ b/scripts/train/train.py @@ -249,7 +249,8 @@ def main(cfg: DictConfig) -> Trainer: must_exist=True) eval_interval: Union[int, str] = pop_config(cfg, 'eval_interval', - must_exist=True) + default_value=1, + must_exist=False) precision: str = pop_config(cfg, 'precision', must_exist=True) max_seq_len: int = pop_config(cfg, 'max_seq_len', must_exist=True)