GithubHelp home page GithubHelp logo

black-eyes-sgc / deepviz Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bruckner/deepviz

0.0 2.0 0.0 7.78 MB

Visualization tools for deep convolutional networks

Makefile 0.39% Shell 0.30% Python 46.95% JavaScript 50.58% CSS 0.45% HTML 1.33%

deepviz's Introduction

DeepViz

DeepViz is an interactive tool for visualizing deep convolutional neural networks that perform image classification.

Screenshot of Main UI

Installation

DeepViz's Python library dependencies are listed in ./webui/requirements.txt; you can install them using pip by running pip install -r requirements.txt. Some of these libraries depend on scipy and numpy, which can take a while to build from their sources. If you want to quickly get up and running on a machine that doesn't have these dependencies installed, it might be easiest to install a Python distribution like Anaconda that includes these libraries, then install the rest of the libraries using pip install -r requirements.txt.

Usage

Sample Datasets

DeepViz requires several input datasets: the image corpus used to train the model, a series of checkpoints of the model during its training, and a set of precomputed statistics about the model's predictions. To get started quickly, you can use these precomputed datasets:

Running the Web UI

To start the web UI, run

./webui/runserver.py --model MODEL --cifar CIFAR --model-stats MODEL_STATS

where MODEL is the path to a path to a directory of snapshots of models trained by cuda-convnet, CIFAR is a path to a copy of the CIFAR-10 image corpus, and MODEL_STATS is a database of statistics computed offline on the trained models (see section below).

If everything worked correctly, you should be able to browse to http://localhost:5000 to view the UI.

Training a Model

Computing Model Statistics

The model statistics database contains pre-computed statistics about the model's predictions at each checkpoint. These databases can be generated from a trained model using the build_model_stats_db script:

./webui/deepviz_webui/build_model_stats_db.py --model MODEL --cifar CIFAR --num-classes 10 --output-dir MODEL_STATS

deepviz's People

Contributors

bruckner avatar etrain avatar joshrosen avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.