-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Bugfix/_has_len #2307
Merged
Merged
Bugfix/_has_len #2307
Changes from 13 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
0d0dcff
deal with NotImplementedError raised by torchtext
2cbaa3e
deal with NotImplementedError raised by torchtext
490b86a
Merge branch 'bugfix/_has_len' of https://github.com/thschaaf/pytorch…
2f40577
Added tests for dataloader which raise NotImplementedError in __len__()
1e7f096
Fixed some typos
61c0a83
enabled tests for dataloader raising NotImplementedError in __len__ a…
8d7523f
Merge remote-tracking branch 'origin/master' into bugfix/_has_len
975b374
deleted empty line for style compliance
89e6d5e
refactored CustomNotImplementedErrorDataloader to derive from CustomI…
e5e68bb
enabled reduced number of not_implemented_error dataloader test to re…
4db26e6
reduced test number of not_implemented_error dataloader test further …
5b6413e
reduced test number of not_implemented_error dataloader test to one t…
8a04b7c
disabled all not_implemented_error dataloader test to see if test pas…
19522fc
added __next__ with a reduced number (5) of elements after which Cust…
f480072
enabling all not_implemented_error dataloader test
7e06de0
added brief description of change and relation of torchtext
d495334
CustomNotImplementedErrorDataloader reduced number of batches served …
17bcc79
Update CHANGELOG.md
thschaaf 4784417
Apply suggestions from code review
Borda a41a441
Update CHANGELOG.md
thschaaf 3e4ad2f
Disable parallelism in dataloader
cf982bf
added max_steps=None to Trainer in not_implemented_error dataloader t…
8ac3e86
rearranged not_implemented_error test in file to group them together
77b613c
disabled parallel data loading
413b06d
Apply suggestions from code review
Borda 907893e
Merge branch 'master' into bugfix/_has_len
thschaaf c96cd9b
Merge branch 'master' into bugfix/_has_len
thschaaf fa695c4
Apply suggestions from code review
Borda 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
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.
same here, no test for "not implemented error"
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.
The name of the test refers CustomNotImplementedErrorDataloader which raises a NotImplementedError when len is called. In this configuration training should take place. I am open for name suggestions.