CNN PR [2/4]: Add CNN base class and IceCubeDNN model#894
Draft
sevmag wants to merge 1 commit into
Draft
Conversation
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.
Draft
This was referenced May 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 ofGNN) defining the interface for convolutional backbones operating on image-shapedDataobjects.IceCubeDNN— configurable CNN backbone following the IceCube DNN reconstruction architecture.cnn/__init__.pyexportsCNNandIceCubeDNN.Dependencies / ordering
torch,torch_geometric.data.Data, andgraphnet.models.Model— there is no import-level dependency on the image-representation PR (CNN PR [1/4]: Add image data representation for CNN backbones #892). They consume image-shapedDataobjects at runtime. So this PR is independently importable, but conceptually it's meant to be used together with CNN PR [1/4]: Add image data representation for CNN backbones #892.LCSCmodel is intentionally not included here (its import was removed fromcnn/__init__.py); it lands in the next split PR.Test plan
black,flake8,docformatter,pydocstyle,mypy, EOL/whitespace)from graphnet.models.cnn import CNN, IceCubeDNNsucceedsSplit from #813.
🤖 Generated with Claude Code