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

iter_size/batch_accumulation is not properly appreciated when generating solver prototxt for caffe #1252

Closed
kostinalexey opened this issue Nov 10, 2016 · 1 comment

Comments

@kostinalexey
Copy link

Caffe counts iterations as number of weight updates see lines 280-282 in src/caffe/solver.cpp

Therefore number of training samples per iteration is batch_size * iter_size (or batch_accumulation parameter in DIGITS terms)

However it looks as DIGITS count number of samples per iteration only as batch_size, this results in wrong calculation of "display", "max_iter", "stepsize", "snapshot" parameters in solver.prototxt

@gheinrich
Copy link
Contributor

Duplicate of #1240

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

No branches or pull requests

3 participants