Downloads · 30 days
0
apatc/person_reid_siglip2_naflex_512d
person_reid_siglip2_naflex_512d is a image feature extraction model from apatc. Use it for the image feature extraction task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
Image-to-image person re-identification. Crops in, 512-d unit-norm vectors out; compare with a dot product (cosine similarity).
Downloads · 30 days
0
Access
Public
Updated Aug 19, 2026
Repo size
751 MB
Likes
0
Public
Click a slice to open those files.
.onnx378 MB · 50%
From the Hugging Face model README
Image-to-image person 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 256×128 resize.
mAP / rank-1 under the standard re-ID protocol (gallery entries sharing both identity and camera with the query are dropped as junk; queries left with no true match are skipped). Best per row in bold.
| benchmark | this model | CLIP-ReID ViT-B/16 | NVIDIA ReID Transformer swin_base | FastReID BoT-R50 |
|---|---|---|---|---|
| Real-camera surveillance set (200q / 598g) | 0.9230 / 0.9750 | 0.8169 / 0.8900 | 0.6808 / 0.7550 | 0.5861 / 0.6600 |
| Mixed-domain gallery (600q / 13,980g) | 0.7949 / 0.9100 | 0.5858 / 0.7583 | 0.5139 / 0.6383 | 0.4257 / 0.5300 |
| ENTIRe-ID | 0.3981 / 0.3903 | 0.3021 / 0.3099 | 0.1875 / 0.1899 | 0.1069 / 0.1116 |
| Market-1501 | 0.7360 / 0.8694 | 0.7784 / 0.9026 | — | — |
| MSMT17 | 0.4681 / 0.7117 | 0.1503 / 0.3831 | — | — |
| VC-Clothes (clothes-changing) | 0.4756 / 0.6820 | 0.4838 / 0.6997 | — | — |
Notes:
| file | use |
|---|---|
person_reid_siglip2_naflex_512d.onnx | ONNX Runtime (opset 17) |
person_reid_siglip2_naflex_512d.pth | torch 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. Guards: minimum side 32 px, aspect ratio capped at 5:1.