open-mmlab / mmdetection

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

Why use img_norm in from scratch training? #7774

Closed JohannesEsslinger closed 2 years ago

JohannesEsslinger commented 2 years ago

Hi i am wondering why you used image norm for ImageNet even if you train from scratch for COCO?

https://github.com/open-mmlab/mmdetection/blob/master/configs/ssd/ssdlite_mobilenetv2_scratch_600e_coco.py

ZwwWayne commented 2 years ago

It is just a convention to normalize the image by the norm on ImageNet since it is large and the values should be representative and general.