MetaFormer : A Unified Meta Framework for Fine-Grained Recognition

A repository for the code used to create and train the model defined in “MetaFormer : A Unified Meta Framework for Fine-Grained Recognition” arxiv:2203.02751
Image text

Model zoo

Usage

python module

  • install Pytorch and torchvision
pip install torch==1.5.1 torchvision==0.6.1

git clone https://github.com/NVIDIA/apex
cd apex
pip install -v --disable-pip-version-check --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" ./
  • install other requirements
pip install opencv-python==4.5.1.48 yacs==0.1.8

data preparation

Download inat21,18,17,CUB,NABirds,stanfordcars, andaircraft, put them in respective folders (/datasets/) and

 

 

 

To finish reading, please visit source site