Skip to content
This repository has been archived by the owner on Jul 10, 2021. It is now read-only.

Lasagne backend doesn't iterate over all data when you set batch_size #158

Closed
jmgore75 opened this issue Dec 23, 2015 · 2 comments
Closed
Labels

Comments

@jmgore75
Copy link
Contributor

In pull request #157 I describe how when you use a batch size, the lasagne backend does not train with all of the data, only blocks of that batch size (leaving out the bit at the end). Also, if batch_size is greater than the total data size, it won't iterate over any data at all and will die with a zero division error.

@alexjc alexjc added the bug label Dec 24, 2015
@alexjc
Copy link
Member

alexjc commented Dec 24, 2015

Yep, thanks for pointing it out. Just needs one test to make sure we catch such problems in the future.

alexjc added a commit that referenced this issue Dec 31, 2015
@alexjc
Copy link
Member

alexjc commented Dec 31, 2015

If you want me to merge this from your PR, please include the three tests from [7831214]. Thanks again!

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

No branches or pull requests

2 participants