Two Branches Support after Final Convolution Layer #69
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.
Pull Request: Two Branches Support after Final Convolution Layer
Summary
This pull request adds support for dual branches in the AlexNet visualization after the final convolutional layer. Users can now dynamically add, remove, and visualize two independent branches ("Branch 1" and "Branch 2"). This is useful for architectures with multi-task heads, auxiliary classifiers, or Siamese/parallel branches.
Some papers that use this architecture include:
Changes
HTML (
AlexNet.html)#architecture2:.branch-1for Branch 1 layers.branch-2for Branch 2 layersJavaScript (
AlexNet.js)architecture2from an array to an object:{ branch1: [], branch2: [] }.UI Behavior
Dynamic Interface Elements
User Workflow
Add convolutional/dense layers to the main architecture as before.
Add layers to either or both branches after the final convolution layer.
Visualization shows the main trunk and both branches, clearly separated and connected.
Images
Dual Branch Neural Network:
Sidebar:
Notes:
Further Improvements