mean and std of image transform
amaralibey opened this issue · 1 comments
amaralibey commented
Hello,
I was wondering how did the mean and std of the transform come from ? I've calculated that of Pittsburg and it seem way different, especially the std !
OpenIBL/ibl/utils/data/__init__.py
Line 37 in 5ab80d6
mean=[0.48501960784313836, 0.4579568627450961, 0.4076039215686255],
std=[0.00392156862745098, 0.00392156862745098, 0.00392156862745098]
The std is way too small, can you please explain how did you get to it ?
Thanks
yxgeee commented
The mean and std are borrowed from the VGG pre-training weights of MatConvNet (it should be computed on ImageNet), since the official repos of NetVLAD and SARE are based on MatConvNet. To reproduce their results, we need to load the same pretrained weights as well as the same mean/std.