Yolov3: Interesting Behaviour of Training [NOT a bug/issue]

Created on 13 Feb 2020  路  7Comments  路  Source: ultralytics/yolov3

results
I just wondered why would that jump happen right after ~200. Epoch.

Most helpful comment

@orcund there is an LR scheduler that mulitplies the LR by a gain of 0.1 at 80% and 90% of total epochs:

https://github.com/ultralytics/yolov3/blob/11bcd0f9885ce548c7c123c611921fe63bebe592/train.py#L144

All 7 comments

@orcund there is an LR scheduler that mulitplies the LR by a gain of 0.1 at 80% and 90% of total epochs:

https://github.com/ultralytics/yolov3/blob/11bcd0f9885ce548c7c123c611921fe63bebe592/train.py#L144

Thanks !!

This reminds me of an alternative training schedule. Instead of reducing the steps suddenly at the end, you can achieve the sudden gain in mAP gradually but earlier using the cosine schedule.

It also improves mAP slightly!

image
https://arxiv.org/abs/1902.04103

@gnefihs yes this would be a good addition to the repo. We currently use the step scheduler (blue line). If you have time you could submit a PR. The relevant section of the code is here:

https://github.com/ultralytics/yolov3/blob/ddd892dc205c36c029ac9272e92be56fe654415b/train.py#L138-L146

This is something I am looking at right now @gnefihs
Would love to see your ideas.

@glenn-jocher i saw that you commented out the burn-in section of your code. did you intentionally leave it out because it doesn't seem to help much?

edit: sorry just saw your comment here. https://github.com/ultralytics/yolov3/issues/238#issuecomment-556840559
How does GIoU remove the need for burn-in?

@gnefihs the burn-in seemed to help training stability when we used seperate MSE losses for the xywh terms of the boxes, as the wh losses were unbounded, but the switch to GIoU for the box regression loss had a side effect of removing the regression instability, so yes as you said it didn't seem to help much any longer.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mehrdadazizi72 picture mehrdadazizi72  路  3Comments

Aria20155 picture Aria20155  路  3Comments

acburigo picture acburigo  路  4Comments

Alex1101a picture Alex1101a  路  5Comments

MichaelCong picture MichaelCong  路  4Comments