All Projects → fredhohman → shapeshop

fredhohman / shapeshop

Licence: MIT License
Towards Understanding Deep Learning Representations via Interactive Experimentation

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to shapeshop

Zeitline
A polylinear timeline with clustering, centred on interactions. — Doc and demo https://octree-gva.github.io/Zeitline/
Stars: ✭ 15 (-6.25%)
Mutual labels:  interactive
summit
🏔️ Summit: Scaling Deep Learning Interpretability by Visualizing Activation and Attribution Summarizations
Stars: ✭ 95 (+493.75%)
Mutual labels:  interpretability
linkextractor
A Docker tutorial using a link extraction application example
Stars: ✭ 41 (+156.25%)
Mutual labels:  interactive
vue-d3-chart
A interactive chart library based on vue and d3
Stars: ✭ 38 (+137.5%)
Mutual labels:  interactive
rescript-ink
ReScript bindings for Ink
Stars: ✭ 52 (+225%)
Mutual labels:  interactive
THREE.Interactive
Fast and simple interaction manager for three.js for enabling mouse and touch events on 3D objects
Stars: ✭ 49 (+206.25%)
Mutual labels:  interactive
purescript-pop
😃 A functional reactive programming (FRP) demo created with PureScript events and behaviors.
Stars: ✭ 33 (+106.25%)
Mutual labels:  interactive
knowledge-neurons
A library for finding knowledge neurons in pretrained transformer models.
Stars: ✭ 72 (+350%)
Mutual labels:  interpretability
word2viz
Visualization of semantic similarities in word embeddings.
Stars: ✭ 86 (+437.5%)
Mutual labels:  interactive
yargs-interactive
Interactive support for yargs
Stars: ✭ 40 (+150%)
Mutual labels:  interactive
HQ
HQ/Trivia solutions from Agora
Stars: ✭ 62 (+287.5%)
Mutual labels:  interactive
sage
For calculating global feature importance using Shapley values.
Stars: ✭ 129 (+706.25%)
Mutual labels:  interpretability
enquirer
Stylish, intuitive and user-friendly prompts, for Node.js. Used by eslint, webpack, yarn, pm2, pnpm, RedwoodJS, FactorJS, salesforce, Cypress, Google Lighthouse, Generate, tencent cloudbase, lint-staged, gluegun, hygen, hardhat, AWS Amplify, GitHub Actions Toolkit, @airbnb/nimbus, and many others! Please follow Enquirer's author: https://github.…
Stars: ✭ 6,523 (+40668.75%)
Mutual labels:  interactive
ibrew
🍻Interactive CLI for Homebrew – the missing package manager for macOS.
Stars: ✭ 33 (+106.25%)
Mutual labels:  interactive
perfume
Interactive performance benchmarking in Jupyter
Stars: ✭ 33 (+106.25%)
Mutual labels:  interactive
blackcrownproject
The archive of The Black Crown Project, a now-dismembered narrative web game.
Stars: ✭ 18 (+12.5%)
Mutual labels:  interactive
neuron-importance-zsl
[ECCV 2018] code for Choose Your Neuron: Incorporating Domain Knowledge Through Neuron Importance
Stars: ✭ 56 (+250%)
Mutual labels:  interpretability
stingray-plugin
Autodesk Interactive Plugin. Fork it, Build it, Ship it!
Stars: ✭ 28 (+75%)
Mutual labels:  interactive
interactive-pixelator
🌇 🌃 upload image and make interactive pixel art 🕹
Stars: ✭ 22 (+37.5%)
Mutual labels:  interactive
reactcci
React create component interactive CLI
Stars: ✭ 49 (+206.25%)
Mutual labels:  interactive

ShapeShop

Towards Understanding Deep Learning Representations via Interactive Experimentation

The Shape Workshop (ShapeShop) is an interactive system for visualizing and understanding what representations a neural network model has learned in images consisting of simple shapes. It encourages model building, experimentation, and comparison to helps users explore the robustness of image classifiers.

Read the paper.
View the poster.
Watch the teaser.


UI

Installation

We suggest creating a new environment to run ShapeShop. If you are using Anaconda, create a new environment called shapeshop by running

conda create --name shapeshop python=3

Switch to this environment by running

source activate shapeshop

Requirements: Python (3.5)

From within the new environment install the following packages with the versions listed below:

numpy==1.11.3
scipy==0.18.1
flask==0.11.1
keras==1.2.0
tensorflow==0.12.1
matplotlib==2.0.0
Pillow==4.1.1

For Keras, use our backend provided in keras.json. Your shapeshop environment's keras.json backend is located $HOME/.keras/keras.json. See keras.io/backend for more details.

Requirements: JavaScript

D3 4.0 (loaded via web, no installation needed)
jQuery 1.12.4 (loaded via web, no installation needed)

Download or Clone

Once the requirements have been met, simply download or clone the repository.

git clone https://github.com/fredhohman/shapeshop.git

Usage

Running ShapeShop

Run the system by

python server.py

from the shapeshop/ directory and pointing your browser to http://localhost:5000.

Using ShapeShop

To use ShapeShop, follow the enumerated steps.

  1. Select Training Data: Choose what training data you want include. The number of training images chosen corresponds to how many classes the image classifier contains. You must select at least two (when two are chosen, this corresponds to binary classification)!
  2. Select Model: Choose which model you want to use. MLP corresponds to a multilayer perceptron and CNN corresponds to a convolutional neural network.
  3. Select Hyperparameters: Choose what hyperparameters you want for model training and the image generation process.
  4. Train and Visualize: Click the button to train the model and generate your results!

ShapeShop uses the class activation maximization visualization technique to maximize each class to produce N images, each corresponding to one class. The system then presents all N resulting images, correlation coefficients, and the original class desired to be visualized back to the user for visual inspection and comparison. This process then repeats, where the user can select different images to train on, produce more images from new models, and compare to the previous results.

Citation

ShapeShop: Towards Understanding Deep Learning Representations via Interactive Experimentation.
Fred Hohman, Nathan Hodas, Duen Horng Chau.
Extended Abstracts, ACM Conference on Human Factors in Computing Systems (CHI). May 6-11, 2017. Denver, CO, USA.

Read the paper.
View the poster.
Watch the teaser: ACM, PoloClub.

License

MIT License. See LICENSE.md.

Credits

For questions and support contact Fred Hohman.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].