learn2learn icon indicating copy to clipboard operation
learn2learn copied to clipboard

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

Open brando90 opened this issue 4 years ago • 3 comments

Hi,

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

  • https://github.com/IBM/cdfsl-benchmark
  • https://arxiv.org/pdf/1912.07200.pdf

ideally with an l2l model/example would be great!

brando90 avatar Nov 18 '21 16:11 brando90

Hi @brando90,

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

seba-1511 avatar Nov 20 '21 20:11 seba-1511

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 avatar Nov 21 '21 13:11 brando90

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

brando90 avatar Mar 01 '22 02:03 brando90