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

Clarification for step_size? #16

Open
chigkim opened this issue Apr 23, 2019 · 1 comment
Open

Clarification for step_size? #16

chigkim opened this issue Apr 23, 2019 · 1 comment

Comments

@chigkim
Copy link

chigkim commented Apr 23, 2019

From readme, "step_size : number of training iterations per half cycle. Authors suggest setting step_size = (2-8) x (training iterations in epoch) . Default 2000."
Does it mean step_size should be "np.ceil(x_train.shape[0]/batch_size/2)" or "2*np.ceil(x_train.shape[0]/batch_size)"?

@maxfrei750
Copy link

The number of training iterations is clearly np.ceil(x_train.shape[0]/batch_size), so I'd say 2*np.ceil(x_train.shape[0]/batch_size)
is correct if you want to achieve

2 x (training iterations in epoch)

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