learn2learn
learn2learn copied to clipboard
A PyTorch Library for Meta-learning Research
### Description Implementation of a BatchNorm layer with Per-Step Batch Normalisation Running Statistics and Per-Step Batch Normalisation Weights and Biases, as proposed in MAML++ by Antobiou et al. An extension...
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: - https://arxiv.org/abs/1903.03096 - https://github.com/google-research/meta-dataset ideally with...
Does learn2learn support seq2seq models, such as BART, provided by Transformers library?
Hello. First of all, thanks to implement various meta learning codes. I ran code "examples/vision/reptile_miniimagenet.py" without modification. Also, I used default setting. However, I could not get accuracy 65.5% which...
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...
I got this error: ``` Traceback (most recent call last): File "/home/miranda9/miniconda3/envs/meta_learning_a100/lib/python3.9/site-packages/learn2learn/algorithms/maml.py", line 159, in adapt gradients = grad(loss, File "/home/miranda9/miniconda3/envs/meta_learning_a100/lib/python3.9/site-packages/torch/autograd/__init__.py", line 226, in grad return Variable._execution_engine.run_backward( RuntimeError: One of...
Somehow I get the following error: ``` Downloading: /home/miranda9/data/l2l_data/mini-imagenet-cache-test.pkl Traceback (most recent call last): File "/home/miranda9/miniconda3/envs/meta_learning_a100/lib/python3.9/site-packages/learn2learn/vision/datasets/mini_imagenet.py", line 102, in __init__ self.data = pickle.load(f) _pickle.UnpicklingError: invalid load key, '
Hello everyone, thanks for releaing this wonderfull framework! I have been trying to use this framework for a project, however, I could not understand how I could adapt my custom...
As suggested [on Reddit](https://www.reddit.com/r/MachineLearning/comments/fcxl1q/p_pytorch_metalearning_library_learn2learn_v01/fjebc93?utm_source=share&utm_medium=web2x), it would be nice to have more tutorials. A simple idea is to base them on our [existing examples](https://github.com/learnables/learn2learn/tree/master/examples). The tutorial could explain how each implemented...
added the rfs transforms for cifarfs ### Description [Fixes #[ISSUE NUMBER]](https://github.com/learnables/learn2learn/issues/302) Added the data transform according to rfs paper for cifarfs, fc100 original rfs code: https://github.com/WangYueFt/rfs/blob/f8c837ba93c62dd0ac68a2f4019c619aa86b8421/dataset/cifar.py#L26 ### Contribution Checklist If...