epoch [59] | lr [0.0010000000] | batch_idx [170] | loc_loss [0.741] | cls_loss [1.775] | total_loss [430.194] | [0min,29sec] Traceback (most recent call last): File "train.py", line 162, in <module> scheduler.step() NameError: name 'scheduler' is not defined
Closed this issue · 3 comments
angyee commented
epoch [59] | lr [0.0010000000] | batch_idx [170] | loc_loss [0.741] | cls_loss [1.775] | total_loss [430.194] | [0min,29sec]
Traceback (most recent call last):
File "train.py", line 162, in
scheduler.step()
NameError: name 'scheduler' is not defined
DaehanKim-Korea commented
Oh thank you for leaving the issue.
Perhaps,
[config.py 17line]
Did you check it? lr_scheduler = True
Did you do print(opt.lr_scheduler)?
angyee commented
yes
lr_scheduler = True
print(opt.lr_scheduler) - not tested
DaehanKim-Korea commented
Not when I implemented it. If there is a problem, you can define and use it.