This is just a quick way to load Swin Transformers from image classification from PyTorch Hub. This repository makes it possible to load Swin Transformers in 1 line of code.
Swin transformer can be found here:
https://github.com/microsoft/Swin-Transformer
import torch
model = torch.hub.load() # not yet ready