Code Monkey home page Code Monkey logo

evaldnn's Introduction

EvalDNN

EvalDNN is an open-source toolbox for model evaluation of deep learning systems, supporting multiple frameworks and metrics.

Author: Yongqiang Tian*, Zhihua Zeng*, Ming Wen, Yepang Liu, Tzu-yang Kuo, and Shing-Chi, Cheung.

*The first two author contribute equally.

This project is mainly supported by Microsoft Asia Cloud Research Software Fellow Award 2019

A video is here: https://youtu.be/v69bNJN2bJc

A paper to inroduce this tool is in submit and will be released soon.

Update on 9th March

The paper is accepted by ICSE'20 Demo Track

We have collected some feedback from users and we are preparing new version with more functionality.

Frameworks and Metrics

EvalDNN supports the model based on following frameworks:

  • TensorFlow
  • PyTorch
  • Keras
  • MXNet

EvalDNN supports the model based on following metrics:

  • Top-K accuracy
  • Neuron Coverage
  • Robustness

Usage

Installation

pip install EvalDNN

Evaluate a model

Check demo/demo.ipynb.

More examples are avaiable to the evaldnn/benchmarks/ and evaldnn/tests The examples covers all 4 frameworks and 3 metrics.

Extension

Add a new framework

Create a new .py under evaldnn.models then follow the exising implementation in evaldnn.models

Add a new metric

Create a new .py under evaldnn.metrics then follow the exising implementation in evaldnn.metrics

Benchmark

The full benchmark is available here: https://yqtianust.github.io/EvalDNN-benchmark/index.html

The code to reproduce the results in benchmark is in evaldnn/benchmarks/. For example, run

python3 evaldnn/benchmarks/eval_keras

To evaluate the model using ImageNet dataset, please download it and put it into /EvalDNN-data/ILSVRC2012_img_val.

The file ILSVRC2012_validation_ground_truth.txt in github release should also be put into above folder.

evaldnn's People

Contributors

yqtianust avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

yhl2018

evaldnn's Issues

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.