mmseghistoric
21 models for historical aerial photo segmentation
2 min readupdated
A set of 21 inference-ready checkpoints from researchers Mustafa Dihkan, Samed Ozdemir, and colleagues (accompanying an article in the International Journal of Remote Sensing, 2026) built on the OpenMMLab MMSegmentation framework. The models tackle semantic segmentation (pixel-level object classification on maps) for black-and-white historical aerial photographs from the 1960s. Unlike standard models for modern satellite imagery, these weights are trained specifically on panchromatic archival frames and span 7 architectures—ranging from classic convolutional networks to vision transformers. The tool is useful for remote sensing specialists, cartographers, historians, and geodata researchers.
Key features
- Seven different architectures: CNN family (PSPNet, DeepLabv3+, HRNet, ConvNeXt) and transformers (ViT, SwinT, BEiT).
- Three levels of class detail: 2 classes (ground and above-ground objects), 3 classes (ground, vegetation, buildings), and 5 classes (buildings, vegetation, agricultural land, roads, ground).
- Lightweight weights: optimizer states and training buffers have been removed from the files, reducing checkpoint sizes by roughly 65% without losing FP32 weight accuracy.
- Full compatibility with MMSegmentation v1.2.2 and safe loading via
torch.load(..., weights_only=True).
What you can do
- Automatically detect buildings, roads, vegetation, and agricultural land in archival aerial photos when creating historical maps.
- Compare the accuracy of CNNs and transformers (e.g., ConvNeXt-L versus Swin-L) on panchromatic images with varying class granularity.
- Use the pre-trained weights as a starting point for fine-tuning on your own archival collections using standard MMSegmentation scripts.
Example
from huggingface_hub import hf_hub_download
ckpt_path = hf_hub_download(
repo_id="samedozdemir/mmseghistoric",
filename="cnn/convnext/upernet_convnext-large_amp-20k_historic-256x256_5class.pth",
)
Read more
DetailsTop mIoU metrics: 0.921 on 2 classes (Swin-L), 0.831 on 3 classes (ConvNeXt-L), and 0.682 on 5 classes (ConvNeXt-L).
Training: 20,000 iterations on 256×256 pixel tiles at a 2 m/pixel resolution (1960 aerial photos of Turkey), evaluated with test-time augmentation (TTA).
Configs and inference code are published in the author's separate GitHub repository under the Apache-2.0 license.










Comments