
Vision Transformers ViT for Earth Observation: From Patches to Foundation Models
This tutorial explains how Vision Transformers work and how they are adapted for Earth observation.
Notes
This tutorial explains how Vision Transformers work and how they are adapted for Earth observation. It starts with what convolutions assume, then builds self-attention step by step, including a worked example, and follows a satellite image through every stage of a ViT. From there it covers why ViTs need so much data and the changes satellite imagery requires: more spectral bands, known pixel size, time series, large scenes, and metadata. Later sections cover segmentation and detection with Swin and ViTDet, and self-supervised pretraining with masked autoencoders and DINO. It then compares the real foundation models used in Earth science today: SatMAE, Scale-MAE, Prithvi, Clay, ClimaX, Pangu-Weather, Aurora, and the non-transformer weather models FourCastNet and GraphCast. The video ends with practical code in TorchGeo 0.10.1, fine-tuning options, compute budgeting, how to read attention maps, and a simple guide for choosing between a ViT and a CNN.