MCPcopy Index your code
hub / github.com/poloclub/cnn-explainer

github.com/poloclub/cnn-explainer @0.9.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.9.1 ↗ · + Follow
107 symbols 263 edges 15 files 7 documented · 7% updated 2y ago0.9.1 · 2020-07-30★ 8,9976 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

CNN Explainer

An interactive visualization system designed to help non-experts learn about Convolutional Neural Networks (CNNs)

Build Status arxiv badge

For more information, check out our manuscript:

CNN Explainer: Learning Convolutional Neural Networks with Interactive Visualization. Wang, Zijie J., Robert Turko, Omar Shaikh, Haekyu Park, Nilaksh Das, Fred Hohman, Minsuk Kahng, and Duen Horng Chau. arXiv preprint 2020. arXiv:2004.15004.

Live Demo

For a live demo, visit: http://poloclub.github.io/cnn-explainer/

Running Locally

Clone or download this repository:

git clone git@github.com:poloclub/cnn-explainer.git

# use degit if you don't want to download commit histories
degit poloclub/cnn-explainer

Install the dependencies:

npm install

Then run CNN Explainer:

npm run dev

Navigate to localhost:5000. You should see CNN Explainer running in your broswer :)

To see how we trained the CNN, visit the directory ./tiny-vgg/. If you want to use CNN Explainer with your own CNN model or image classes, see #8 and #14.

Credits

CNN Explainer was created by Jay Wang, Robert Turko, Omar Shaikh, Haekyu Park, Nilaksh Das, Fred Hohman, Minsuk Kahng, and Polo Chau, which was the result of a research collaboration between Georgia Tech and Oregon State.

We thank Anmol Chhabria, Kaan Sancak, Kantwon Rogers, and the Georgia Tech Visualization Lab for their support and constructive feedback.

Citation

@article{wangCNNExplainerLearning2020,
  title = {{{CNN Explainer}}: {{Learning Convolutional Neural Networks}} with {{Interactive Visualization}}},
  shorttitle = {{{CNN Explainer}}},
  author = {Wang, Zijie J. and Turko, Robert and Shaikh, Omar and Park, Haekyu and Das, Nilaksh and Hohman, Fred and Kahng, Minsuk and Chau, Duen Horng},
  year = {2020},
  month = apr,
  archivePrefix = {arXiv},
  eprint = {2004.15004},
  eprinttype = {arxiv},
  journal = {arXiv:2004.15004 [cs]}
}

License

The software is available under the MIT License.

Contact

If you have any questions, feel free to open an issue or contact Jay Wang.

Core symbols most depended-on inside this repo

moveLayerX
called by 15
src/overview/intermediate-utils.js
drawArrow
called by 13
src/overview/intermediate-utils.js
drawIntermediateLayerLegend
called by 12
src/overview/intermediate-utils.js
call
called by 12
tiny-vgg/tiny-vgg.py
init2DArray
called by 10
src/utils/cnn.js
addOverlayGradient
called by 10
src/overview/intermediate-utils.js
gappedColorScale
called by 8
src/overview/draw-utils.js
addOverlayRect
called by 7
src/overview/intermediate-draw.js

Shape

Function 92
Class 9
Method 6

Languages

TypeScript87%
Python13%

Modules by API surface

src/utils/cnn.js24 symbols
src/overview/intermediate-draw.js16 symbols
tiny-vgg/tiny-vgg.py13 symbols
src/utils/cnn-tf.js12 symbols
src/overview/flatten-draw.js12 symbols
src/detail-view/DetailviewUtils.js9 symbols
src/overview/overview-draw.js8 symbols
src/overview/draw-utils.js6 symbols
src/overview/intermediate-utils.js5 symbols
src/utils/utlis.py1 symbols
rollup_start_dev.js1 symbols

Dependencies from manifests, versioned

@rollup/plugin-replace2.3.2 · 1×
@tensorflow/tfjs1.4.0 · 1×
rollup1.27.13 · 1×
rollup-plugin-commonjs10.0.0 · 1×
rollup-plugin-livereload1.0.0 · 1×
rollup-plugin-node-resolve5.2.0 · 1×
rollup-plugin-svelte5.1.1 · 1×
rollup-plugin-terser5.1.3 · 1×
sirv-cli0.4.4 · 1×
svelte3.16.4 · 1×

For agents

$ claude mcp add cnn-explainer \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact