Skip to content
This repository was archived by the owner on Apr 8, 2026. It is now read-only.

Data loader bug fixes#20

Open
durana wants to merge 3 commits into
openai:masterfrom
durana:master
Open

Data loader bug fixes#20
durana wants to merge 3 commits into
openai:masterfrom
durana:master

Conversation

@durana

@durana durana commented Sep 30, 2017

Copy link
Copy Markdown

Found two minor bugs in the data loader code, 1) the data index pointer was always advanced by the batch size even if a caller passed a value for n, and 2) the iterator would stop before reaching the end of the data in cases where the batch size did not evenly divide the data size (i.e., you'd skip the last batch).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant