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

subtract_imagenet_mean_batch is not working #1

Closed
underfitting opened this issue May 19, 2017 · 1 comment
Closed

subtract_imagenet_mean_batch is not working #1

underfitting opened this issue May 19, 2017 · 1 comment

Comments

@underfitting
Copy link

Hi,

I think the function utils.subtract_imagenet_mean_batch does not work with current code.
You need to add "return batch" in the function and

utils.subtract_imagenet_mean_batch(xc)

should be changed to

xc = utils.subtract_imagenet_mean_batch(xc)

@zhanghang1989
Copy link
Owner

Hi, thanks for pointing out the mistake! it is fixed in recent commit. 👍

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

No branches or pull requests

2 participants