Model Module
The spine.model module contains the deep learning architectures used by SPINE for semantic segmentation, clustering, endpoint finding, graph construction, and end-to-end reconstruction tasks.
Machine learning models for neutrino physics reconstruction.
This module handles the construction, training, and execution of deep learning models for liquid argon time projection chamber (LArTPC) data analysis.
Model management:
ModelManagercoordinates model instantiation, training, evaluation, and checkpoints.
Supported model families:
UResNetfor semantic segmentation.PPNfor endpoint proposals.SPICEfor point-cloud instance clustering.GrapPAand related graph models for relational reconstruction.End-to-end chain models for full reconstruction workflows.
Key features:
Modular configuration-driven model assembly.
Support for sparse and dense convolutions.
Graph neural network components.
Mixed precision and distributed training support.
Example
from spine.model import ModelManager
manager = ModelManager(config)
manager.train(train_loader, val_loader)
results = manager.forward(data_batch)
The module integrates with the broader SPINE ecosystem for data I/O, visualization, and post-processing workflows.
Module Index
The model package is built around configuration-driven instantiation through spine.model.ModelManager. It includes convolutional, graph-based, and hybrid architectures tailored to sparse detector reconstruction rather than generic ML utilities.
Centralize all methods associated with a machine-learning model. |
|
UResNet segmentation model and its loss. |
|
Module that defines a model and a loss to jointly train the semantic segmentation task and the point proposal task. |
|
Module with the core full reconstruction chain. |
|
Whole-image classification/regression tasks. |
|
Image classification module. |
|
GrapPA: Graph Neural Network for Particle Aggregation. |
|
Supervi dense clustering model and its loss. |
|
Contains reusable layers for various models. |