meituan / YOLOv6

YOLOv6: a single-stage object detection framework dedicated to industrial applications.
GNU General Public License v3.0
5.71k stars 1.03k forks source link

flag `--patience` (epochs to wait for no observable improvement for early stopping of training) #904

Open Egorundel opened 1 year ago

Egorundel commented 1 year ago

Before Asking

Search before asking

Question

Do you have the possibility of stopping training if after a certain number of epochs there is no noticeable improvement in the neural network? If there is such a possibility, then what flag should be set for this during training?

Additional

No response

Chilicyy commented 1 year ago

Hi, you can check if total_loss stop decreasing or self.ap stop increasing to optimize your training epochs.