Recent Releases of learn2learn
learn2learn - MetaModules, TasksetSampler, Adapters & LoRA, more examples and tutorials + removed dependency.
Like 0.2.0 but with qpth made optional.
- Python
Published by seba-1511 over 2 years ago
learn2learn - MetaModules, TasksetSampler, Adapters & LoRA, more examples and tutorials
Added
- New vision example: MAML++. (@Theo Morales)
- Add tutorial: "Demystifying Task Transforms", (Varad Pimpalkhute)
- Add
l2l.nn.MetaModuleandl2l.nn.ParameterTransformfor parameter-efficient finetuning. - Add
l2l.nn.freezeandl2l.nn.unfreeze. - Add Adapters and LoRA examples.
- Add TasksetSampler, compatible with PyTorch's Dataloaders.
Changed
- Documentation: uses
mkdocstringsinstead ofpydoc-markdown. - Remove
text/news_topic_classification.pyexample. - Rename TaskDataset to Taskset.
Fixed
- MAML Toy example. (@Theo Morales)
- Example for
detach_module. (Nimish Sanghi) - Loading duplicate FGVC Aircraft images.
- Move vision datasets to Zenodo. (mini-ImageNet, tiered-ImageNet, FC100, CIFAR-FS, CUB200)
- mini-ImageNet targets are now ints (not np.float64).
- Swap family for variants in FGVCAircraft, as in MetaDataset.
- Python
Published by seba-1511 over 2 years ago
learn2learn - Aircraft, CUB200 bounding boxes, pretrained_backbones, RandomClassRotation, fixed memory_leak.
v0.1.7
Added
- Bounding box cropping for Aircraft and CUB200.
- Pretrained weights for vision models with:
l2l.vision.models.get_pretrained_backbone(). - Add
keep_requires_gradflag todetach_module. (Zhaofeng Wu)
Fixed
- Fix arguments when instantiating
l2l.nn.Scale. - Fix
train_losslogging inLightningModuleimplementations with PyTorch-Lightning 1.5. - Fix
RandomClassRotation(https://github.com/learnables/learn2learn/pull/283) to incorporate multi-channelled inputs. (Varad Pimpalkhute) - Fix memory leak in
maml.pyandmeta-sgd.pyand add tests tomaml_test.pyandmetasgd_test.pyto check for possible future memory leaks. (https://github.com/learnables/learn2learn/issues/284) (Kevin Zhang)
- Python
Published by seba-1511 about 4 years ago
learn2learn - Add Lightning interface, Backbone classes, new classifiers, and data utils.
v0.1.6
Added
- PyTorch Lightning interface to MAML, ANIL, ProtoNet, MetaOptNet.
- Automatic batcher for Lightning:
l2l.data.EpisodicBatcher. l2l.nn.PrototypicalClassifierandl2l.nn.SVMClassifier.- Add
l2l.vision.models.WRN28. - Separate modules for
CNN4Backbone,ResNet12Backbone,WRN28Backbonesw/ pretrained weights. - Add
l2l.data.OnDeviceDatasetand implementdeviceparameter for benchmarks. - (Beta) Add
l2l.data.partition_taskandl2l.data.InfiniteIterator.
Changed
- Renamed and clarify dropout parameters for
ResNet12.
Fixed
- Improved support for 1D inputs in
l2l.nn.KroneckerLinear. (@timweiland)
- Python
Published by seba-1511 over 4 years ago
learn2learn - Fix windows installation.
v0.1.5
Fixed
- Fix setup.py for windows installs.
- Python
Published by seba-1511 about 5 years ago
learn2learn - Add new datasets, new models, and dataset utilities.
v0.1.4
Added
FilteredMetaDatasestfilter the classes used to sample tasks.UnionMetaDatasestto get the union of multiple MetaDatasets.- Alias
MiniImageNetCNNtoCNN4and addembedding_sizeargument. - Optional data augmentation schemes for vision benchmarks.
l2l.vision.models.ResNet12l2l.vision.datasets.DescribableTexturesl2l.vision.datasets.Quickdrawl2l.vision.datasets.FGVCFungi- Add
labels_to_indicesandindices_to_labelsas optional arguments tol2l.data.MetaDataset.
Changed
- Updated reference for citations.
- Python
Published by seba-1511 over 5 years ago
learn2learn - Add CUBirds200, new vision model interface, fix clone_module for shared parameters
Added
l2l.vision.datasets.CUBirds200.
Changed
- Optimization transforms can be accessed directly through
l2l.optim, e.g.l2l.optim.KroneckerTransform. - All vision models adhere to the
.featuresand.classifierinterface.
Fixed
- Fix
clone_modulefor Modules whose submodules share parameters.
- Python
Published by seba-1511 over 5 years ago
learn2learn - Add Meta-World, l2l.optim, l2l.vision.benchmarks.
Added
- New example: Meta-World example with MAML-TRPO with it's own env wrapper. (@Kostis-S-Z)
l2l.vision.benchmarksinterface.- Differentiable optimization utilities in
l2l.optim. (includingl2l.optim.LearnableOptimizerfor meta-descent) - General gradient-based meta-learning wrapper in
l2l.algorithms.GBML. - Various
nn.Modulesinl2l.nn. l2l.update_moduleas a more general alternative tol2l.algorithms.maml_update.
Fixed
- clone_module supports non-Module objects.
- VGG flowers now relies on tarfile.open() instead of tarfile.TarFile().
- Python
Published by seba-1511 over 5 years ago
learn2learn - Fix clone_module and MAML for RNN modules
- Python
Published by seba-1511 almost 6 years ago
learn2learn - Clean up package for PyPI distribution
- Python
Published by seba-1511 almost 6 years ago
learn2learn - Faster TaskDataset, new vision datasets & examples
v0.1.0
Added
- A CHANGELOG.md file.
- New vision datasets: FC100, tiered-Imagenet, FGVCAircraft, VGGFlowers102.
- New vision examples: Reptile & ANIL.
- Extensive benchmarks of all vision examples.
Changed
- Re-wrote TaskDataset and task transforms in Cython, for a 20x speed-up.
- Travis testing with different versions of Python (3.6, 3.7), torch (1.1, 1.2, 1.3, 1.4), and torchvision (0.3, 0.4, 0.5).
- New Material doc theme with links to changelog and examples.
Fixed
- Support for
RandomClassRotationwith newer versions of torchvision. - Various minor fixes in the examples.
- Add Dropbox download if GDrive fails for FC100.
- Python
Published by seba-1511 almost 6 years ago