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问题 #17

Closed
wzj5133329 opened this issue Jul 20, 2018 · 1 comment
Closed

iter_size问题 #17

wzj5133329 opened this issue Jul 20, 2018 · 1 comment

Comments

@wzj5133329
Copy link

你好,对于slover配置文件iter_size参数我在网上查了相关资料,caffe官方并没有这个参数的说明,我的问题是,如果设置这个参数相当于调整了batch_size,那么迭代次数是不是应该减少呢,因为我设置了这个参数为n后,训练的速度相应的变慢了n倍,求解答

@ujsyehao
Copy link

caffe的mini_batch_size = sub_batch_size * iter_size, 一次iteration就是一个mini_batch_size, 比如batch size是20, iter_size是2, mini_batch_size是40, 迭代次数相应的就减少了

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