Skip to content

Commit

Permalink
bugfix(train): fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Haochen-Wang409 authored Apr 8, 2022
1 parent 2b259fc commit 623b5f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion train_semi.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def main():
)

elif cfg["saver"].get("pretrain", False):
laod_state(cfg["saver"]["pretrain"], model, key="model_state")
load_state(cfg["saver"]["pretrain"], model, key="model_state")
load_state(cfg["saver"]["pretrain"], model_teacher, key="teacher_state")

lr_scheduler = get_scheduler(
Expand Down

0 comments on commit 623b5f0

Please sign in to comment.