/ Модель

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

Лицензия
MIT
Библиотека
segmentation-models-pytorch
Опубликована
21 окт 2026

IntegraCAR-DeepLabv3-ResNet50-128

Сегментация изображенийИзображение → mask3 профессии

DeepLabV3 с ResNet-50 сегментирует спутниковые снимки сельских территорий Эспириту-Санту по пяти классам землепользования и покрова.

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

Бенчмарки

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

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

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

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

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

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

Это модель семантической сегментации DeepLabV3 с энкодером ResNet-50, разработанная командой IntegraCAR на базе официального кода проекта IntegraCAR-LULC-10K. Она предназначена для разметки землепользования и растительного покрова на снимках сельских территорий штата Эспириту-Санту в Бразилии. На вход подаются RGB-фрагменты спутниковых изображений размером 512 × 512 пикселей; модель относит пиксели к пяти укрупнённым классам: инфраструктура, растительность, агропастбищные территории, водоёмы и macega — участки с травянистой растительностью и кустарником.

Модель обучена на наборе IntegraCAR-LULC-500, содержащем снимки KOMPSAT-3/3A за 2019–2020 годы с разрешением 0,5 м/пиксель и метки карты землепользования IJSN 2019 года. Это исследовательский базовый вариант для картирования землепользования и покрова, в частности для анализа данных Бразильского реестра сельских территорий CAR. Лицензия — MIT.

Качество на других регионах, спутниковых сенсорах, датах и разрешениях не оценивалось. Метки получены из картографического источника, а не из ручной разметки каждого фрагмента; классы несбалансированы, и водоёмы встречаются редко. Перед сравнением предсказаний с индексированными масками набора IntegraCAR-LULC-500 необходимо переназначить ID классов; модель не следует использовать как единственное основание для юридических или административных решений в рамках CAR.

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

  • Картирование инфраструктуры на спутниковых снимках сельских территорий Бразилии
  • Выделение лесов, мангровых зарослей, болот и лугов
  • Классификация пастбищ, сельскохозяйственных угодий и плантаций
  • Выделение водоёмов на снимках Эспириту-Санту
  • Создание масок землепользования для анализа данных CAR

Ограничения

Модель обучена на снимках Эспириту-Санту за 2019–2020 годы с разрешением 0,5 м/пиксель; её качество на других регионах, датах, сенсорах и разрешениях не оценивалось. Для сравнения с исходными индексированными масками требуется переназначить ID классов; редкость водоёмов и картографическое происхождение меток ограничивают точность оценки.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

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

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

Открыть на Hugging Face

DeepLabV3 (512 × 512 patches, step 128) for LULC Segmentation on IntegraCAR-LULC-500

This model is a DeepLabV3 with a ResNet-50 encoder trained for land use and land cover (LULC) semantic segmentation of high-resolution optical satellite imagery from the state of Espírito Santo, Brazil. It was trained on 512 × 512 pixel patches extracted with a step of 128 pixels from the IntegraCAR-LULC-500 dataset, the public 500-tile benchmark subset of IntegraCAR-LULC-10K, and is one of the baselines reported in the paper "IntegraCAR-LULC-10K: A High-Resolution Optical Satellite Dataset for LULC Segmentation in the Brazilian Rural Environmental Registry" (SIBGRAPI 2026).

The model was built with the official training code: integraCAR/IntegraCAR-LULC-10K-code.

Model details

FieldValue
ArchitectureDeepLabV3 (segmentation-models-pytorch, smp.DeepLabV3)
Encoderresnet50, ImageNet-pretrained
InputRGB patches, 512 × 512 pixels, 3 channels
OutputRaw logits, 5 classes (activation=None)
Training tiles2048 × 2048 px, 0.5 m/pixel (KOMPSAT-3/3A orthomosaic, 2019–2020)
Patch extraction step128 px
Inference stride128 px (sliding window with logit averaging)
NormalizationImageNet mean [0.485, 0.456, 0.406], std [0.229, 0.224, 0.225]
Code commit17746ea

Classes

The model predicts the five aggregated classes used in the paper. Class IDs follow the order produced by convert_mask.py --classes 5 in the training repository:

IDClassDescription
0InfrastructureBuildings, paved roads, dirt roads, sidewalks, mining/extraction, and other human-built surfaces.
1Vegetation AreasNative forests, restinga, mangroves, marshes/swamps, and altitude grasslands.
2Agropastoral AreasPastures, cultivated crops, silviculture, exposed soil, and initial regeneration areas aimed at productive use.
3MacegaMacega (kept as an independent class).
4Water BodiesRivers, lakes, reservoirs, canals, and other visible water surfaces.

Note: the indexed masks published in IntegraCAR-LULC-500 use a different ID order (0 Vegetation Areas, 1 Agropastoral Areas, 2 Infrastructure, 3 Water Bodies, 4 Macega). Remap the IDs before comparing this model's predictions with those masks.

How to use

The weights are stored in the segmentation-models-pytorch Hub format (config.json + model.safetensors), so they can be loaded directly:

pip install segmentation-models-pytorch torch torchvision pillow numpy
import numpy as np
import torch
import segmentation_models_pytorch as smp
from PIL import Image
from torchvision import transforms

REPO_ID = "laicsiifes/IntegraCAR-DeepLabV3-resnet50-128"
PATCH = 512
STRIDE = 128

device = "cuda" if torch.cuda.is_available() else "cpu"
model = smp.from_pretrained(REPO_ID).to(device).eval()

transform = transforms.Compose([
    transforms.ToTensor(),
    transforms.Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225]),
])

image = np.array(Image.open("tile.tif").convert("RGB"))  # 2048 x 2048 tile
h, w = image.shape[:2]

def starts(length):
    pos = list(range(0, length - PATCH + 1, STRIDE))
    if pos[-1] != length - PATCH:
        pos.append(length - PATCH)
    return pos

logits = np.zeros((5, h, w), dtype=np.float32)
counts = np.zeros((h, w), dtype=np.float32)

with torch.no_grad():
    for y in starts(h):
        for x in starts(w):
            patch = transform(Image.fromarray(image[y:y + PATCH, x:x + PATCH]))
            out = model(patch.unsqueeze(0).to(device)).squeeze(0).float().cpu().numpy()
            logits[:, y:y + PATCH, x:x + PATCH] += out
            counts[y:y + PATCH, x:x + PATCH] += 1

prediction = np.argmax(logits / counts[None], axis=0).astype(np.uint8)  # class IDs 0..4

This reproduces the sliding-window inference in src/inference.py (PatchifyInference), which averages logits over overlapping windows before the argmax.

Training data

IntegraCAR-LULC-500 is a 500-tile benchmark subset of IntegraCAR-LULC-10K. Tiles are 2048 × 2048 pixels at 0.5 m/pixel, sampled from rural properties in the Brazilian Rural Environmental Registry (CAR) in Espírito Santo. Images come from the KOMPSAT-3/3A orthomosaic (2019–2020) and labels from the IJSN 2019 LULC map, both published by GeoBases. The subset has 50 image-mask pairs per microregion.

SplitTiles
Train300
Validation100
Test100

The split lists are train_sample.txt, validation_sample.txt and test_sample.txt in data-segments/ of the training repository.

Training procedure

Training was run with train_code.py from the training repository. Patches are extracted from each tile on a regular grid, and the model is trained on patches only.

HyperparameterValue
Patch size512 × 512
Patch step128
Epochs100
Batch size200
OptimizerSGD, momentum 0.9
Learning rate0.01
Weight decay5e-4
LR schedulerMultiStepLR, milestones [25, 35, 45], gamma 0.1
LossCross-entropy with class weights computed from training-set pixel frequencies
Ignore index5
Model selectionCheckpoint with the best validation mIoU (best_model.pth)
Seed42

Limitations

  • The model was trained only on imagery from Espírito Santo (2019–2020) at 0.5 m/pixel; performance on other regions, sensors, dates, or resolutions has not been evaluated.
  • Labels are derived from the official IJSN 2019 LULC map, not from manual annotation of each tile. See the dataset card for annotation limitations.
  • Classes are imbalanced: Agropastoral Areas and Vegetation Areas cover most pixels, while Water Bodies are rare, which affects per-class IoU.
  • The model is a research baseline and should not be used as the only source for legal or administrative decisions within the CAR.

License

The model weights and the training code are released under the MIT License.

Citation

If you use this model, please cite the paper:

@inproceedings{integracar_lulc_2026,
  title     = {IntegraCAR-LULC-10K: A High-Resolution Optical Satellite Dataset for LULC Segmentation in the Brazilian Rural Environmental Registry},
  author    = {Albertino, Calebe and Lima, Gabriel M. B. and Oliveira, Vin{\'{i}}cius R. and Ribeiro, Arthur R. V. and Oliveira, Eliza K. S. and Souza, Eduardo H. P. and Dalvi, Otavio G. and Komati, Karin S. and Andrade, Jefferson O. and Boldt, Francisco A. and Paix{\~{a}}o, Thiago M.},
  booktitle = {Proceedings of the 39th SIBGRAPI Conference on Graphics, Patterns and Images (SIBGRAPI)},
  year      = {2026}
}

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

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

GPU в ailist

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

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

Архитектура ? неизвестна transformers в образе рантайма.

Ревизия весов
f35025d

0 моделей