-
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
Feature - ArrayDataset
#872
Feature - ArrayDataset
#872
Conversation
Hey 👋🏻 Sorry, I think someone needs to approve the workflows again. I have resolved @otaj's comments. Thanks 😃 |
Thanks, @otaj!
What would you recommend? |
Yeah, I sadly know about it, |
There were two issues. I have had to add Are you happy to use |
What does this PR do?
Part of #839
pl_bolts.datamodules.sklearn_datamodule.TensorDataset
Summary
TensorDataset
withArrayDataset
. (breaking change ❗ )ArrayDataset
todatasets
module.The
ArrayDataset
allows you to input any number ofARRAYS
along with callable transforms using theDataModel
. TheArrayDataset
allows for the following types:This eliminates the need for the
TensorDataset
.Transforms are called during each
__getitem__
. @otaj and I have discussed the potential inefficiencies of this. However, we have decided to stay consistent with the rest ofbolts
andvision
. Happily open to having that discussion again, though!Also, after discussing with @otaj, we thought it would be best to separate #846.
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?
Of course 🥳