-
Notifications
You must be signed in to change notification settings - Fork 354
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
learn2learn (l2l) data loader for Meta-Dataset: A Dataset of Datasets for Learning to Learn from Few Examples? #286
Comments
Hi @brando90, We already have a few of the datasets of Meta-Dataset in |
if there are issues for the remaining ones that I could help let me know. If it becomes a part of my critical path I'm happy to help. |
Hi @seba-1511 , what would be the next steps to have this working for l2l? |
We're missing MS COCO and ILSVRC. For MS COCO we should provide a class to download the data (like the other datasets) but for ILSVRC it'd be enough to only have the splits. |
why is "for ILSVRC it'd be enough to only have the splits." enough but not getting the data? Thanks for the quick response! |
perhaps this is a good place to start: https://github.com/mboudiaf/pytorch-meta-dataset |
@seba-1511 Hi Seba! trying to figure out how I'd implement a l2l Is all I need the following:
So I only need to implement a normal pytorch data set for meta-dataset (in particular the getting a pair code example of above:
PS: I think would be the same for the IBM data set, just need a data set obj. |
Hello @brando90, Yes, I think this would do it. Note that to get comparable results with published numbers, you might have to implement varying shot numbers, as described in their paper. This can be done with TaskTransforms and should be pretty straight forward. Good luck! |
related: #301 but talks about how t write a dataloader for SL using l2l using the data set object |
@seba-1511 hi seba! Sorry for the random ping. How do you suggest one goes around implementing meta-data set for l2l? Would downloading the data and then following the way you sample data from the files directly like in mini-imagenet a good idea? Or do you have any suggestions? |
I have actually implemented what I believe to be the MetaDataset episode sampling scheme in one of my current projects. It is mainly using l2l to get the datasets, and then using the episode sampler to create episodes. It's a bit rough around the edges, but for the most part gets the job done. If you give me until Friday I can come back with a PR for l2l to integrate that. |
Hi,
I was wondering if there was a l2l dataloader for Meta-Dataset: A Dataset of Datasets for Learning to Learn from Few Examples?
references:
ideally with a l2l model example would be fantastic!
The text was updated successfully, but these errors were encountered: