Skip to content
ModelListedExternal
Download

Probe Ade20k 40k S512 C9 In21k

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

KindOtherBase modelcanvit/canvitb16-add-vpe-pretrain-g128px-s512px-in21k-dv3b16-2026-02-02VersionRevision 3f5d70e

Model source

Kind
Other
File size
625 KB
Base model
canvit/canvitb16-add-vpe-pretrain-g128px-s512px-in21k-dv3b16-2026-02-02
Version
vRevision 3f5d70e
Updated
Sep 22, 2026
Downloads
9
Source
Hugging Face

Source description

ADE20K Segmentation Probe — canvas 9×9 @ 512px 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-s512-c9-in21k").eval()

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

Training

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

HyperparameterValue
Scene size512 px
Canvas grid9 × 9
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 FacePrimaryVersion 3f5d70e62005a68928eb409505bc37acde246d32
huggingface.co/canvit/probe-ade20k-40k-s512-c9-in21k/tree/3f5d70e62005a68928eb409505bc37acde246d32

Verified Sep 8

Model artifacts

1 artifact

model.safetensors

safetensors · 625 KB · SHA-256 943f93f46acf…68e1 · Hugging Face

Download

Source excerpts

2 excerpts

--- 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 9×9 @ 512px 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-s512-c9-in21k").eval() # [B, H, W, D] canvas features from a CanViT forward pass features = torch.randn(1, 9, 9, 1024) with torch.inference_mode(): logits = probe(features) # [B, num_classes, H, W] assert logits.shape == (1, 150, 9, 9) ``` ## Training Architecture: `LayerNorm → Dropout → BatchNorm → Conv1×1`. | Hyperparameter | Value | |---|---| | Scene size | 512 px | | Canvas grid | 9 × 9 | | 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: 9 downloads · 0 likes · Pipeline image-segmentation · Library canvit-pytorch · Repo canvit/probe-ade20k-40k-s512-c9-in21k