conda create -n SCT python=3.8
conda activate SCT
pip install -r requirements.txt
-
Images
Please refer to VTAB-source to download the datasets.
-
Images
Please refer to DATASETS.md to download the datasets.
-
Train/Val/Test splits
Please refer to the files under
data/XXX/XXX/annotations
for the detail information.
We use the VTAB experiments as an example.
Model | Link |
---|---|
ViT-B/16 | link |
ViT-L/16 | link |
ViT-H/14 | link |
Swin-B | link |
mkdir released_models
wget https://storage.googleapis.com/vit_models/imagenet21k/ViT-B_16.npz
wget https://github.com/SwinTransformer/storage/releases/download/v1.0.0/swin_base_patch4_window7_224_22k.pth
sh run_model_sct.sh
@article{zhao2023sct,
title={SCT: A Simple Baseline for Parameter-Efficient Fine-Tuning via Salient Channels},
author={Zhao, Henry Hengyuan and Wang, Pichao and Zhao, Yuyang and Luo, Hao and Wang, Fan and Shou, Mike Zheng},
journal={International Journal of Computer Vision},
pages={1--19},
year={2023},
publisher={Springer}
}
Part of the code is borrowed from timm.