Giter Site home page Giter Site logo

shengdewu / pwlq Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jun-fang/pwlq

0.0 0.0 0.0 2.38 MB

Code for our paper at ECCV 2020: Post-Training Piecewise Linear Quantization for Deep Neural Networks

License: Other

Shell 3.35% Python 96.65%

pwlq's Introduction

PWLQ

Updates

2020/07/16 - We are working on getting permission from our institution to release our source code. We will release it once we are granted approval.

2020/08/24 - Code released.


PyTorch Code for our paper at ECCV 2020 (oral presentation): Post-Training Piecewise Linear Quantization for Deep Neural Networks [Paper] [arXiv]

By Jun Fang, Ali Shafiee, Hamzah Abdel-Aziz, David Thorsley, Georgios Georgiadis, Joseph Hassoun

  • Approach
  • Performance

Requirements

The code was verified on Python-3.6+, PyTorch-1.2+.

Usage

Check PWLQ at quant/pwlq.py.

Run bash eval.sh to evaluate PWLQ on ImageNet. Results would be recorded at results/*.csv.

Results might be slightly different due to the randomness of calibration samples for activation ranges.

Citation

We appreciate it if you would please cite our paper:

@inproceedings{pwlq,
  title={Post-Training Piecewise Linear Quantization for Deep Neural Networks},
  author={Fang, Jun and Shafiee, Ali and Abdel-Aziz, Hamzah and Thorsley, David and Georgiadis, Georgios and Hassoun, Joseph},
  booktitle={ECCV},
  year={2020}
}

pwlq's People

Contributors

jun-fang 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.