|
Download README.md from DeepLearnPhysics/panda-v2-instance.tpcpp-10m: direct link, hf CLI and curl.
- Browser
- Download file 1.03 kB
-
https://huggingface.co/DeepLearnPhysics/panda-v2-instance.tpcpp-10m/resolve/main/README.md
- Command line
-
hf download hf://DeepLearnPhysics/panda-v2-instance.tpcpp-10m/README.md
-
curl -L -o README.md https://huggingface.co/DeepLearnPhysics/panda-v2-instance.tpcpp-10m/resolve/main/README.md
1.03 kB
| library_name: pimm | |
| tags: [particle-physics, point-cloud, lora] | |
| # panda-v2-instance.tpcpp-10m | |
| Instance segmentation with the Panda V2 detector (`panda-detector-v2m1`). The encoder is [`panda-v2.tpcpp-10m`](https://huggingface.co/DeepLearnPhysics/panda-v2.tpcpp-10m), pretrained on TPCpp-10M, adapted with LoRA (rank 16) and fine-tuned with the head on all 70K labelled events of TPCpp-10M. These are the weights scored on the test split in the paper: the best validation checkpoint of run `panda-v2-sphenix-n70k`. | |
| ```python | |
| import pimm | |
| model = pimm.from_pretrained("DeepLearnPhysics/panda-v2-instance.tpcpp-10m", 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/tpcpp-10m/instance-panda-v2m1-0a-lora.py` in [pimm](https://github.com/DeepLearnPhysics/particle-imaging-models). On GPUs without FlashAttention, pass `attention_backend="torch"` to `pimm.from_pretrained`. | |