Skip to content

CNN PR [2/4]: Add CNN base class and IceCubeDNN model#894

Draft
sevmag wants to merge 1 commit into
graphnet-team:mainfrom
sevmag:features/cnn-icecube-dnn
Draft

CNN PR [2/4]: Add CNN base class and IceCubeDNN model#894
sevmag wants to merge 1 commit into
graphnet-team:mainfrom
sevmag:features/cnn-icecube-dnn

Conversation

@sevmag
Copy link
Copy Markdown
Collaborator

@sevmag sevmag commented May 27, 2026

Summary

Third in the series of PRs being carved out of #813 (see the split tracking comment). Introduces graphnet.models.cnn, the convolutional-network counterpart to the existing GNN backbones, intended to consume the image data representation added in #892.

What's new

  • 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.

Dependencies / ordering

Test plan

  • Pre-commit clean (black, flake8, docformatter, pydocstyle, mypy, EOL/whitespace)
  • from graphnet.models.cnn import CNN, IceCubeDNN succeeds
  • CI green

Split from #813.

🤖 Generated with Claude Code

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.
@sevmag sevmag mentioned this pull request May 27, 2026
@sevmag sevmag marked this pull request as draft May 27, 2026 01:07
@sevmag sevmag changed the title Add CNN base class and IceCubeDNN model CNN PR [2/4]: Add CNN base class and IceCubeDNN 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