Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

swin_transformer.rst 1.0 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
  1. SwinTransformer
  2. ===============
  3. .. currentmodule:: torchvision.models
  4. The SwinTransformer models are based on the `Swin Transformer: Hierarchical Vision
  5. Transformer using Shifted Windows <https://arxiv.org/abs/2103.14030>`__
  6. paper.
  7. SwinTransformer V2 models are based on the `Swin Transformer V2: Scaling Up Capacity
  8. and Resolution <https://openaccess.thecvf.com/content/CVPR2022/papers/Liu_Swin_Transformer_V2_Scaling_Up_Capacity_and_Resolution_CVPR_2022_paper.pdf>`__
  9. paper.
  10. Model builders
  11. --------------
  12. The following model builders can be used to instantiate an SwinTransformer model (original and V2) with and without pre-trained weights.
  13. All the model builders internally rely on the ``torchvision.models.swin_transformer.SwinTransformer``
  14. base class. Please refer to the `source code
  15. <https://github.com/pytorch/vision/blob/main/torchvision/models/swin_transformer.py>`_ for
  16. more details about this class.
  17. .. autosummary::
  18. :toctree: generated/
  19. :template: function.rst
  20. swin_t
  21. swin_s
  22. swin_b
  23. swin_v2_t
  24. swin_v2_s
  25. swin_v2_b
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...