Table 1. Difference between ViT and Swin Transformer.
| Feature | ViT | Swin Transformer |
| Self-attention mechanism | Global | Window-based |
| Computational complexity | High | Low |
| Efficiency | Low | High |
| Performance | Good | Better |
| Feature | ViT | Swin Transformer |
| Self-attention mechanism | Global | Window-based |
| Computational complexity | High | Low |
| Efficiency | Low | High |
| Performance | Good | Better |