An independent implementation of Swin Transformer V2 released prior to the official code release. A collaboration between Christoph Reich and Ross Wightman, the model differs from official impl in a few ways:
MLP log relative position bias uses unnormalized natural log w/o scaling vs normalized, sigmoid clamped and scaled log2.
option to apply LayerNorm at end of every stage ("ns" variants).
defaults to NCHW tensor layout at output of each stage and final features.
@inproceedings{liu2021swinv2,
title={Swin Transformer V2: Scaling Up Capacity and Resolution},
author={Ze Liu and Han Hu and Yutong Lin and Zhuliang Yao and Zhenda Xie and Yixuan Wei and Jia Ning and Yue Cao and Zheng Zhang and Li Dong and Furu Wei and Baining Guo},
booktitle={International Conference on Computer Vision and Pattern Recognition (CVPR)},
year={2022}
}
@misc{rw2019timm,
author = {Ross Wightman},
title = {PyTorch Image Models},
year = {2019},
publisher = {GitHub},
journal = {GitHub repository},
doi = {10.5281/zenodo.4414861},
howpublished = {\url{https://github.com/huggingface/pytorch-image-models}}
}
Files
5 files · 227 MBWeights 113 MB (safetensors). Sizes and sha256 from the signed manifest.