facenet-pytorch-glint360k icon indicating copy to clipboard operation
facenet-pytorch-glint360k copied to clipboard

why did you set Normalize(mean=[0.6071, 0.4609, 0.3944], std=[0.2457, 0.2175, 0.2129])

Open eeric opened this issue 4 years ago • 2 comments

usually: Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225]) insightface: Normalize(mean=[0.5, 0.5, 0.5], std=[0.5, 0.5, 0.5]) the reason why your set?

__

eeric avatar Jul 28 '21 09:07 eeric

Hello @eeric,

I set the normalization parameters as per the calculated training dataset RGB mean and standard deviation values in this script . It may or not be a better normalization technique than the one used by insightface and other face recognition repositories, but I have chosen using the training dataset values as good practice.

tamerthamoqa avatar Jul 29 '21 15:07 tamerthamoqa

thanks!

eeric avatar Jul 30 '21 11:07 eeric