johnrso/spawnnet

Image normalization

seann999 opened this issue · 1 comments

Hi, this is not exactly about SpawnNet but I have a question regarding the MVP model.
Based on the lines below,

self.mean = (
(0.485, 0.456, 0.406)
if ("dino" in self.model_type or "r3m" in self.model_type)
else (0.5, 0.5, 0.5)
)
self.std = (
(0.229, 0.224, 0.225)
if ("dino" in self.model_type or "r3m" in self.model_type)
else (0.5, 0.5, 0.5)
)

is it correct to say that the normalization mean and std is (0.5, 0.5, 0.5) when MVP is used? Is this correct? I thought they used ImageNet values.
I ask because I'm having trouble getting MVP to work and saw that it's working decently for SpawnNet in the paper.

We follow this normalizationa after communication with the author