learnables / learn2learn

A PyTorch Library for Meta-learning Research
http://learn2learn.net
MIT License
2.61k stars 351 forks source link

is there a data loader for the IBM cross domain challenge? (Cross-Domain Few-Shot Learning (CD-FSL) Benchmark) #285

Open brando90 opened 2 years ago

brando90 commented 2 years ago

Hi,

I was wondering if there was a data loader using l2l ideally for the Cross-Domain Few-Shot Learning (CD-FSL) Benchmark? References:

ideally with an l2l model/example would be great!

seba-1511 commented 2 years ago

Hi @brando90,

We don’t have a plan to add this dataset yet. Would you be interested in contributing it?

brando90 commented 2 years ago

Hi @brando90,

We don’t have a plan to add this dataset yet. Would you be interested in contributing it?

it's not in my critical path at the moment, but I think in a few months it will be. I would be more than happy to contribute it once I have it ready.

brando90 commented 2 years ago

the best way to test the implementation would be to build a testloader for it. Right?

e.g. this line

    tasksets = l2l.vision.benchmarks.get_tasksets('mini-imagenet',
                                                  train_samples=2*shots,
                                                  train_ways=ways,
                                                  test_samples=2*shots,
                                                  test_ways=ways,
                                                  root='~/data',
    )

https://github.com/learnables/learn2learn/blob/10361cea4c574710d02fc5a04a345a8391b97083/examples/vision/maml_miniimagenet.py#L75