Views
No views yet
| Backbone | DINOv3 ViT-B/16 (dinov3_vitb16), pretrained on LVD-1689M |
| Classifier | Linear head (768 → 84), dropout 0.1 |
| Fine-tuning | Full model (backbone unfrozen), AdamW, lr=1e-4, wd=1e-4 |
| Experiment | exp11, fold 0, epoch 14 |
| Input size | 512×512 RGB, ImageNet normalization |
| Top-1 | Top-3 | Top-5 |
|---|---|---|
| 63.5% | 76.0% | 80.6% |
dinov3_vitb16, pretrained on the LVD-1689M web dataset.dinov3_repo/ and is loaded via torch.hub.dinov3_repo/MODEL_CARD.md for full DINOv3 model details.Note: Thedinov3_repo/folder in this HuggingFace repo contains the DINOv3 source code needed to instantiate the backbone viatorch.hub.load(..., source="local"). This is a local copy required because DINOv3 is not yet available on the standard torch.hub registry.
bci-crown-model/
├── dinov3-14-0.000.ckpt # Fine-tuned Lightning checkpoint (backbone + classifier)
├── dinov3_vitb16_pretrain_lvd1689m # DINOv3 ViT-B/16 pretrained backbone weights
├── random_split_species_84.json # List of 84 class names (index = model output index)
└── dinov3_repo/ # DINOv3 source code for torch.hub.load
├── hubconf.py
├── dinov3/
└── ...1from pathlib import Path
2from huggingface_hub import hf_hub_download, snapshot_download
3import torch
4from bci_crown_classifier.models.dinov3_classifier import DinoV3LinearClassifier
5
6HF_REPO = "sulagnasaharasha/bci-crown-model"
7
8ckpt_path = hf_hub_download(HF_REPO, "dinov3-14-0.000.ckpt")
9weights_path = hf_hub_download(HF_REPO, "dinov3_vitb16_pretrain_lvd1689m")
10repo_dir = snapshot_download(HF_REPO, allow_patterns="dinov3_repo/**")
11repo_path = Path(repo_dir) / "dinov3_repo"
12
13model = DinoV3LinearClassifier.load_from_checkpoint(
14 ckpt_path,
15 map_location="cpu",
16 strict=False,
17 weights_path=weights_path,
18 repo_path=str(repo_path),
19)
20model.eval()random_split_species_84.json.1@misc{dinov3,
2 title = {DINOv3: Learning Robust Visual Features without Supervision},
3 author = {Oquab, Maxime and others},
4 year = {2024},
5}