From 9245e96df5e4eab16b001817d0e3973b356e113f Mon Sep 17 00:00:00 2001 From: Jordan Gong Date: Mon, 8 Aug 2022 11:44:28 +0800 Subject: Fix a typo --- supervised/baseline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'supervised') diff --git a/supervised/baseline.py b/supervised/baseline.py index a9d9862..9ad107c 100644 --- a/supervised/baseline.py +++ b/supervised/baseline.py @@ -190,7 +190,7 @@ class SupBaselineTrainer(Trainer): lr=optim_config.lr, betas=optim_config.betas, ) - elif optim_config.optim == 'sdg': + elif optim_config.optim == 'sgd': optimizer = torch.optim.SGD( param_groups, lr=optim_config.lr, -- cgit v1.2.3