All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- 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.
- Renamed and clarify dropout parameters for
ResNet12.
- Improved support for 1D inputs in
l2l.nn.KroneckerLinear. (@timweiland)
- Fix setup.py for windows installs.
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.
- Updated reference for citations.
l2l.vision.datasets.CUBirds200.
- Optimization transforms can be accessed directly through
l2l.optim, e.g.l2l.optim.KroneckerTransform. - All vision models adhere to the
.featuresand.classifierinterface.
- Fix
clone_modulefor Modules whose submodules share parameters.
- 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.
- clone_module supports non-Module objects.
- VGG flowers now relies on tarfile.open() instead of tarfile.TarFile().
- New tutorial: 'Feature Reuse with ANIL'. (@ewinapun)
- Mujoco imports optional for docs: the import error is postponed to first method call.
MAML()andclone_modulesupport for RNN modules.
- Remove Cython dependency when installing from PyPI and clean up package distribution.
- A CHANGELOG.md file.
- New vision datasets: FC100, tiered-Imagenet, FGVCAircraft, VGGFlowers102.
- New vision examples: Reptile & ANIL.
- Extensive benchmarks of all vision examples.
- 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.
- Support for
RandomClassRotationwith newer versions of torchvision. - Various minor fixes in the examples.
- Add Dropbox download if GDrive fails for FC100.