panda-v2-semseg.pilarnet-m

Semantic segmentation with an MLP head on the encoder (DefaultSegmentorV2). The encoder is panda-v2.pilarnet-m, pretrained on PILArNet-M, adapted with LoRA (rank 16) and fine-tuned with the head on 1M labelled events of PILArNet-M. These are the weights scored on the test split in the paper: the best validation checkpoint of run panda-v2-lar-semseg-mlp-lora-n1m.

import pimm

model = pimm.from_pretrained("DeepLearnPhysics/panda-v2-semseg.pilarnet-m", device="cuda")
output = model(batch)  # per-point class scores

Prepare inputs with the evaluation transforms of configs/panda/v2/pilarnet-m/semseg-panda-v2m1-0a-lora.py in pimm. On GPUs without FlashAttention, pass attention_backend="torch" to pimm.from_pretrained.

Downloads last month
50
Safetensors
Model size
56M params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Collection including DeepLearnPhysics/panda-v2-semseg.pilarnet-m