Skip to content

CNN PR [3/4]: Add LCSC CNN model#895

Draft
sevmag wants to merge 2 commits into
graphnet-team:mainfrom
sevmag:features/cnn-lcsc
Draft

CNN PR [3/4]: Add LCSC CNN model#895
sevmag wants to merge 2 commits into
graphnet-team:mainfrom
sevmag:features/cnn-lcsc

Conversation

@sevmag
Copy link
Copy Markdown
Collaborator

@sevmag sevmag commented May 27, 2026

Summary

Fourth in the series of PRs being carved out of #813 (see the split tracking comment). Adds the LCSC convolutional backbone, building on the CNN base class from #894.

What's new

  • LCSC — convolutional model subclassing CNN (src/graphnet/models/cnn/lcsc.py).
  • Registers LCSC in cnn/__init__.py alongside CNN and IceCubeDNN.

⚠️ Stacked on #894 — draft until that merges

This branch is stacked on top of #894 (CNN base + IceCubeDNN). Because the base branch only exists in the fork, this PR targets main directly, so its current diff includes #894's files (cnn.py, icecube_dnn.py) as well as the net-new lcsc.py. Once #894 is merged into main, GitHub will automatically narrow this diff to just lcsc.py + the one-line __init__.py change.

Review/merge order: review #894 first; this PR is kept as a draft until #894 lands, then it'll be marked ready.

Test plan

Split from #813.

🤖 Generated with Claude Code

sevmag added 2 commits May 26, 2026 21:03
Introduce `graphnet.models.cnn`, the convolutional-network counterpart
to the existing GNN backbones, intended to consume the image data
representation added in the image-representation PR.

- `CNN` — abstract base class (analogue of `GNN`) defining the
  interface for convolutional backbones operating on image-shaped
  `Data` objects.
- `IceCubeDNN` — configurable CNN backbone following the IceCube DNN
  reconstruction architecture.

`cnn/__init__.py` exports `CNN` and `IceCubeDNN`; the `LCSC` model
lands in a follow-up PR.

Split from graphnet-team#813.
Add the LCSC convolutional backbone, building on the `CNN` base class.
Registered in `cnn/__init__.py` alongside `CNN` and `IceCubeDNN`.

Stacked on the CNN-base PR. Split from graphnet-team#813.
@sevmag sevmag mentioned this pull request May 27, 2026
@sevmag sevmag changed the title Add LCSC CNN model CNN PR [2/4]: Add LCSC CNN model May 27, 2026
@sevmag sevmag changed the title CNN PR [2/4]: Add LCSC CNN model CNN PR [3/4]: Add LCSC CNN model May 27, 2026
@sevmag sevmag changed the title CNN PR [3/4]: Add LCSC CNN model CNN PR [3/4]: Add CNN models May 27, 2026
@sevmag sevmag changed the title CNN PR [3/4]: Add CNN models CNN PR [3/4]: Add LCSC CNN model May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant