Downloads · 30 days
0
mgmbiik/image-context-sorter-dinov2
image-context-sorter-dinov2 is a image classification model from mgmbiik. Use it when you need a label for an image. It is set up for timm. The card lists the license as other.
Restoration-work photo classifier for 하우스캐치 (water-damage restoration). Classifies a single photo into one of 8 work-type / stage categories.
Downloads · 30 days
0
Access
Public
Updated Jul 9, 2026
Repo size
343 MB
Likes
0
Public
Click a slice to open those files.
.pt343 MB · 100%
From the Hugging Face model README
Restoration-work photo classifier for 하우스캐치 (water-damage restoration). Classifies a single photo into one of 8 work-type / stage categories.
Private / internal — trained on client work photos; not for redistribution.
| Model | macro-F1 | top-2 |
|---|---|---|
| 518px frozen linear probe (baseline) | 0.601 | 0.830 |
| 224px frozen linear probe (control) | 0.617 | 0.800 |
| 224px partial fine-tune (this model) | 0.737 | 0.895 |
Every class improved over the probe; the previously weakest class (곰팡이제거) rose 0.44 → 0.67 and its 곰팡이제거↔누수탐지 confusion was eliminated.
vit_base_patch14_dinov2.lvd142m (timm / Meta DINOv2)0 철거중 · 1 비포1 · 2 애프터 · 3 보양작업 · 4 석고보드설치 · 5 누수탐지 · 6 도배작업 · 7 곰팡이제거
import timm, torch
from torchvision import transforms as T
model = timm.create_model(
"vit_base_patch14_dinov2.lvd142m", pretrained=False, num_classes=8, img_size=224
)
model.load_state_dict(torch.load("finetune.pt", map_location="cpu"))
model.eval()
tf = T.Compose([
T.Resize(224), T.CenterCrop(224), T.ToTensor(),
T.Normalize((0.485, 0.456, 0.406), (0.229, 0.224, 0.225)),
])
# logits = model(tf(img).unsqueeze(0))
# probs = torch.softmax(logits / 2.44, dim=1) # temperature-calibrated
This is a derivative of Meta's DINOv2 (vit_base_patch14_dinov2.lvd142m).
Use is governed by the DINOv2 model license — see
https://github.com/facebookresearch/dinov2. Confirm redistribution / commercial
terms before any external distribution.
state_dict (finetune.pt). Consider converting to
safetensors for safer, code-free loading.config.json for the exact class list, temperature, and preprocessing.