-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
batches counts error in logistic_sgd.py #87
Comments
Yes, I found the current version could not include all the samples if the sample number could not be divided with no remainder by the batch_size. |
@Lancelod-Liu Every batch is not required to have exact batch_size samples. I've tested my modification. |
@Huarong I have reviewed the code and you are right when the case you are working on is the mlp model.
W is the kernels that one convolutional layer owns and referring to the code, the filter_shape contains the batch_size info and once the model is built, the model only accepts with input of batch_size samples. |
should be:
The text was updated successfully, but these errors were encountered: