swa_object_detection icon indicating copy to clipboard operation
swa_object_detection copied to clipboard

代码运用到自己的模型

Open Tangzhaotz opened this issue 4 years ago • 5 comments

怎么把这种方法运用到自己的训练中?仅仅多训练12个epochs吗?

Tangzhaotz avatar Dec 28 '20 07:12 Tangzhaotz

Yes, but you need use cyclical learning rates for the extra training and then average these 12 checkpoints.

hyz-xmaster avatar Dec 28 '20 07:12 hyz-xmaster

where the code for this part?

Tangzhaotz avatar Dec 28 '20 09:12 Tangzhaotz

Please see the Getting started.

hyz-xmaster avatar Dec 28 '20 11:12 hyz-xmaster

ok,thank you

Tangzhaotz avatar Dec 29 '20 02:12 Tangzhaotz

Yes, but you need use cyclical learning rates for the extra training and then average these 12 checkpoints.

hello ,I use the get_swa_model.py and CosineAnnealingLR(initial learning rate 1e-3,eta_min=1e-4)to train my best model for 12 extra epochs,and then get avg_model.But when I use the avg_model to test, map decreased...

Mobu59 avatar Oct 28 '21 08:10 Mobu59