知乎专栏 |
https://github.com/microsoft/Swin-Transformer https://github.com/ChristophReich1996/Swin-Transformer-V2 https://github.com/SwinTransformer/Swin-Transformer-Object-Detection
https://pytorch.org/vision/master/models/swin_transformer.html
from torchvision.models.swin_transformer import swin_b, Swin_B_Weights model = swin_b(weights=Swin_B_Weights.DEFAULT)