open-mmlab / mmdetection

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

A question about img_norm_cfg #1311

Closed jzchenriver closed 4 years ago

jzchenriver commented 5 years ago

In faster_rcnn_r50_fpn_1x.py, there is the img_norm_cfg: dict(mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True). I want to know the reason why these numbers are chosen. Because my test dataset is infrared images, I think it is necessary to change this cfg.

hellock commented 4 years ago

https://github.com/open-mmlab/mmdetection/issues/796