/ Модель

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

Лицензия
GPL 3.0
Библиотека
keras
Опубликована
21 окт 2026

InceptionResNetV2-UNet-MBRSC

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

U-Net с энкодером InceptionResNetV2 сегментирует спутниковые изображения Дубая на шесть классов земного покрова и имеет варианты для TensorFlow Lite.

145скачиваний за 30 дней1лайквеса обновлены27 окт 2026

Бенчмарки

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

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

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

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

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

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

Модель InceptionResNetV2-UNet-MBRSC разработана на основе открытой реализации Ayush Dabra и предназначена для семантической сегментации спутниковых изображений Дубая. Это U-Net с энкодером InceptionResNetV2, обученная выделять шесть классов земного покрова; модель содержит около 36,79 млн параметров и принимает RGB-изображения размером 512 × 512, выдавая карту вероятностей того же разрешения.

Репозиторий содержит версии Keras и TensorFlow Lite, включая динамически квантованную INT8-версию для запуска на мобильных и периферийных устройствах. В README приведены метрики по классам и сравнение FP32 с INT8: квантование может заметно ухудшить качество отдельных классов, в частности распознавание зданий. Модель ориентирована на спутниковые снимки Дубая и набор данных Dubai Satellite Imagery; лицензия — GPL-3.0.

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

  • создание карт земного покрова по спутниковым снимкам Дубая
  • выделение воды, растительности и застроенных территорий на спутниковых изображениях
  • сегментация спутниковых снимков на периферийном устройстве с TensorFlow Lite

Ограничения

Модель обучена для спутниковых изображений Дубая, поэтому её качество на других регионах и типах снимков не установлено. По данным README, INT8-квантование может существенно снизить качество сегментации зданий.

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

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

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

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

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

Открыть на Hugging Face

InceptionResNetV2-UNet: Dubai Satellite Semantic Segmentation & Edge Optimization

This repository hosts a production-grade, edge-optimized deep learning model designed for multi-class land-cover semantic segmentation from high-resolution satellite imagery (Dubai Satellite Imagery Dataset).

This work explores the accuracy vs. model footprint trade-offs for deploying aerial and satellite segmentation models to edge and on-orbit compute platforms. image

image


📌 Architecture & Model Overview

  • Architecture: U-Net with an InceptionResNetV2 feature extraction encoder
  • Total Parameters: 36,793,414 (~36.79M)
  • Trainable Parameters: 36,752,390 (~36.75M)
  • Non-trainable Parameters: 41,024 (~160 KB)
  • Input Resolution: 512 × 512 × 3 (RGB, normalized to [0, 1])
  • Output Resolution: 512 × 512 × 6 (6-class probability distribution)
  • Quantization: Dynamic Range Post-Training Quantization (PTQ) via TensorFlow Lite / LiteRT

⚙️ Training Specifications & Hyperparameters

  • Dataset Split: 504 augmented training tiles, 16 validation tiles (512 x 512)
  • Batch Size: 4
  • Steps per Epoch: 126
  • Epochs Trained: 33 (converged via EarlyStopping)
  • Optimizer: Adam
  • Initial Learning Rate: 0.0001 with Exponential Decay Scheduling
  • Loss Function: categorical_crossentropy
  • Evaluation Metrics: dice_coef, categorical_accuracy
  • Peak Validation Performance(Converged via Early Stopping at Epoch 33/50):
    • Validation Accuracy: 86.33%
    • Validation Dice Coefficient: 81.10%
    • Validation Loss: 0.4367

image

📊 Quantization & Deployment Benchmarks

We evaluated the performance, storage, and latency trade-offs between standard floating-point precision (FP32) and dynamic 8-bit integer quantization (INT8):

Model FormatPrecisionDisk SizeSize ReductionOverall mIoU5-Class Terrain mIoUCPU LatencyGPU LatencyThroughput
Keras (.keras)FP32423.14 MBBaseline (1.0x)59.09%70.34%4,693.27 ms638.39 ms1.57 FPS (GPU)
TFLite (.tflite)FP32140.36 MB~3.0x smaller59.09%70.34%~4,200 ms—0.24 FPS (CPU)
TFLite INT8 (.tflite)Dynamic INT835.89 MB11.8x smaller (-91.5%)51.08%60.28%15,911.85 ms—0.06 FPS (CPU)

Key Finding: Dynamic INT8 quantization slashes memory storage by 91.5% (saving 387.25 MB of storage), while retaining 60.28% 5-class terrain mIoU.


🔍 Per-Class Evaluation Breakdown

Detailed analysis of class preservation between baseline FP32 and dynamic INT8:

ClassRGB ColorBaseline IoU (FP32)INT8 IoU (Quantized)Change (Delta IoU)Status
🌊 Water(226, 169, 41)0.90150.8849-0.0166 (-1.7%)🟢 Preserved almost perfectly
🌿 Vegetation(254, 221, 58)0.61630.6190+0.0027 (+0.3%)🟢 Completely preserved
🏜️ Land(132, 41, 246)0.80830.7761-0.0322 (-3.2%)🟢 Very stable
🛣️ Road(110, 193, 228)0.51050.3327-0.1778 (-17.8%)🟡 Moderate drop
🏢 Building(60, 16, 152)0.68060.4012-0.2794 (-27.9%)🔴 Major drop
❓ Unlabeled(155, 155, 155)0.02820.0509+0.0227—
Overall mIoU—59.09%51.08%-8.01%
5-Class Terrain mIoU—70.34%60.28%-10.06%

📊 Model Performance: Baseline (FP32) vs. Quantized (INT8)

ClassBaseline IoU (FP32)INT8 IoU (PTQ)Baseline Dice / F1INT8 Dice / F1Baseline PrecisionINT8 PrecisionBaseline RecallINT8 Recall
🌊 Water0.90150.88490.94820.93900.94290.91230.95360.9672
🏜️ Land0.80830.77610.89400.87400.87330.81010.91570.9488
🏢 Building0.68060.40120.80990.57270.77990.90230.84230.4195
🌿 Vegetation0.61630.61900.76260.76470.84410.72700.69540.8065
🛣️ Road0.51050.33270.67590.49930.69990.38200.65350.7203
❓ Unlabeled0.02820.05090.05480.09680.33410.37010.02980.0557
Mean (Overall)0.59090.51080.69090.62440.74570.68400.68170.6530
5-Class Terrain0.70340.60280.81810.72990.82800.74670.81210.7725

Error Maps

image

📂 Repository File Manifest

  • InceptionResNetV2-UNet.keras: Native Keras 3 format containing architecture, weights, and optimizer state.
  • InceptionResNetV2-UNet.h5: Keras HDF5 format for backward compatibility with legacy pipelines.
  • InceptionResNetV2-UNet.weights.h5: Checkpoint containing only trained layer weights.
  • InceptionResNetV2-UNet_fp32.tflite: Standalone TensorFlow Lite FP32 model for mobile and edge runtime.
  • InceptionResNetV2-UNet_int8.tflite: Dynamically quantized 8-bit model optimized for ultra-low memory footprints (35.89 MB).

💻 Quickstart Inference Guide

1. Keras Full Precision Model (FP32)

import tensorflow as tf
from huggingface_hub import hf_hub_download
model_path = hf_hub_download(
    repo_id="iamabhayaditya/InceptionResNetV2-UNet-MBRSC",
    filename="InceptionResNetV2-UNet.keras"
)
model = tf.keras.models.load_model(model_path, compile=False)

2. Edge / CPU Inference with Quantized TFLite (INT8)

import numpy as np
import tensorflow as tf
from huggingface_hub import hf_hub_download
tflite_path = hf_hub_download(
    repo_id="iamabhayaditya/InceptionResNetV2-UNet-MBRSC",
    filename="InceptionResNetV2-UNet_int8.tflite"
)
interpreter = tf.lite.Interpreter(model_path=tflite_path)
interpreter.allocate_tensors()
input_details = interpreter.get_input_details()
output_details = interpreter.get_output_details()
# Input image shape: (1, 512, 512, 3), float32 normalized to [0, 1]
interpreter.set_tensor(input_details[0]['index'], input_image)
interpreter.invoke()
# Output shape: (1, 512, 512, 6)
predictions = interpreter.get_tensor(output_details[0]['index'])
pred_mask = np.argmax(predictions[0], axis=-1)

GitHub Repo Link: https://github.com/imadi124/Drishti

📜 Lineage & Attribution

This project is derived from the open-source implementation by Ayush Dabra licensed under GNU General Public License v3.0 (GPL-3.0). Modifications & Modernization:

  • Manually documented and commented every pipeline component, training routine, and utility function to ensure strict reproducibility and clean code standards.
  • Engineered diagnostic visualization routines—including error heatmaps, class activation visualizations, and confusion matrices—to isolate edge-case failures (e.g., small building boundaries vs. narrow asphalt roads).
  • Achieved superior convergence, lifting validation performance to ~86.24% categorical accuracy and an ~81.72% Dice coefficient (peak: 81.89%).
  • Upgraded deprecated dependencies to modern TensorFlow 2.x / Keras 3.
  • Engineered dynamic Post-Training Quantization (PTQ) routines for TensorFlow Lite / LiteRT deployment.
  • Established edge deployment benchmarking suites (measuring GPU vs. CPU latency, memory footprints, and per-class quantization degradation).

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

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

GPU в ailist

Универсальный рантайм · keras

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

Keras/TensorFlow-модели рантайм не загружает.

Ревизия весов
286c4bd

0 моделей