open-mmlab / mmdetection

OpenMMLab Detection Toolbox and Benchmark
https://mmdetection.readthedocs.io
Apache License 2.0
29.45k stars 9.43k forks source link

Qusetion about new loss function #3622

Closed sky-fly97 closed 4 years ago

sky-fly97 commented 4 years ago

Can someone tell me how to change smooth L1 loss to a new loss function? Like ciou loss....I always have problems that I can't solve.

xvjiarui commented 4 years ago

Hi @sky-fly97 You may set type='L1Loss' in your loss config.

sky-fly97 commented 4 years ago

Hi @sky-fly97 You may set type='L1Loss' in your loss config.

Thanks, but will L1 loss perform better than smooth L1 loss? I use cascade rcnn.