panda-v2-instance.pilarnet-m

Instance segmentation with the Panda V2 detector (panda-detector-v2m1). 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-n1m-fp16.

import pimm

model = pimm.from_pretrained("DeepLearnPhysics/panda-v2-instance.pilarnet-m", device="cuda")
output = model(batch)
instances = model.postprocess(output)  # per-point instance ids, classes and confidences

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

Downloads last month
48
Safetensors
Model size
60.4M 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-instance.pilarnet-m