-
Notifications
You must be signed in to change notification settings - Fork 19.5k
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
Fix the ordering bugs when using pickle_safe=True #6891
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
56e0d3a
Initial support for Datasets
f8b69db
Fix warnings
7f9bcb5
Fix for python2
9bfe0b9
Fix travis deps
b0622f5
Fix python2 indexing
16a5c05
Fix test and docs
b3d71e6
Avoir use of future, use multiprocessing.pool
8599f33
Changed warning and better moduling
42f74d9
fix threading test
1c38bda
Move Dataset and enqueuers to utils.data_utils
069a3bc
Skip None input, add seed for generators
7367bc0
Skip None input fix
19806b5
pep8
d354554
Fix example
9a52d61
Add test in training and changed Dataset to hold item
0040b4e
Merge master
9a05588
Revert to batch handling
81441bc
Docs update
7a44a1a
Merge master
8e1419e
PEP8
fd0c541
Rename in test
da50f1b
Rename in example
4d9861f
Better documentation in Sequence
c25ff62
Typo in sequence warning
2dff30a
Rename pickle_safe and max_q_size, typos
36010cb
Merge branch 'master' into datasets
d9bb51e
Typo in docstring
c022904
Merge branch 'datasets' of https://github.com/Dref360/keras into data…
0ad33b5
Fix tests in training
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about failure cases? Example: #6928 it is possible only x, only y, neither x nor y, or a tuple of some other unexpected size gets returned.
At a minimum, check the tuple size and throw an exception if it doesn't match expectations. There are probably other cases like this in this pull request, it might be worth double checking.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is done here : https://github.com/fchollet/keras/pull/6891/files/1c38bda3d3a7da31ce86fca72b3cf51a15b75642#diff-299cfd5886683a4b012f286403769fc1L2108