-
Notifications
You must be signed in to change notification settings - Fork 82
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
Subtract mean value #4
Comments
Hi, @hytseng0509 , I checked the caffe implementation. Since caffe use OpenCV, so the image is :
The implementation here use a skimage library. Input image is:
So you need first substraction the mean value according to each channel; then transfer RGB to BGR mode. A sample code for reference:
According to experiment, the difference is really small. |
Thanks for the information! |
I think this is ImageNet mean. It's true that we should subtract mean but we should use the mean from Sports1M. |
Hi,
Do we have to subtract the mean before the predicting?
Thanks for the sharing. =)
The text was updated successfully, but these errors were encountered: