facebookresearch / moco

PyTorch implementation of MoCo: https://arxiv.org/abs/1911.05722
MIT License
4.82k stars 794 forks source link

'RGB' for MoCo, 'BGR' for Detectron2 #117

Closed fwtan closed 2 years ago

fwtan commented 3 years ago

It seems MoCo was pretrained with "RGB" images, but Detectron2 takes "BGR" by default, I wonder if we should add

INPUT:
  FORMAT: "RGB"
MODEL:
  PIXEL_MEAN: [123.675, 116.280, 103.530]
  PIXEL_STD: [58.395, 57.120, 57.375]

to the config yaml?

solauky commented 2 years ago

来信收到,谢谢!

fwtan commented 2 years ago

I missed the last part of the config file, my mistake!