/ Модель

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

Лицензия
Apache 2.0
Опубликована
19 авг 2026

vehicle_reid_siglip2_naflex_512d

Эмбеддинги изображенийИзображение → embedding

Производная модели occurra/vehicle_reid_siglip2_naflex_512d. Модель извлекает 512-мерные векторы из изображений автомобилей для поиска и повторной идентификации тех же транспортных средств.

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

Бенчмарки

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

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

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

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

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

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

Карточка модели apatc/vehicle_reid_siglip2_naflex_512d на Hugging Face совпадает с карточкой occurra/vehicle_reid_siglip2_naflex_512d, поэтому описание составлено по ней.

occurra/vehicle_reid_siglip2_naflex_512d — модель для повторной идентификации транспортных средств по изображениям. Она принимает обрезанные RGB-изображения автомобилей с естественным соотношением сторон и возвращает L2-нормированные векторы размерности 512 для поиска похожих изображений по косинусному сходству. Модель доступна в формате ONNX для запуска через ONNX Runtime, а также в виде torch bundle.

Модель предназначена для поиска одного и того же автомобиля на кадрах разных камер и в разное время, включая изменения погоды и освещения. В README приведены результаты на двух наборах с реальных камер и VeRi-776; на VeRi-776 модель уступает CLIP-ReID, а на наборах с реальных камер показывает более высокие значения mAP. Фиксированное квадратное изменение размера не требуется: изображения обрабатываются с естественным соотношением сторон, с токенизацией patch-16 и ограничением до 256 патчей.

Лицензия — Apache-2.0. Описание не указывает базовую модель, поэтому происхождение весов по доступным сведениям определить нельзя. Результаты зависят от набора данных и протокола оценки; в частности, README отмечает снижение rank-1 относительно предыдущей версии на одном из наборов с реальных камер.

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

  • поиск того же автомобиля на записях разных камер
  • поиск возвращавшихся автомобилей по кадрам, снятым в разные дни
  • поиск похожих изображений автомобиля в галерее
  • сопоставление автомобильных кропов по косинусному сходству

Ограничения

На VeRi-776 модель уступает CLIP-ReID по mAP. На наборе реальных камер A её rank-1 ниже, чем у предыдущей версии; качество зависит от данных и протокола сопоставления.

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

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

Открыть на Hugging Face

vehicle_reid_siglip2_naflex_512d

Image-to-image vehicle re-identification. Crops in, 512-d unit-norm vectors out; compare with a dot product (cosine similarity).

Crops are consumed at their natural aspect ratio — no fixed square resize.

Benchmarks

mAP / rank-1. Figures are for the published 512-d weights. Best per row in bold.

benchmarkthis modelprevious versionCLIP-ReID ViT-B/16
Real-camera set A (480q / 1,243g)0.6674 / 0.80420.6660 / 0.83330.2550 / 0.5729
Real-camera set B (296q / 3,927g)0.7470 / 0.82090.7263 / 0.80740.2647 / 0.4155
VeRi-7760.6451 / 0.84390.5801 / 0.80450.7100 / 0.9321
VERI-Wild (test-3000)0.4474 / 0.57630.4158 / 0.53650.2274 / 0.4548

Protocol: gallery entries sharing both identity and camera with the query are dropped as junk, and queries left with no true match are skipped — except on real-camera set B, where that rule is deliberately disabled (see below).

Notes:

  • Real-camera set A is an in-house benchmark of fixed-camera captures — 290 identities, 1,243 annotator-verified images, 480 queries.
  • Real-camera set B is a second in-house set built from time-coincidence labels with human-confirmed identity merging. Its defining property is temporal separation: the median query sits 24.8 hours from its nearest true match, so it measures invariance across days, weather and lighting rather than across viewpoints seconds apart. The standard junk rule is disabled for it, because a vehicle returning to the same camera a day later is the task, not a trivial match — applying the rule would discard 92% of its positives.
  • CLIP-ReID still leads on VeRi-776, the benchmark it was fine-tuned for, though the gap has narrowed from 0.130 to 0.065 mAP. That gap is real and is reported rather than omitted. The two rows either side of it are the reason the comparison is worth making at all: CLIP-ReID leads VeRi by 0.065 mAP and trails by 0.41–0.48 mAP on both real-camera sets. In-domain leaderboard rank and deployment behaviour are close to unrelated.
  • CLIP-ReID figures were measured through its own published weights, not a reimplementation. Preprocessing was calibrated rather than assumed: its model card specifies ImageNet normalization, but CLIP normalization is what reproduces its published VeRi score (0.7100 / 0.9321, matched to four decimals), so that is what these figures use.
  • This version improves on the previous one across all four benchmarks in mAP. Its one regression is rank-1 on real-camera set A (0.8042 vs 0.8333): ranking quality deeper in the list improved while top-1 retrieval on that particular set did not.
  • The 512-d projection is near-free relative to the model's native 768-d width — it retains 99.8% of embedding variance and lands within ±0.004 mAP on every benchmark, improving two of the four (projection sheds low-variance noise directions).

Files

fileuse
vehicle_reid_siglip2_naflex_512d.onnxONNX Runtime (opset 17)
vehicle_reid_siglip2_naflex_512d.pthtorch bundle — {config, backbone, neck_scale, neck_shift, proj_weight, proj_bias}

ONNX interface — three inputs, one output:

pixel_values          (B, 256, 768)  float32   patch sequence, padded
pixel_attention_mask  (B, 256)       int64     1 = real patch, 0 = padding
spatial_shapes        (B, 2)         int64     per-image patch grid (rows, cols)
→ embedding           (B, 512)       float32   L2-normalized in-graph

Preprocessing: RGB, natural aspect ratio, patch-16 tokenisation to at most 256 patches, mean/std 0.5, BILINEAR.

Mixed patch grids within one batch are handled correctly — the positional resize happens in-graph per image, so batches need not be aspect-uniform.

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

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

GPU в ailist

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

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

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

Ревизия весов
870db62

0 моделей