From 5f3bcd2303a6ee8fa40e3fe6a3c00b241c48ff92 Mon Sep 17 00:00:00 2001 From: unknown <1071741427@qq.com> Date: Tue, 2 May 2023 11:01:50 -0700 Subject: [PATCH] Fix typo. --- src/helpers/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/utils.py b/src/helpers/utils.py index 9bbc652..d5901ee 100644 --- a/src/helpers/utils.py +++ b/src/helpers/utils.py @@ -77,7 +77,7 @@ def update_lr(args, optimizer, itr, logger): old_lr = param_group['lr'] if old_lr != lr: logger.info('=============================') - logger.info(f'Changing learning rate {olf_lr} -> {lr}') + logger.info(f'Changing learning rate {old_lr} -> {lr}') param_group['lr'] = lr def setup_generic_signature(args, special_info):