Satellite dataset built to break urban-rural assumptions
A land-cover dataset built to stress-test whether segmentation models trained on cities survive the countryside.

What it does
LoveDA provides 5,987 high-resolution satellite images from three Chinese cities and their surrounding rural areas, annotated for seven-class land-cover segmentation. It is designed to benchmark both standard semantic segmentation and unsupervised domain adaptation. The underlying challenge is simple: models trained on dense urban environments often fall apart when confronted with rural landscapes, and this dataset measures exactly how much.
The interesting bit
Rather than treating geography as noise, LoveDA makes the urban-rural shift the central adversary. The authors highlight three specific headaches—inconsistent class distributions, complex backgrounds, and multi-scale objects—that turn the city-to-country gap into a legitimate machine-learning problem rather than just a data-collection inconvenience.
Key highlights
- 5,987 images at 0.3 m resolution from Nanjing, Changzhou, and Wuhan
- Seven classes: background, building, road, water, barren, forest, and agriculture
- Packaged for both semantic segmentation and unsupervised domain adaptation benchmarks
- Integrated into TorchGeo and MMSegmentation
- Active Codabench leaderboards for both task tracks
Caveats
- Academic-only license; commercial use is explicitly prohibited
- The authors have since released EarthVL (global scale) and EarthVQA (new version), so researchers may want to evaluate whether those better fit modern needs
Verdict
Grab it if you need a rigorous benchmark for geographic domain adaptation or urban-rural segmentation robustness. Look elsewhere if you need commercial licensing or a single-domain dataset with cleaner class balance.
Frequently asked
- What is Junjue-Wang/LoveDA?
- A land-cover dataset built to stress-test whether segmentation models trained on cities survive the countryside.
- Is LoveDA open source?
- Yes — Junjue-Wang/LoveDA is an open-source project tracked on heatdrop.
- What language is LoveDA written in?
- Junjue-Wang/LoveDA is primarily written in Python.
- How popular is LoveDA?
- Junjue-Wang/LoveDA has 563 stars on GitHub.
- Where can I find LoveDA?
- Junjue-Wang/LoveDA is on GitHub at https://github.com/Junjue-Wang/LoveDA.