-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[Enhance] Add extra dataloader settings in configs #1435
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1435 +/- ##
==========================================
+ Coverage 90.22% 90.31% +0.09%
==========================================
Files 136 139 +3
Lines 7946 8289 +343
Branches 1323 1392 +69
==========================================
+ Hits 7169 7486 +317
- Misses 552 567 +15
- Partials 225 236 +11
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
LGTM
* [Enhance] Add extra dataloader settings in configs * val default samples * val default samples * del unuse * del unused
* [Enhance] Add extra dataloader settings in configs * val default samples * val default samples * del unuse * del unused
* Ensure Flax pipeline always returns numpy array. * Clarify documentation.
Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
ref: open-mmlab/mmpretrain#752
In some situation, we need to use different dataloader settings like samples_per_gpu in train/val/test dataloader.
Modification
Use train_dataloader, val_dataloader and test_dataloader settings in the data field to specify different arguments.
Use cases (Optional)
Checklist