Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
happy8825/siglip-ecva-best · Hugging Face
[go: Go Back, main page]

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

SigLIP Classification Model - best

Pushed: 2025-12-16T15:39:49.421242Z

Metrics

  • Best (accuracy): 0.6731601731601732

Train Sampling

  • mode: balanced
  • before: normal=56738 abnormal=30844 total=87582
  • after: normal=30844 abnormal=30844 total=61688

Inference

from transformers import AutoImageProcessor, AutoModelForImageClassification
from PIL import Image
import torch
processor = AutoImageProcessor.from_pretrained('happy8825/siglip-ecva-best')
model = AutoModelForImageClassification.from_pretrained('happy8825/siglip-ecva-best')
img = Image.open('your_image.png').convert('RGB')
inputs = processor(images=img, return_tensors='pt')
with torch.no_grad():
    logits = model(**inputs).logits
pred = logits.argmax(-1).item()
print(model.config.id2label[pred])
Downloads last month
3
Safetensors
Model size
92.9M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support