Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PM] mean vs scale #7

Open
joyhuang9473 opened this issue Apr 20, 2016 · 0 comments
Open

[PM] mean vs scale #7

joyhuang9473 opened this issue Apr 20, 2016 · 0 comments
Labels

Comments

@joyhuang9473
Copy link
Owner

reference: happynear/FaceVerification

剪去 mean 的 data 不是用 scale 1/255 ?

Ans:

happynear:

But i don't understand why you set 0.0078125 scale in CASIA_train_test.prototxt. Why is not 0.00390625.Should it normalized -1 to 1 not 0 to 1? But input image is 0 - 255 , if scale set 0.0078125 it get 0-2 isn't it? So why scale is 0.0078125. Do you do any image process before you train model?
Thank your answer!

Since I have substracted the mean image, divide by 128 (1/128=0.0078125) scales the pixels' graylevel to [-1, 1].
I have also minused the mean image. So every pixel's range is [-1 1].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant