about
Torchmeta: A Meta-Learning Library for PyTorch (arxiv.org)
1 point by sel1 on Sep 17, 2019 | hide | past | pdf | discuss on HN

In plain words: A toolkit for PyTorch that supplies ready-made data streams for the usual few-shot benchmarks through one shared setup, so swapping datasets needs no code rewrite. It lets you test a meta-learning algorithm across many datasets consistently, instead of rebuilding the data pipeline each time.

Abstract · Torchmeta: A Meta-Learning library for PyTorch

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

Tristan Deleu, Tobias Würfl, Mandana Samiei, Joseph Paul Cohen, Yoshua Bengio
arXiv:1909.06576 · cs.LG, stat.ML · submitted Sep 14, 2019
abstract · pdf · html

add comment on HN