/ Модель

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

Лицензия
Apache 2.0
Библиотека
fastai
Опубликована
24 июл 2026

surfaceWaterGlobal

Сегментация изображенийИзображение → mask

FastAI/PyTorch-модель сегментации, оценивающая вероятность поверхностной воды по совмещённым снимкам Sentinel-1 и эмбеддингам AlphaEarth.

0скачиваний за 30 дней0лайковвеса обновлены28 сен 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

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

Surface Water Global — модель семантической сегментации от rohitm9 для оценки вероятности поверхностной воды по каждому пикселю. Это пользовательская модель FastAI/PyTorch на архитектуре U-Net с энкодером ResNet-34 и активациями Mish; она принимает совмещённые данные Sentinel-1 SAR и годовые эмбеддинги AlphaEarth Foundations. Основной вариант использует три канала Sentinel-1 (VV, VH, угол съёмки) и 64 канала AlphaEarth, а также доступны контрольный вариант только с Sentinel-1 и вариант с эмбеддингами AlphaEarth за предыдущий год. Модель выдаёт классы «прочее» и «вода» либо вероятности воды; она не является Transformers-моделью и требует комплектной программы инференса.

Модель предназначена для картографирования поверхностных вод, подготовки растров вероятностей для последующей проверки и анализа, а также воспроизводимого сравнения геопространственных методов. README сообщает об оценке на валидационной выборке Dynamic World и независимых наборах PlanetScope и S1S2-Water; результаты зависят от порога, географии, сезона и предварительной обработки. Для работы необходимы корректно упорядоченные и совмещённые GeoTIFF Sentinel-1 и AlphaEarth, за исключением S1-only варианта. Лицензия — Apache-2.0.

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

  • создание растров-карт вероятности поверхностной воды
  • картографирование водоёмов по данным Sentinel-1 и AlphaEarth
  • подготовка кандидатных масок воды для геопространственного анализа
  • сравнение методов сегментации водных объектов на спутниковых данных

Ограничения

Требуются входные GeoTIFF с точным порядком каналов, нормализацией и пространственным совмещением; вероятности не калиброваны, а качество может снижаться при смене географии, сезона или обработки снимков. Целевые метки основаны на предсказаниях Dynamic World, а ошибки могут вызывать радарные помехи, лёд, влажная почва и затопленная растительность.

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

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

Открыть на Hugging Face

Surface Water Global

surfaceWaterGlobal predicts a per-pixel probability of surface water from co-registered Sentinel-1 SAR and AlphaEarth Foundations annual embeddings.

This is a custom FastAI/PyTorch checkpoint rather than a Transformers-native model. Use the bundled inference program; AutoModel.from_pretrained() is not supported.

Version 2 (label class)

This revision replaces the checkpoint released in August 2026. The earlier model was trained on a mixture of two Dynamic World (DW) water products: about 65% of its tiles used a binarized water probability (>= 0.5) and about 35% used the DW label band. The two products agree on 63-76% of water pixels. All models in this revision are trained on the DW label class only, which is the definition the paper describes. The earlier release is kept at tag v1-mixed-labels; this revision is tagged v2-labelclass.

Compared with the earlier checkpoint on the paper's 53-scene PlanetScope reference set, pooled water IoU is 0.851 against 0.849, precision decreases from 0.915 to 0.892 and recall rises from 0.921 to 0.948. This revision also ships the validation summary and the decision thresholds, which were missing from version 1.

Models

DirectoryModelInputCheckpoint SHA-256
repository rootS1 + acquisition-year AEF (k=16, seed 42), the paper's primary model3 S1 bands + 64 AEF bandsdd0252e2d08c693e3f88949a0a34a846f91dc7ab1668d91ba7ac0ddb688b06ec
variants/s1_only_k0_seed42/S1-only control (k=0, seed 42)3 S1 bandsa5eab4f07d68256d5a7922a8943efb1b0a14cbc0a513315aff737426a57b6e68
variants/s1_aef_previous_year_k16_seed42/S1 + previous-year AEF (k=16, seed 42), trained with t-1 embeddings3 S1 bands + 64 AEF bands5bd312409fcf86e0a49258c37aa95a53867a5a6b2cef4f73d2e527a3d6fb2717

All checksums, including band_stats.npz for each model, are in checksums.sha256.

FieldValue
TaskBinary semantic segmentation
Output classesother (0), water (1)
ArchitectureFastAI ResNet-34 U-Net, Mish activations
Sentinel-1 input3 bands: VV, VH, angle, in that order
AlphaEarth input64 annual embedding bands, in source order
AEF bottleneckLearned 1x1 convolution, 64 to 16 channels
U-Net input19 channels: 3 S1 + 16 projected AEF (3 channels for the S1-only model)
Training data5,278 Sentinel-1 / AEF / DW triplets, 4,222 training and 1,056 validation
Training targetDynamic World label band, class 0 (water)
Normalizationband_stats.npz, 67-band mean and standard deviation (3-band for the S1-only model)
Native outputGeoreferenced float32 GeoTIFF containing P(water)

Thresholds

ThresholdWhere it comes fromUse
0.50Selected on the DW validation split by every run, of the two values evaluated (0.30 and 0.50)Default operating point of the checkpoints
0.30Fixed operating point of the paper's reference-set evaluationReproduces the published tables

Probabilities are not calibrated. Validate the threshold for the target geography, season, sensor preprocessing and application.

Evaluation

Validation split (1,056 DW-labelled tiles, four-flip TTA, threshold 0.50): water IoU 0.698 (precision 0.767, recall 0.885) for the primary model, 0.690 for the previous-year model and 0.620 for the S1-only control.

Independent reference set of 53 PlanetScope-annotated scenes, threshold 0.30 (evaluation/planetscope_53_scenes_main_table.csv):

MethodPrecisionRecallPooled water IoUPer-scene mean IoU
S1 + AEF (acquisition year)0.8920.9480.8510.756
S1 + AEF (previous year, applied at inference)0.8820.9460.8400.741
S1-only control0.9330.5820.5580.443
OPERA DSWx-S10.8580.8520.7460.591

Independent S1S2-Water benchmark (Wieland et al., 2024), 15 test scenes on a 30 m grid, all methods scored on the same pixels (evaluation/s1s2water_pooled.csv). Pooled water IoU, mean over three training seeds:

MethodThreshold 0.50Threshold 0.30
S1 + AEF0.9530.941
OPERA DSWx-S1 (v1.2 with the upstream boundary fix)0.8690.869
S1-only control0.8220.794

No S1S2-Water data were used for training, model selection or threshold selection. Per-scene values are in evaluation/s1s2water_per_scene.csv; the threshold sweep on the reference set is in evaluation/planetscope_53_scenes_threshold_sweep.json.

Installation

Python 3.10+ is recommended. A CUDA-capable GPU makes inference substantially faster, but CPU inference is supported.

hf download rohitm9/surfaceWaterGlobal --local-dir surfaceWaterGlobal
cd surfaceWaterGlobal
python -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -r requirements.txt

Input contract

Inference requires:

  1. One or more three-band Sentinel-1 GeoTIFFs named s1_YYYY-MM-DD.tif. Band order must be VV, VH, angle. The models were trained on Earth Engine COPERNICUS/S1_GRD imagery (dB) at 10 m; a different Sentinel-1 processing chain changes the results, and the S1-only model is the more sensitive of the two.
  2. One 64-band AlphaEarth Foundations annual embedding GeoTIFF in the original band order (not needed for the S1-only model).
  3. S1 scenes in one run must share the same CRS, affine transform, width, and height. The inference program reprojects AEF windows onto the S1 grid when necessary.

Do not provide PCA-reduced AEF data. Normalization is checkpoint-specific and requires the band_stats.npz next to the checkpoint.

Inference

python src/infer.py \
  --model-kind s1aef \
  --scenes-root /path/to/s1/scenes \
  --aef-path /path/to/alphaearth_2025.tif \
  --run-dir . \
  --output-root outputs \
  --tile 512 \
  --overlap 64 \
  --batch-size 4

For a variant, point --run-dir at its directory, for example the S1-only control:

python src/infer.py \
  --model-kind s1 \
  --scenes-root /path/to/s1/scenes \
  --run-dir variants/s1_only_k0_seed42 \
  --output-root outputs

The default inference procedure averages four flip-based test-time augmentation passes. Use --no-tta for faster inference and --device cpu to force CPU execution. Add --validate-only to check the files and the raster contract before a full run.

Outputs are written below outputs/s1_aef_tta/probabilities/. They are continuous water probabilities, not thresholded masks.

Intended uses

  • Research on surface-water mapping from Sentinel-1 and AlphaEarth inputs.
  • Producing candidate water-probability rasters for subsequent validation and analysis.
  • Reproducible comparison with other geospatial segmentation approaches.

Limitations

  • Inputs must follow the exact band contract and training-time normalization.
  • Performance may degrade outside the geographic, seasonal, hydrological, or preprocessing distributions represented during training.
  • Radar layover, shadow, speckle, ice, wet soil, flooded vegetation, and artificial surfaces may cause errors. On arid terrain the S1-only control labels radar-dark ground as water; the fused model does not.
  • AlphaEarth embeddings must correspond to a suitable year and be spatially aligned with the Sentinel-1 scenes.
  • The training targets are Dynamic World predictions, not field observations, and carry the errors of that product.
  • Outputs should not be used as the sole basis for emergency response, navigation, safety-critical, regulatory, or legal decisions.

Training data and attribution

Training used Sentinel-1 inputs, AlphaEarth Foundations annual embeddings, and water targets derived from the Dynamic World label band. Required third-party notices and source links are recorded in THIRD_PARTY_NOTICES.md.

Source code

The maintained project source and data-preparation guidance are available at Rohit18/surfaceWaterMappingGlobal. src/train.py here is the exact trainer that produced these checkpoints.

License

The original code and released checkpoints are provided under Apache License 2.0. Third-party software and datasets remain subject to their respective licenses and attribution requirements. See LICENSE and THIRD_PARTY_NOTICES.md.

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

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

GPU в ailist

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

Нельзя запустить

В репозитории нет config.json: не понять архитектуру модели.

Ревизия весов
7c49718

0 моделей