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

batch size and iteration #9

Open
pursueorigin opened this issue Jul 10, 2019 · 2 comments
Open

batch size and iteration #9

pursueorigin opened this issue Jul 10, 2019 · 2 comments

Comments

@pursueorigin
Copy link

Hi authors,
This is an impressing work. However, I am confused about your classification experiments for small batch size.

'setting batch size to 256 and iteration size to 1 (for example) is equivalent to setting batch size to 1 and iteration size to 256.'

Why are they equivalent? For the first case, it only updates parameters 1 times while the second case updates parameters 256 times? Am I right?

Thanks.

@joe-siyuan-qiao
Copy link
Owner

Thanks for your interest in WS. Here, the iteration size is basically "iter_size" in caffe, which specifies the number of iterations to take before one parameter update. You can check the implementation of "iter_size" in caffe for more details and why they are equivalent.

@pursueorigin
Copy link
Author

Got it. Thanks.

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