mmpretrain/mmcls
Ma Zerun c708770b42
[Enhance] Support dynamic input shape for ViT-based algorithms. (#706)
* Move `resize_pos_embed` to `mmcls.models.utils`

* Refactor Vision Transformer

* Refactor DeiT

* Refactor MLP-Mixer

* Refactor Swin-Transformer

* Remove `indexing` arg

* Support dynamic inputs for t2t_vit

* Add copyright

* Fix bugs in swin transformer

* Add `pad_small_maps` option

* Update swin transformer

* Handle `attn_mask` in checkpoints of swin

* Imporve by comments
2022-03-03 13:10:12 +08:00
..
apis [Enhance] Upgrade isort pre-commit hooks. (#687) 2022-02-17 02:17:20 +08:00
core [CI] Add Windows CI. (#708) 2022-02-28 10:06:08 +08:00
datasets [Feature] Add `evaluate` function for ConcatDataset. (#650) 2022-02-28 12:46:17 +08:00
models [Enhance] Support dynamic input shape for ViT-based algorithms. (#706) 2022-03-03 13:10:12 +08:00
utils [Enhance] Add setup multi-processing both in train and test. (#671) 2022-01-27 10:18:36 +08:00
__init__.py Bump version to v0.20.1 (#685) 2022-02-07 11:46:50 +08:00
version.py Bump version to v0.20.1 (#685) 2022-02-07 11:46:50 +08:00