-
Notifications
You must be signed in to change notification settings - Fork 323
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
[RFC] Add missing names to pl_bolts/datasets/__init__.py
#493
[RFC] Add missing names to pl_bolts/datasets/__init__.py
#493
Conversation
Codecov Report
@@ Coverage Diff @@
## master #493 +/- ##
==========================================
- Coverage 77.53% 77.51% -0.03%
==========================================
Files 114 114
Lines 6664 6670 +6
==========================================
+ Hits 5167 5170 +3
- Misses 1497 1500 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@Borda Do you find this change reasonable? If so, I'll move forward by adding some changes to the docs in this PR. |
not sure how this helps, would it work if you have not installed all packages needed for other datamodules? |
Yes. Before #338, Shall I keep going then? |
@Borda @ananyahjha93 Would love to hear your thoughts on this. |
pl_bolts/datasets/__init__.py
pl_bolts/datasets/__init__.py
0c9966f
to
bf92d53
Compare
bf92d53
to
b6d4fb2
Compare
@akihironitta I have added nb of workers but not sure if it is the reason for failing the test... |
…rch-lightning-bolts into refactor/datasets-init
@Borda I guess this is ready to go once the tests pass in CI. |
What does this PR do?
It seems strange to me that
pl_bolts/datasets/__init__.py
has only dummy datasets. This PR adds missing items to the init.py to make all dataset classes (and functions) available right underpl_bolts.datasets
.In short, this PR enables:
where we have to write on the master branch:
I'd like to merge this PR since this change can make the tests for imports in #428 easier.
If not having dataset classes in
pl_bolts/datasets/__init__.py
on purpose, please just close this PR...Before submitting
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃