Advancing Earth Observation Through Machine Learning: A TorchGeo Tutorial

Caleb Robinson, Nils Lehmann, Adam J. Stewart, Burak Ekim, Heng Fang +2 more
3/2/2026
cs.CV

No confident code implementation found for this paper.

Abstract

Earth observation machine learning pipelines differ fundamentally from standard computer vision workflows. Imagery is typically delivered as large, georeferenced scenes, labels may be raster masks or vector geometries in distinct coordinate reference systems, and both training and evaluation often require spatially aware sampling and splitting strategies. TorchGeo is a PyTorch-based domain library that provides datasets, samplers, transforms and pre-trained models with the goal of making it easy to use geospatial data in machine learning pipelines. In this paper, we introduce a tutorial that demonstrates 1.) the core TorchGeo abstractions through code examples, and 2.) an end-to-end case study on multispectral water segmentation from Sentinel-2 imagery using the Earth Surface Water dataset. This demonstrates how to train a semantic segmentation model using TorchGeo datasets, apply the model to a Sentinel-2 scene over Rio de Janeiro, Brazil, and save the resulting predictions as a GeoTIFF for further geospatial analysis. The tutorial code itself is distributed as two Python notebooks: https://torchgeo.readthedocs.io/en/stable/tutorials/torchgeo.html and https://torchgeo.readthedocs.io/en/stable/tutorials/earth_surface_water.html.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{robinson2026advancing,
  title  = {Advancing Earth Observation Through Machine Learning: A TorchGeo Tutorial},
  author = {Caleb Robinson and Nils Lehmann and Adam J. Stewart and Burak Ekim and Heng Fang and Isaac A. Corley and Mauricio Cordeiro},
  year   = {2026},
  eprint = {2603.02386},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.02386v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.02386.svg)](https://codeofpaper.com/paper/2603.02386)

Discussion