WongKinYiu / yolov7

Implementation of paper - YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to add more epochs and resume training (with optimizer state), after all training epochs are finished?

mattroos opened this issue · comments

I'd like to continue training after all epochs have completed. The --resume switch will not do this even if I set --epochs to a higher number than during the previous training run. How can I do this? This is different that just starting a new training run and loading the weights from the last epoch of the previous training run because (as far as I know) that state of the optimizer is not utilized.