This repository contains code for the paper named Free Lunch to Meet the Gap: Intermediate Domain Reconstruction for Cross-Domain Few-Shot Learning.
Clone this repository and install packages.
Python 3.8
PyTorch 1.7.1 or higher
torchvision 0.8.2 or higher
numpyPlease download our checkpoints from Google Drive and put it in ./results/.
python meta_test.py --config configs/test.yamlpython train.py --config configs/train.yaml
python meta_train.py --config configs/meta_train.yamlIf you have any questions about our work, please contact us by email.
Tong Zhang: [email protected]
Our code is build upon Hawkeye and FRN, thanks to all the contributors!
@article{tong2025free,
title={Free Lunch to Meet the Gap: Intermediate Domain Reconstruction for Cross-Domain Few-Shot Learning},
author={Tong Zhang and Yifan Zhao and Liangyu Wang sand Jia Li},
journal={arXiv preprint arXiv:},
year={2025}
}