Skip to content

Commit

Permalink
eval first
Browse files Browse the repository at this point in the history
  • Loading branch information
aspfohl committed Jan 10, 2024
1 parent c2ef669 commit 4cc58ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/train/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ def main(cfg: DictConfig) -> Trainer:
gc.collect()

# Eval first if requested
if eval_first and trainer.state.timestamp.batch.value == 0 and not use_async_eval:
if eval_first and trainer.state.timestamp.batch.value == 0:
trainer.eval()

log.info('Starting training...')
Expand Down

0 comments on commit 4cc58ce

Please sign in to comment.