Aller au contenu
ModelPrésentéExterne
Télécharger

Probe Ade20k 40k S1024 C64 In21k

Linear segmentation probe on the canvas features of canvit/canvitb16-add-vpe-pretrain-g128px-s512px-in21k-dv3b16-2026-02-02.

TypeOtherModèle de basecanvit/canvitb16-add-vpe-pretrain-g128px-s512px-in21k-dv3b16-2026-02-02VersionRevision 1cf5219

Source du modèle

Type
Other
Taille du fichier
625 KB
Modèle de base
canvit/canvitb16-add-vpe-pretrain-g128px-s512px-in21k-dv3b16-2026-02-02
Version
vRevision 1cf5219
Mis à jour
22 sept. 2026
Téléchargements
4
Source
Hugging Face

Description de la source

ADE20K Segmentation Probe — canvas 64×64 @ 1024px scene

Linear segmentation probe on the canvas features of canvit/canvitb16-add-vpe-pretrain-g128px-s512px-in21k-dv3b16-2026-02-02.

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-s1024-c64-in21k").eval()

# [B, H, W, D] canvas features from a CanViT forward pass
features = torch.randn(1, 64, 64, 1024)
with torch.inference_mode():
    logits = probe(features)    # [B, num_classes, H, W]
assert logits.shape == (1, 150, 64, 64)

Training

Architecture: LayerNorm → Dropout → BatchNorm → Conv1×1.

HyperparameterValue
Scene size1024 px
Canvas grid64 × 64
Glimpse size128 px
Timesteps (T)10
Training policyR-IID
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)

Sources

1 source
Hugging FacePrincipalVersion 1cf5219d5129349f5f3e1827d1fbe915fc6759e1
huggingface.co/canvit/probe-ade20k-40k-s1024-c64-in21k/tree/1cf5219d5129349f5f3e1827d1fbe915fc6759e1

Vérifié 8 sept.

Artefacts du modèle

1 artefact

model.safetensors

safetensors · 625 KB · SHA-256 4b187bfb2e82…35a6 · Hugging Face

Télécharger

Extraits de sources

2 extraits

--- license: mit library_name: canvit-pytorch pipeline_tag: image-segmentation tags: - canvit - active-vision - ade20k - segmentation-probe datasets: - scene_parse_150 base_model: canvit/canvitb16-add-vpe-pretrain-g128px-s512px-in21k-dv3b16-2026-02-02 --- # ADE20K Segmentation Probe — canvas 64×64 @ 1024px scene Linear segmentation probe on the canvas features of [canvit/canvitb16-add-vpe-pretrain-g128px-s512px-in21k-dv3b16-2026-02-02](https://huggingface.co/canvit/canvitb16-add-vpe-pretrain-g128px-s512px-in21k-dv3b16-2026-02-02). - **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-s1024-c64-in21k").eval() # [B, H, W, D] canvas features from a CanViT forward pass features = torch.randn(1, 64, 64, 1024) with torch.inference_mode(): logits = probe(features) # [B, num_classes, H, W] assert logits.shape == (1, 150, 64, 64) ``` ## Training Architecture: `LayerNorm → Dropout → BatchNorm → Conv1×1`. | Hyperparameter | Value | |---|---| | Scene size | 1024 px | | Canvas grid | 64 × 64 | | Glimpse size | 128 px | | Timesteps (T) | 10 | | Training policy | R-IID | | 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-s1024-c64-in21k