Skip to content
This repository was archived by the owner on Nov 1, 2024. It is now read-only.

Commit 54b3e87

Browse files
committed
fix typo
1 parent e0e726e commit 54b3e87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

metaseq_cli/train.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ def validate_and_save(
419419
and was_successful_step
420420
)
421421
or (
422-
cfg.dataset.log_traininig_trajectory
422+
cfg.dataset.log_training_trajectory
423423
and num_updates in [10, 20, 50, 100, 200, 500]
424424
)
425425
)
@@ -437,7 +437,7 @@ def validate_and_save(
437437
)
438438
or (cfg.dataset.validate_at_beginning and num_updates == 0)
439439
or (
440-
cfg.dataset.log_traininig_trajectory
440+
cfg.dataset.log_training_trajectory
441441
and num_updates in [0, 10, 20, 50, 100, 200, 500]
442442
)
443443
) and not cfg.dataset.disable_validation

0 commit comments

Comments
 (0)