We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 363b043 commit 9f5c279Copy full SHA for 9f5c279
train.py
@@ -832,8 +832,13 @@ def main():
832
lr_scheduler.step(start_epoch)
833
834
if utils.is_primary(args):
835
+ if args.warmup_prefix:
836
+ sched_explain = '(warmup_epochs + epochs + cooldown_epochs). Warmup added to total when warmup_prefix=True'
837
+ else:
838
+ sched_explain = '(epochs + cooldown_epochs). Warmup within epochs when warmup_prefix=False'
839
_logger.info(
- f'Scheduled epochs: {num_epochs}. LR stepped per {"epoch" if lr_scheduler.t_in_epochs else "update"}.')
840
+ f'Scheduled epochs: {num_epochs} {sched_explain}. '
841
+ f'LR stepped per {"epoch" if lr_scheduler.t_in_epochs else "update"}.')
842
843
results = []
844
try:
0 commit comments