Repository navigation
CNN PR [2/4]: Add CNN base class and IceCubeDNN model - #894
Merged
Merged
Conversation
Closed
sevmag
marked this pull request as draft
May 27, 2026 01:07
This was referenced May 27, 2026
Aske-Rosted
reviewed
Sep 9, 2026
Aske-Rosted
left a comment
Collaborator
There was a problem hiding this comment.
So far we have been putting sub-components in src/graphnet/models/components/layers.py
Aske-Rosted
marked this pull request as ready for review
September 10, 2026 00:51
sevmag
force-pushed
the
features/cnn-icecube-dnn
branch
2 times, most recently
from
September 10, 2026 21:07
abe7680 to
45503b4
Compare
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.
Start a components module for convolutional building blocks so they can be shared across CNN backbones instead of living inside a single model file. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013B53eM2fgkivj8xxVnhjQ9
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013B53eM2fgkivj8xxVnhjQ9
icecube_dnn.py now contains only the IceCubeDNN model itself; all reusable convolution blocks live in components. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013B53eM2fgkivj8xxVnhjQ9
sevmag
force-pushed
the
features/cnn-icecube-dnn
branch
from
September 11, 2026 15:27
45503b4 to
380461a
Compare
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