Views
No views yet
google/siglip2-base-patch16-224K ranks (e.g., top-10). Unlike MRR or strict top-1 accuracy, this metric rewards consistent retrieval of all relevant matches near the top ranks, rather than a few perfect hits with others ranked very low.| Dataset | #Identities | #Images | #Queries |
|---|---|---|---|
| CUHK | 1000 | 3074 | 6156 |
| ICFG | 946 | 19848 | 19873 |
| IIITD | 2500 | 2500 | 5000 |
| ITCPR | 1000 | 1620 | 1620 |
| PRW | 450 | 2057 | 4114 |
| PETA | 1706 | 3933 | 4614 |
| RSTPReid | 200 | 1000 | 1932 |
| SYNTH | 1000 | 1000 | 1000 |
| Final (All) | 8802 | 35032 | 44309 |
| Dataset | Top-1 | Top-5 | Top-10 | MRR | CMC AUC (20) |
|---|---|---|---|---|---|
| CUHK | 66.2 | 87.5 | 92.7 | 74.1 | 91.5 |
| ICFG | 52.9 | 76.6 | 83.8 | 61.1 | 82.8 |
| IIITD | 68.4 | 89.2 | 93.7 | 77.8 | 92.7 |
| ITCPR | 42.7 | 68.6 | 78.9 | 52.0 | 78.0 |
| PRW | 60.5 | 84.9 | 91.6 | 69.9 | 90.5 |
| PETA | 44.8 | 74.3 | 83.7 | 56.8 | 82.2 |
| RSTPReid | 50.5 | 78.5 | 86.2 | 60.9 | 85.3 |
| SYNTH | 47.2 | 72.5 | 81.9 | 58.9 | 80.9 |
| Final (All) | 51.5 | 74.9 | 82.3 | 60.4 | 81.3 |
| Model Variant | Top-1 | Top-5 | Top-10 | MRR | CMC AUC (20) |
|---|---|---|---|---|---|
| google/siglip-base-patch16-224 | 16.4 | 33.1 | 41.4 | 23.8 | 41.1 |
| google/siglip2-base-patch16-224 | 12.3 | 26.3 | 34.2 | 18.7 | 34.2 |
| finetuned_siglip2 | 53.8 | 77.0 | 83.8 | 62.6 | 82.8 |
| finetuned_siglip2_reid | 51.5 | 74.9 | 82.3 | 60.4 | 81.3 |
| siglip2-person-description-128 | 51.0 | 75.0 | 82.4 | 60.4 | 81.4 |
| siglip2-person-description-64 | 49.0 | 73.8 | 81.7 | 58.6 | 80.5 |
| siglip2-person-description-32 | 43.1 | 70.0 | 78.2 | 53.5 | 77.3 |
| Model Variant | Market 1501 | MSMT17 | Duke MTMC | EntireID |
|---|---|---|---|---|
| google/siglip-base-patch16-224 | 20.3 / 36.2 / 43.3 | 60.3 / 73.1 / 77.5 | 60.8 / 75.1 / 79.5 | 30.0 / 45.5 / 51.9 |
| google/siglip2-base-patch16-224 | 22.9 / 38.0 / 45.9 | 59.1 / 71.3 / 76.2 | 60.2 / 74.2 / 78.7 | 32.3 / 47.1 / 54.0 |
| finetuned_siglip2 | 86.8 / 94.7 / 96.4 | 87.8 / 93.0 / 94.5 | 91.1 / 95.3 / 96.4 | 73.5 / 86.0 / 89.5 |
| finetuned_siglip2_reid | 90.7 / 97.0 / 98.4 | 92.8 / 96.4 / 97.2 | 92.7 / 96.2 / 97.0 | 79.3 / 89.8 / 92.1 |
| siglip-person-description-64 | 86.0 / 93.9 / 96.2 | 84.6 / 91.0 / 92.8 | 89.8 / 94.8 / 95.7 | 68.3 / 82.4 / 86.3 |
| siglip2-person-description-64 | 87.1 / 95.1 / 96.5 | 84.4 / 90.9 / 92.9 | 89.0 / 94.4 / 95.6 | 68.0 / 83.0 / 86.9 |
| Model Variant | Market 1501 | MSMT17 | Duke MTMC | EntireID |
|---|---|---|---|---|
| google/siglip-base-patch16-224 | 6.4 | 13.2 | 17.5 | 16.1 |
| google/siglip2-base-patch16-224 | 7.5 | 12.0 | 17.0 | 17.2 |
| finetuned_siglip2 | 73.5 | 48.7 | 60.6 | 54.4 |
| finetuned_siglip2_reid | 81.0 | 66.6 | 66.8 | 60.6 |
| siglip-person-description-64 | 72.3 | 44.0 | 57.1 | 48.9 |
| siglip2-person-description-64 | 73.4 | 44.1 | 57.0 | 49.8 |
1
2# Import custom model code from repository
3from modeling_resipvd import ReSiPVDModel
4
5# Load the model from Hugging Face Hub
6processor = AutoProcessor.from_pretrained("google/siglip2-base-patch16-224")
7model = AutoModel.from_pretrained("MarketaJu/siglip2-person-description-reid")
8
9# Example: get embeddings
10from skimage.io import imread
11image = imread("test.jpg")
12text_inputs = processor(text=["random person description"], return_tensors="pt", padding="max_length", max_length=64, truncation=True)
13image_inputs = processor(images=image, return_tensors="pt", padding="max_length", max_length=64, truncation=True)
14text_embeds = model.get_text_features(**text_inputs)
15image_embeds = model.get_image_features(**image_inputs)
16
17
18---
19
20## Citation
21
22If you use this model, please cite:
23
24```bibtex
25@misc{reduced-siglip-visualdescription,
26 title={Reduced SigLIP for Visual Descriptions},
27 author={Marketa Jurankova},
28 year={2025},
29 publisher={Hugging Face},
30 howpublished={\url{https://huggingface.co/collections/MarketaJu/reduced-siglip-for-person-visual-description}}
31}
32