/ Модель

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

Лицензия
CC BY-NC-SA 4.0
Библиотека
rfdetr
Опубликована
22 окт 2026

maritime-sar

Поиск объектовИзображение → bounding_boxes3 профессии

Дообученная RF-DETR Nano для обнаружения людей и их скоплений на изображениях морских спасательных сцен.

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

Бенчмарки

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

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

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

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

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

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

Maritime SAR — RF-DETR Nano — модель обнаружения людей на сценах морских спасательных операций, разработанная на основе RF-DETR Nano и дообученная для одного класса «rescue». Она предназначена для поиска кандидатов на людей и скоплений людей на судах по изображениям, например при анализе сцен береговой охраной или поисково-спасательными службами. Модель не определяет, терпит ли человек бедствие и требуется ли ему спасение.

Доступны веса SafeTensors для PyTorch/RF-DETR размером 121 МБ и вариант OpenVINO с INT8-квантизацией размером 30 МБ для CPU-инференса; версия OpenVINO сохраняет классификационные и регрессионные головы FP32. Модель принимает изображения и выдаёт рамки обнаруженных объектов и оценки. В метаданных указан английский язык карточки; лицензия CC BY-NC-SA 4.0 требует атрибуции и ограничивает коммерческое использование. Контекстная длина для этой задачи не применима.

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

  • поиск людей на изображениях с морских спасательных операций
  • обнаружение людей на судах и лодках
  • анализ изображений для поддержки поисково-спасательных служб

Ограничения

Модель обнаруживает кандидатов на людей и скопления людей, но не определяет наличие бедствия или необходимость спасения. Квантизированный вариант OpenVINO использует INT8 для основной части модели, сохраняя головы классификации и рамок в FP32.

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

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

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

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

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

Открыть на Hugging Face

Maritime SAR — RF-DETR Nano

A fine-tuned RF-DETR Nano model for detecting people in maritime rescue scenes. The single foreground class is rescue. Detections are person candidates and crowded vessels. They do not establish distress or the need for rescue.

Example

An Italian Coast Guard rescue scene with predictions from this model:

Rescue scene with prediction boxes

Frame credit: Guardia Costiera.

Choose a format

Both versions use the same EMA model:

FormatFilesWeight sizeUsage
FP32 SafeTensorsmodel.safetensors121 MBLoad into PyTorch / RF-DETR
OpenVINO mixed INT8openvino-int8/native-768.xml and .bin30 MBReady-to-run CPU inference

OpenVINO retains FP32 classification and box heads. Both versions produce floating-point scores and coordinates.

CPU inference with OpenVINO

Install the CPU dependencies and run inference on an image:

python -m pip install -r openvino-int8/requirements.txt
python predict_openvino.py image.jpg --confidence 0.25 --threads 8 --output predictions.json

The helper processes the complete image as overlapping native 768×768 windows, pads smaller windows, and returns merged boxes in original-image coordinates. It does not downsample the input.

To reuse the compiled model from Python:

import numpy as np
from PIL import Image, ImageOps
from predict_openvino import OpenVINORescue

with Image.open("image.jpg") as image:
    rgb = np.array(ImageOps.exif_transpose(image).convert("RGB"), dtype=np.uint8)

detector = OpenVINORescue(threads=8)
detections = detector.predict_rgb(rgb, confidence=0.25)

Load SafeTensors into RF-DETR

Install the PyTorch / RF-DETR dependencies:

python -m pip install -r requirements.txt

Load the weights for use in your own PyTorch inference pipeline:

from load_model import load_model

detector = load_model("model.safetensors", device="cpu")
core = detector.model.model

load_model.py constructs the architecture and strictly loads all model tensors. This path uses RF-DETR and SafeTensors; it has no OpenVINO dependency. The example above loads the model only. RF-DETR 1.11.2 does not load this SafeTensors file directly through pretrain_weights.

Native inference conventions

These conventions apply to both backends:

  • Input: RGB integer crops with black padding on the right/bottom. The Boolean mask is True on padding. Normalize RGB/255 using mean [0.485, 0.456, 0.406] and standard deviation [0.229, 0.224, 0.225].
  • Class: compute sigmoid(pred_logits[..., 1]). Logit column 0 is unused.
  • Boxes: normalized CXCYWH coordinates use the valid crop width and height, excluding padding. Clip to the crop, add its source origin, then merge overlapping predictions with IoU 0.5 and a maximum of 100 detections.

The OpenVINO helper implements native 768 windows with 25% overlap. The PyTorch reference pipeline also uses native 2048 context windows for larger images; OpenVINO omits that pass, which changes coverage for large people crossing windows. For native PyTorch windows, set core.backbone[0].encoder.shape = (size, size) and retain the learned 24×24 positional encoding. Upstream detector.predict() uses its own resizing policy and does not automatically reproduce this pipeline.

Tiny people, occlusion, low light, glare and unfamiliar viewpoints can produce misses or false positives. No rescue operating threshold is certified.

Licence and integrity

The publisher's model contributions are licensed under CC BY-NC-SA 4.0 International. See LICENSE and LICENSE_SCOPE.md. Upstream RF-DETR contributions and the supplied Python helpers retain Apache-2.0; see NOTICE and LICENSE.upstream-RFDETR. The example image retains its own rights and is excluded from the model licence.

Verify the package from this folder:

sha256sum -c SHA256SUMS

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

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

GPU в ailist

Универсальный рантайм · rfdetr · object-detection

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

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

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

0 моделей