aboutsummaryrefslogtreecommitdiff
path: root/supervised/baseline.py
diff options
context:
space:
mode:
authorJordan Gong <jordan.gong@protonmail.com>2022-08-08 11:44:28 +0800
committerJordan Gong <jordan.gong@protonmail.com>2022-08-08 11:44:28 +0800
commit9245e96df5e4eab16b001817d0e3973b356e113f (patch)
tree6797ac3dbebd8f7612edf0b5cd4f724b55b467c8 /supervised/baseline.py
parent6920d0c033b18d4d27cdadce17f4b56347ed2a5a (diff)
Fix a typo
Diffstat (limited to 'supervised/baseline.py')
-rw-r--r--supervised/baseline.py2
1 files changed, 1 insertions, 1 deletions
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,