-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Add Support for multiple train loaders #1959
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
Merged
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
98aafa1
add support for wrong dtype in apply_func
justusschock f7e2405
apply loader resetting to possible collection of loaders
justusschock dc1f0d0
add combined loader iter class
justusschock 4ab644f
integrate combined loader iter to training loop
justusschock 6b8f317
fix imports
04ce0ef
fix imports
justusschock aa9b153
finish supporters
justusschock 9525024
add tests for supporters
justusschock dab57af
add test for model with multiple loaders
justusschock 2f867dc
fix trainer integration
justusschock 0ae527b
fix instance check
justusschock 608f503
Train loaders (#4032)
christofer-f a1ced87
rename class
justusschock eea6aae
Separate CombinedLoaderIterator into two classes, and update related …
ylsung 32aeb70
pep8
justusschock c4482c4
Update train_loader_patch.py
justusschock 1a531a5
Apply suggestions from code review
justusschock a5d3652
Update pytorch_lightning/trainer/supporters.py
justusschock dc94a59
reviewer comments
justusschock 3c85cfb
fix stupid import
justusschock c091414
add docs
justusschock ebb6277
add back line separator
justusschock e4e50ab
fix line sep
justusschock 0227a68
pep8
justusschock 644a490
Apply suggestions from code review
Borda 552e6a6
fix
rohitgr7 3ab1907
fix
rohitgr7 a2d017f
Apply suggestions from code review
Borda 6af5c90
Apply suggestions from code review
Borda e138c7a
flake8
Borda 9265651
chlog
Borda 7669a40
Update pytorch_lightning/trainer/supporters.py
justusschock 8e9bd3d
add missing test
justusschock 854756b
fix dataset length
justusschock 55037d4
Update supporters.py
justusschock 9d42c7e
remove unused patch
justusschock 232c7ce
remove tests of otherwise unused patch
justusschock 59651c6
Merge branch 'release/1.2-dev' into train_loaders
tchaton 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 hidden or 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 hidden or 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.