Torchmeta: A Meta-Learning library for PyTorch

Tristan Deleu, Tobias Würfl, Mandana Samiei, Joseph Paul Cohen, Yoshua Bengio
9/14/2019
cs.LGstat.ML

Official code: tristandeleu/pytorch-meta (2,058 stars, MIT, PyTorch, last commit 2023-07-17).

Abstract

The constant introduction of standardized benchmarks in the literature has helped accelerating the recent advances in meta-learning research. They offer a way to get a fair comparison between different algorithms, and the wide range of datasets available allows full control over the complexity of this evaluation. However, for a large majority of code available online, the data pipeline is often specific to one dataset, and testing on another dataset requires significant rework. We introduce Torchmeta, a library built on top of PyTorch that enables seamless and consistent evaluation of meta-learning algorithms on multiple datasets, by providing data-loaders for most of the standard benchmarks in few-shot classification and regression, with a new meta-dataset abstraction. It also features some extensions for PyTorch to simplify the development of models compatible with meta-learning algorithms. The code is available here: https://github.com/tristandeleu/pytorch-meta

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

A collection of extensions and data-loaders for few-shot learning & meta-learning in PyTorch

2,058264PythonDec 4, 20183 years agoMIT
few-shot-learningmeta-learningpytorch

Similar Papers

Cite this paper

@article{deleu2019torchmeta,
  title  = {Torchmeta: A Meta-Learning library for PyTorch},
  author = {Tristan Deleu and Tobias Würfl and Mandana Samiei and Joseph Paul Cohen and Yoshua Bengio},
  year   = {2019},
  eprint = {1909.06576},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1909.06576}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1909.06576.svg)](https://codeofpaper.com/paper/1909.06576)

Discussion