fix torch warning

This commit is contained in:
Jan Kowalczyk
2024-07-04 07:39:37 +02:00
parent 61424bf053
commit 745efbb8f5

View File

@@ -114,7 +114,7 @@ class DeepSADTrainer(BaseTrainer):
if epoch in self.lr_milestones:
logger.info(
" LR scheduler: new learning rate is %g"
% float(scheduler.get_lr()[0])
% float(scheduler.get_last_lr()[0])
)
# log epoch statistics