ImageNet21K icon indicating copy to clipboard operation
ImageNet21K copied to clipboard

I see no normalization of images.

Open Phuoc-Hoan-Le opened this issue 2 years ago • 0 comments

Typically images are normalized with 0.5 mean and 0.5 std, but I don't see anywhere in the code where normalization with 0.5 mean and 0.5 std occurs. Is that supposed to happen when pretraining imagenet21k? Because according to https://huggingface.co/google/vit-large-patch16-224-in21k it says "Images are resized/rescaled to the same resolution (224x224) and normalized across the RGB channels with mean (0.5, 0.5, 0.5) and standard deviation (0.5, 0.5, 0.5)"

Phuoc-Hoan-Le avatar Jun 29 '22 13:06 Phuoc-Hoan-Le