Saltar al contenido
ModelPublicadoExterno
Descargar

Probe Ade20k 40k Dv3b 160px

Linear segmentation probe on the spatial features of facebook/dinov3-vitb16-pretrain-lvd1689m.

TipoOtherModelo basefacebook/dinov3-vitb16-pretrain-lvd1689mVersiónRevision 2af997b

Fuente del modelo

Tipo
Other
Tamaño del archivo
463 KB
Modelo base
facebook/dinov3-vitb16-pretrain-lvd1689m
Versión
vRevision 2af997b
Actualizado
21 sept 2026
Descargas
4
Fuente
Hugging Face

Descripción de la fuente

ADE20K Segmentation Probe — DINOv3 ViT-B/16 @ 160px input

Linear segmentation probe on the spatial features of facebook/dinov3-vitb16-pretrain-lvd1689m.

Usage

uv add "canvit-pytorch @ git+https://github.com/m2b3/CanViT-PyTorch.git"
import torch
from canvit_pytorch.probes import SegmentationProbe

probe = SegmentationProbe.from_pretrained("canvit/probe-ade20k-40k-dv3b-160px").eval()

# [B, H, W, D] DINOv3 ViT-B/16 spatial features at 160px input
features = torch.randn(1, 10, 10, 768)
with torch.inference_mode():
    logits = probe(features)    # [B, num_classes, H, W]
assert logits.shape == (1, 150, 10, 10)

Training

Architecture: Dropout → BatchNorm → Conv1×1.

HyperparameterValue
Input size160 × 160 px
OptimizerAdamW
Peak LR\( 3 \times 10^{-4} \)
Weight decay\( 10^{-3} \)
LR schedule1,500-step warmup → cosine decay
Batch size16
Max steps40,000
Dropout0.1
AugmentationRandomResizedCrop scale [0.5, 2] + HFlip
Precisionbf16 (AMP)

Fuentes

1 fuente
Hugging FacePrincipalVersión 2af997b3fc71a5d940610bfe9f7146551390b563
huggingface.co/canvit/probe-ade20k-40k-dv3b-160px/tree/2af997b3fc71a5d940610bfe9f7146551390b563

Verificado 8 sept

Artefactos del modelo

1 artefacto

model.safetensors

safetensors · 463 KB · SHA-256 06610f86f9eb…6b79 · Hugging Face

Descargar

Extractos de fuentes

2 extractos

--- license: mit library_name: canvit-pytorch pipeline_tag: image-segmentation tags: - dinov3 - ade20k - segmentation-probe datasets: - scene_parse_150 base_model: facebook/dinov3-vitb16-pretrain-lvd1689m --- # ADE20K Segmentation Probe — DINOv3 ViT-B/16 @ 160px input Linear segmentation probe on the spatial features of [facebook/dinov3-vitb16-pretrain-lvd1689m](https://huggingface.co/facebook/dinov3-vitb16-pretrain-lvd1689m). - **Paper**: [arXiv:2603.22570](https://arxiv.org/abs/2603.22570) - **Training code**: [github.com/m2b3/CanViT-specialize](https://github.com/m2b3/CanViT-specialize) ## Usage ```bash uv add "canvit-pytorch @ git+https://github.com/m2b3/CanViT-PyTorch.git" ``` ```python import torch from canvit_pytorch.probes import SegmentationProbe probe = SegmentationProbe.from_pretrained("canvit/probe-ade20k-40k-dv3b-160px").eval() # [B, H, W, D] DINOv3 ViT-B/16 spatial features at 160px input features = torch.randn(1, 10, 10, 768) with torch.inference_mode(): logits = probe(features) # [B, num_classes, H, W] assert logits.shape == (1, 150, 10, 10) ``` ## Training Architecture: `Dropout → BatchNorm → Conv1×1`. | Hyperparameter | Value | |---|---| | Input size | 160 × 160 px | | Optimizer | AdamW | | Peak LR | \\( 3 \times 10^{-4} \\) | | Weight decay | \\( 10^{-3} \\) | | LR schedule | 1,500-step warmup → cosine decay | | Batch size | 16 | | Max steps | 40,000 | | Dropout | 0.1 | | Augmentation | RandomResizedCrop scale [0.5, 2] + HFlip | | Precision | bf16 (AMP) |

Source context: 4 downloads · 0 likes · Pipeline image-segmentation · Library canvit-pytorch · Repo canvit/probe-ade20k-40k-dv3b-160px