Paper: https://openreview.net/forum?id=JWOiYxMG92s
To show that the results from the paper is reproducible, we re-implemented the algorithm mentioned in the paper. The authors' code for creating the dataset and few shot learning task are kept here to ensure we use the same data for comparison. Implementing the distribution calibration algorithm using PyTorch improves the efficiency of the algorithm.
- Download extracted features from this link: https://drive.google.com/drive/folders/1IjqOYLRH0OwkMZo8Tp4EG02ltDppi61n?usp=sharing
- Create an empty folder 'cache'
- Create an empty folder 'checkpoints'
- Put the downloaded files under the folder './checkpoints/[miniImagenet/CUB]/WideResNet28_10_S2M2_R/last/'.
- Run
python evaluate_DC.py
@inproceedings{
yang2021free,
title={Free Lunch for Few-shot Learning: Distribution Calibration},
author={Yang, Shuo and Liu, Lu and Xu, Min},
booktitle={International Conference on Learning Representations (ICLR)},
year={2021},
}