/ Модель

Характеристики

Лицензия
Apache 2.0
Архитектура
kao-terramind · dense
Базовая модель
TerraMind-1.0-base
Библиотека
terratorch
Опубликована
14 ноя 2026

KAO-TerraMind-C-OpenEarthMap

Сегментация изображенийИзображение → mask
175скачиваний за 30 дней0лайковвеса обновлены14 ноя 2026

Описание модели

Составлено на русском по карточке модели и метаданным Hugging Face

Модель на базе TerraMind-1.0-base для сегментации аэроснимков и спутниковых RGB-изображений по восьми классам земного покрова.

KAO-TerraMind-C-OpenEarthMap — модель семантической сегментации аэроснимков и спутниковых RGB-изображений, разработанная как вариант семейства KAO-TerraMind. Она дообучена на TerraMind-1.0-base с декодером UperNet: число каналов декодера увеличено до 512, используются более глубокие признаки энкодера и dropout 0,2. Модель предназначена для разметки земного покрова на восемь классов: открытые земли, пастбища, застроенные территории, дороги, деревья, воду, сельскохозяйственные земли и здания.

По результатам оценки на OpenEarthMap модель достигла mIoU 62,96. Она принимает RGB-изображения высокого разрешения и выдаёт карту классов. Чекпойнт рассчитан на воспроизведение эксперимента и применение с TerraTorch; перенос на другие сенсоры, разрешения, регионы и схемы классификации не проверен. Различия с базовой моделью получены в одном запуске, поэтому небольшие улучшения не следует считать устойчивыми. Лицензия весов — Apache-2.0; датасет OpenEarthMap имеет отдельные условия CC BY-NC-SA 4.0 и предназначен для некоммерческих исследований.

Сценарии применения

  • Классификация типов земного покрова на аэроснимках
  • Выделение дорог, зданий и застроенных территорий на спутниковых снимках
  • Картирование растительности, сельскохозяйственных земель и открытых участков
  • Выделение водоёмов на снимках высокого разрешения

Ограничения

Обучение и оценка проведены только на OpenEarthMap с его восьмиклассовой схемой; перенос на другие сенсоры, разрешения, регионы и схемы разметки не проверен. Результаты основаны на одном запуске без доверительных интервалов, а модель не валидирована для критически важных решений.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

🛰️ KAO-TerraMind-C · OpenEarthMap

Targeted Adaptation of Geospatial Foundation Models for Dense Prediction

CVPR Dataset Variant Base License

🌍 General geospatial foundation model → 🎯 one controlled change → 🗺️ OpenEarthMap land-cover segmentation


⚡ TL;DR

🧪
What is this?KAO-TerraMind-C-OpenEarthMap is TerraMind-1.0-base fine-tuned on OpenEarthMap with variant C: decoder - wider UperNet, deeper-biased feature taps, more dropout.
Task8-class semantic segmentation · aerial / satellite RGB, 0.25 - 0.5 m
Test mIoU62.96 (+0.84 pp vs. the identically trained TerraMind-1.0-base, rank 2 / 7)
Overall accuracy77.04 %
Cost119.97 M parameters · 18.75 ms / 224 x 224 tile (T4, fp16, batch 1)
Purpose🔬 Public, fully-specified checkpoint for reproducing the CVPR 2027 submission

🧾 Training code is intentionally not included while the paper is under review. This repository ships the inference-only helper, the exact architecture / recipe config, and the full benchmark results.


🛰️ Model Card

PropertyValue
🏷️ ModelKAO-TerraMind-C-OpenEarthMap
🧠 BackboneTerraMind-1.0-base (terramind_v1_base), initialised from ibm-esa-geospatial/TerraMind-1.0-base
🧩 DecoderUperNet (TerraTorch EncoderDecoderFactory)
🎞️ Input modalityRGB patch embedding · 3 x 224 x 224 · aerial / satellite RGB (R, G, B), 8-bit
🎯 Outputper-pixel logits over 8 classes
📐 Parameters119.97 M
🧪 VariantC - Decoder: wider UperNet, deeper-biased feature taps, more dropout
🗂️ DatasetOpenEarthMap - Global aerial / satellite RGB, 0.25 - 0.5 m GSD, 1000 x 1000 px tiles
📦 Checkpoint fileterramind_v1_kaoC_best.pt
🔧 LibraryTerraTorch >=1.2.4

🧪 The KAO-C Recipe

KAO-TerraMind is a family of three controlled, single-factor adaptations of TerraMind-1.0-base. Everything else (data, seed, epochs, batch size, sampler, schedule, metrics) is identical to the baselines, so every difference can be attributed to one change.

                  TerraMind-1.0-base  (identical training recipe)
                           │
        ┌──────────────────┼──────────────────┐
        ▼                  ▼                  ▼
  🔥 KAO-A            🎯 KAO-B           🧩 KAO-C
  Optimisation          Loss              Decoder
  backbone LR ↑      Dice weight ↑      wider UperNet
  weight decay ↑                        deeper taps

This repository = 🧩 KAO-C (Decoder) - widens the UperNet decoder and taps deeper encoder layers (more capacity, ~22 M extra parameters).

SettingTerraMind-1.0-base (reference)KAO-C
Decoder channels256512
Head dropout0.10.2
Encoder feature taps[2, 5, 8, 11][3, 6, 9, 11]
Hyper-parameterValue
OptimiserAdamW (backbone LR = base LR x multiplier, decoder LR = 1e-4)
Base learning rate / backbone multiplier1e-4 / 0.1 (variant A: 0.3)
Weight decay0.01 (variant A: 0.05)
Lossclass-weighted cross-entropy (sqrt-inverse-frequency weights) + Dice (weight 0.5; variant B: 1.0)
Epochs / early-stopping patience30 / 8 (checkpoint chosen on validation mIoU)
Batch size16 (same for every model)
Samplerclass-balanced, 6,000 windows per epoch
Window size / train stride224 x 224 / 112 px
Augmentationrandom horizontal + vertical flips and 90° rotations
Precision / grad-clipfp16 autocast / 1.0
NormalisationTerraMind RGB pre-training statistics (0-255 scale)
Seed42
Hardware1 x NVIDIA Tesla T4

🗂️ Dataset & Evaluation Protocol

OpenEarthMap - Global aerial / satellite RGB, 0.25 - 0.5 m GSD, 1000 x 1000 px tiles.

🎨 Classes

IDClassMap colour
0🟫Bareland#800000
1🌿Rangeland#00ff24
2🏘️Developed space#949494
3🛣️Road#ffffff
4🌳Tree#226126
5💧Water#0045ff
6🌾Agriculture land#4bb549
7🏢Building#de1f07

🧭 Protocol

  • Test = the official OpenEarthMap validation tiles (images/val, labels/val), because the official test labels are not public.
  • Train = images/train minus 10 % of the tiles (fixed seed) used only for checkpoint selection and early stopping. Test tiles are never used for any decision.
  • 224 x 224 windows at native resolution; validation / test use a non-overlapping grid with zero-padded borders (padded and unlabelled pixels are ignored).

All metrics are averaged over the 8 classes (unlabelled pixels are ignored).

Split224 x 224 windows
Train140,391
Validation5,082 (up to 1,500 sampled per epoch for model selection)
Test12,564
  • ⚠️ Tiles of the same city appear in both train and val/test (this is how OpenEarthMap is split), so the held-out validation tiles are a slightly optimistic proxy for test; the test split itself is untouched.

📜 OpenEarthMap is released for non-commercial research (CC BY-NC-SA 4.0). Please check the dataset terms before using these weights beyond research.


📊 Benchmark on OpenEarthMap (test split)

All seven models are fine-tuned with the same recipe, seed and data, and evaluated on the same test windows. Best value per column in bold.

ModelOAmIoUF1Prec.Rec.mAPParams (M)Latency (ms)
KAO-TerraMind-A76.2761.5875.4375.1075.8881.7497.6015.06
KAO-TerraMind-B76.5862.1375.8375.7576.0181.7197.6015.14
KAO-TerraMind-C ⬅ this repo77.0462.9676.5176.1577.0182.59119.9718.75
TerraMind-1.0-tiny71.3655.3470.4469.3071.8977.0112.8714.31
TerraMind-1.0-small73.4457.6072.3371.5373.3378.1230.1915.55
TerraMind-1.0-base76.5762.1275.8275.4876.3081.6297.6015.90
TerraMind-1.0-large77.4763.3976.8076.5177.2682.87317.8624.55

Latency: mean over 100 runs, batch 1, 224 x 224, fp16 autocast, NVIDIA Tesla T4. All metrics are averaged over the 8 classes (unlabelled pixels are ignored).

🔬 Key observations

  • 🧩 KAO-C reaches 62.96 mIoU, i.e. +0.84 pp relative to the identically trained TerraMind-1.0-base (62.12).
  • 🥇 It is the best of the three KAO variants on OpenEarthMap (mIoU).
  • 🏋️ TerraMind-1.0-large (317.9 M params, 24.6 ms) is 0.43 pp higher in mIoU; KAO-C uses 2.6x fewer parameters and has lower latency.
  • 🔬 Per-class F1 vs. TerraMind-1.0-base: largest gain Bareland (+2.58); smallest change Rangeland (+0.02).

🧪 Single-factor ablation (all KAO variants)

ModelChanged factorOverridesmIoUΔ mIoU vs. base (pp)
TerraMind-1.0-base- (reference)-62.12+0.00
KAO-TerraMind-Aoptimisation: stronger backbone adaptationbackbone_lr_mult=0.3, weight_decay=0.0561.58-0.54
KAO-TerraMind-Bloss: stronger overlap (Dice) term for small / rare classes (e.g. car)dice_weight=1.062.13+0.01
KAO-TerraMind-C ⬅decoder: wider UperNet, deeper-biased feature taps, more dropoutdecoder_channels=512, head_dropout=0.2, indices=[3, 6, 9, 11]62.96+0.84
ClassKAO-AKAO-BKAO-CTM-TinyTM-SmallTM-BaseTM-Large
🟫 Bareland57.8857.8360.6854.6254.8058.1059.54
🌿 Rangeland68.9870.3170.2864.4967.3270.2670.39
🏘️ Developed space66.2866.2566.4359.1062.3665.8067.40
🛣️ Road71.9272.1272.7563.9267.6272.0873.79
🌳 Tree81.3081.0381.7378.3779.4281.1382.03
💧 Water87.4488.7589.1882.4583.2488.5689.54
🌾 Agriculture land83.3984.1484.4180.1080.8784.3384.52
🏢 Building86.2786.1886.6480.4382.9786.2887.20
ClassKAO-AKAO-BKAO-CTM-TinyTM-SmallTM-BaseTM-Large
🟫 Bareland40.7340.6843.5637.5737.7440.9542.39
🌿 Rangeland52.6554.2154.1847.5950.7454.1554.31
🏘️ Developed space49.5749.5349.7441.9545.3149.0350.83
🛣️ Road56.1556.4057.1746.9751.0956.3558.47
🌳 Tree68.5068.1169.1064.4365.8668.2569.53
💧 Water77.6879.7880.4770.1471.2979.4781.06
🌾 Agriculture land71.5272.6273.0266.8167.8972.9173.20
🏢 Building75.8575.7176.4367.2770.8975.8777.31

🚀 Quick Start

1️⃣ Install

pip install "terratorch>=1.2.4" "diffusers==0.30.0" huggingface_hub pillow tifffile numpy torch

2️⃣ Run from the command line

# downloads kao_terramind_inference.py + terramind_v1_kaoC_best.pt from this repo
hf download kaopanboonyuen/KAO-TerraMind-C-OpenEarthMap --local-dir KAO-TerraMind-C-OpenEarthMap   # older huggingface_hub: huggingface-cli download
cd KAO-TerraMind-C-OpenEarthMap

python kao_terramind_inference.py \
    --input my_tile.tif \
    --output prediction.png \
    --device cuda

Use --ckpt path/to/terramind_v1_kaoC_best.pt for a local checkpoint, --overlap 56 for smoother large-scene mosaics, and --save-index to also write the raw class-index map.

3️⃣ Use it from Python

from kao_terramind_inference import load_model, predict_image, colorize, read_image

net, ck = load_model("terramind_v1_kaoC_best.pt", device="cuda")

img = read_image("my_tile.tif")                  # (H, W, 3) uint8
pred = predict_image(net, img, ck, device="cuda")  # (H, W) class ids, any image size
rgb = colorize(pred)                              # (H, W, 3) uint8 map in the dataset palette

📌 Input contract: aerial / satellite RGB (R, G, B), 8-bit, any size (processed in 224 x 224 windows with zero-padded borders, exactly like the evaluation protocol). Normalisation statistics are read from the checkpoint.


📁 Repository Contents

FileDescription
📖 README.mdThis model card
⚙️ config.jsonArchitecture arguments, class map, normalisation, recipe and test metrics
🐍 kao_terramind_inference.pyInference-only helper (checkpoint loading, tiled prediction, colour maps, CLI)
🧠 terramind_v1_kaoC_best.ptFine-tuned weights (backbone + decoder + architecture arguments)

⚠️ Limitations & Responsible Use

  • 🔬 This is a research checkpoint for reproducing a specific experiment, not a general-purpose land-cover product.
  • 🌍 It is trained and evaluated only on OpenEarthMap with its 8-class taxonomy; transfer to other sensors, resolutions, regions or label definitions is untested.
  • 📉 Differences between KAO variants and the baseline are small (about 1 pp mIoU or less) and come from a single training run with seed 42; no confidence intervals are reported, so small gaps should not be over-interpreted.
  • 🏋️ Larger TerraMind backbones can outperform KAO variants on some datasets (see the table above). KAO-TerraMind studies targeted adaptation of the base-size model.
  • 🚫 Not validated for safety-critical, legal or enforcement decisions.

📚 Citation

If you use this model, please cite:

@article{panboonyuen2027kaoterramind,
  title  = {KAO-TerraMind: Targeted Adaptation of Geospatial Foundation Models for Dense Prediction},
  author = {Panboonyuen, Teerapong},
  note   = {Manuscript in preparation for submission to the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR 2027)},
  year   = {2027}
}

KAO-TerraMind builds on TerraMind; please also cite:

@inproceedings{jakubik2025terramind,
  title        = {Terramind: Large-scale generative multimodality for earth observation},
  author       = {Jakubik, Johannes and Yang, Felix and Blumenstiel, Benedikt and Scheurer, Erik and Sedona, Rocco and Maurogiovanni, Stefano and Bosmans, Jente and Dionelis, Nikolaos and Marsocci, Valerio and Kopp, Niklas and others},
  booktitle    = {2025 IEEE/CVF International Conference on Computer Vision (ICCV)},
  pages        = {7383--7394},
  year         = {2025},
  organization = {IEEE}
}

🙏 Acknowledgements

🌍 TerraMind (IBM · ESA) · 🔥 TerraTorch · 🤗 Hugging Face · 🗂️ OpenEarthMap dataset creators · 🇹🇭 Chulalongkorn University


👨‍🔬 Author

Teerapong Panboonyuen, Ph.D. (Kao) Vice President of AI, Government Savings Bank C2F Postdoctoral Fellow, Chulalongkorn University Adjunct Professor, Khon Kaen University 🇹🇭 Thailand

Research interests: Geospatial AI · Earth Observation · Foundation Models · Remote Sensing · Dense Prediction


🌍 Foundation Models × 🛰️ Earth Observation × 🧠 GeoAI × 🔬 Reproducibility

From pixels to representations. From representations to intelligence.

KAO-TerraMind-C-OpenEarthMap · CVPR 2027 reproducibility release

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · terratorch · image-segmentation

Можно запустить

Подбираем GPU…

Ревизия весов
7842e09

0 моделей