Panda-V2-Decoder

The query decoder of the Panda V2 detector (panda-detector-v2m1), pretrained on synthetic scenes and used to initialize the decoder in the Panda V2 fine-tuning recipes of pimm, for LArTPC, sPHENIX and water Cherenkov detectors alike.

decoder_core.pth holds the decoder blocks and final norm (92 tensors). The core was pretrained with a learned bank of 64 queries, but its attention had no positional terms for the queries or the points. Set zero_init_positions=True on the detector to start the query positional table (query_embed) and the point positional MLP's output at zero, as in the paper. The query bank is not included: the queries (query_feat), point projection and class and regression heads keep their fresh initialization, as in the paper.

The recipes in configs/panda/v2/finetune load it with

model = dict(model=dict(type="panda-detector-v2m1", zero_init_positions=True, ...))
hooks = [
    dict(
        type="CheckpointLoader",
        source="hf://DeepLearnPhysics/Panda-V2-Decoder/decoder_core.pth",
        replacements={"decoder.": "model.decoder."},
        strict=False,
    ),
]

strict=False is required because the file holds only the decoder.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Collection including DeepLearnPhysics/Panda-V2-Decoder