CenterNet icon indicating copy to clipboard operation
CenterNet copied to clipboard

Are these losses normal when I train in coco

Open xuyongxi opened this issue 5 years ago • 4 comments

focal loss at iteration 30995: 7.344306945800781 pull loss at iteration 30995: 0.05117112770676613 push loss at iteration 30995: 0.10568550229072571 regr loss at iteration 30995: 0.21536898612976074 training loss at iteration 31000: 7.482662200927734 focal loss at iteration 31000: 7.119882583618164 pull loss at iteration 31000: 0.044373102486133575 push loss at iteration 31000: 0.1216396912932396 regr loss at iteration 31000: 0.19676724076271057 validation loss at iteration 31000: 8.355660438537598

The focal loss is much bigger than other losses, when I train in coco, the total loss can't converge. Who know why?

xuyongxi avatar Sep 28 '19 17:09 xuyongxi

I have the same question, could @Duankaiwen explain if it is normal?

fuqichen1998 avatar Mar 25 '20 19:03 fuqichen1998

Hi, the losses are normal. These losses converge slowly. BTW, what's your batch size? @ xuyongxi @fuqichen1998

Duankaiwen avatar Mar 26 '20 11:03 Duankaiwen

Thanks! My batch size is 16 for CenterNet-52.

fuqichen1998 avatar Mar 26 '20 13:03 fuqichen1998

@fuqichen1998 I have set batch size 16 for CenterNet52. And the learning rate is changed into 2.5e-5 in 1000 epoch. (Using the CenterNet-480000 for pretianed model). Have you achieve the author's result?

JoJoliking avatar Oct 24 '20 12:10 JoJoliking