Make few-shot learning easy.
LibFewShot: A Comprehensive Library for Few-shot Learning.
Wenbin Li, Chuanqi Dong, Pinzhuo Tian, Tiexin Qin, Xuesong Yang, Ziyi Wang, Jing Huo, Yinghuan Shi, Lei Wang, Yang Gao, Jiebo Luo. In arXiv 2021.
- MAML (ICML 2017)
- Versa (NeurIPS 2018)
- R2D2 (ICLR 2019)
- LEO (ICLR 2019)
- MTL (CVPR 2019)
- ANIL (ICLR 2020)
- ProtoNet (NeurIPS 2017)
- RelationNet (CVPR 2018)
- ConvaMNet (AAAI 2019)
- DN4 (CVPR 2019)
- CAN (NeurIPS 2019)
- ATL-Net (IJCAI 2020)
- ADM (IJCAI 2020)
- FEAT (CVPR 2020)
Please refer to install.md(安装) for installation.
Complete tutorials can be found at document(中文文档).
We provide some validated configs in reproduce, please refer to ./config/reproduce/<Method_Name>/README.md
for further infomations. The meanings of the symbols are as follows:
📖 The accuracies reproted by the papers.
💻 The accuracies reproted by ourselves.
⬇️ Hyperlinks to download the checkpoints folder. (Containing
config.yaml
,model_best.pth
and thetrain/test log
)📋 Hyperlinks to the config file.
You can also find these checkpoints at model_zoo.
Caltech-UCSD Birds-200-2011, Standford Cars, Standford Dogs, miniImageNet and tieredImageNet are available at Google Drive and 百度网盘(提取码:yr1w).
Please feel free to contribute any kind of functions or enhancements, where the coding style follows PEP 8. Please kindly refer to contributing.md(贡献代码) for the contributing guidelines.
This project is licensed under the MIT License. See LICENSE for more details.
LibFewShot is an open source project designed to help few-shot learning researchers quickly understand the classic methods and code structures. We welcome other contributors to use this framework to implement their own or other impressive methods and add them to LibFewShot. This library can only be used for academic research. We welcome any feedback during using LibFewShot and will try our best to continually improve the library.
If you use this code for your research, please cite our paper.
@article{li2021LibFewShot,
title={LibFewShot: A Comprehensive Library for Few-shot Learning},
author={Li, Wenbin and Dong, Chuanqi and Tian, Pinzhuo and Qin, Tiexin and Yang, Xuesong and Wang, Ziyi and Huo Jing and Shi, Yinghuan and Wang, Lei and Gao, Yang and Luo, Jiebo},
journal={arXiv preprint arXiv:2109.04898},
year={2021}
}