Skip to content

buaali/MAN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MAN

implement of paper:Multi-pretext Attention Network for Few-shot Learning with Self-supervision in Pytorch

Installation

conda version:4.6.14
python:3.7.4
pytorch:1.3.0
cuda:10.2
pip install -e .

Dataset

MiniImagenet

To download the MiniImagenet dataset go to https://github.com/gidariss/FewShotWithoutForgetting and follow the instructions there. Then, set in man/datasets/mini_imagenet.py the path to where the dataset resides in your machine.

Train

sh run_miniImageNet/WRN-train.sh

Test

sh run_miniImageNet/WRN-test.sh

Citations

@article{li2021multi,
  title={Multi-Pretext Attention Network for Few-shot Learning with Self-supervision},
  author={Li, Hainan and Tao, Renshuai and Li, Jun and Qin, Haotong and Ding, Yifu and Wang, Shuo and Liu, Xianglong},
  journal={arXiv preprint arXiv:2103.05985},
  year={2021}
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published