Giter VIP home page Giter VIP logo

dtq's Introduction

Deep Transferring Quantization

We provide PyTorch implementation for "Deep Transferring Quantization". (ECCV2020)

DTQ

Paper

  • Deep Transferring Quantization
  • Zheng Xie *, Zhiquan Wen *, Jing Liu *, Zhiqiang Liu, Xixian Wu, and Mingkui Tan *
  • European Conference on Computer Vision (ECCV), 2020

Dependencies

  • Python 3.6
  • PyTorch 1.1.0
  • dependencies in requirements.txt

Getting Started

Installation

  1. Clone this repository:

     git clone https://github.com/xiezheng-cs/DTQ.git
     cd DTQ
    
  2. Install PyTorch and other dependencies:

     pip install -r requirements.txt
    

Training

To quantize the pre-trained MobileNetV2 on Caltech 256-30 to 4-bit:

python main.py hocon_config/mobilenetv2_caltech-256-30.hocon

To quantize the pre-trained ResNet-50 on Caltech 256-30 to 4-bit:

python main.py hocon_config/resnet50_caltech-256-30.hocon

Experimental Results

Target Data Set Model W / A DELTA-Q Top1 Acc(%) DTQ(Ours) Top1 Acc(%)
Caltech 256-30 MobileNetV2 4 / 4 74.0±0.7 75.9±1.2
Caltech 256-30 ResNet-50 4 / 4 82.8±0.5 83.5±0.6

Citation

If this work is useful for your research, please cite our paper:

@InProceedings{xie2020deep,
title = {Deep Transferring Quantization},
author = {Zheng, Xie and Zhiquan, Wen and Jing, Liu and Zhiqiang, Liu and Xixian, Wu and Mingkui, Tan},
booktitle = {European Conference on Computer Vision},
year = {2020}
}

Acknowledgments

This work was partially supported by the Key-Area Research and Development Program of Guangdong Province 2019B010155002, National Natural Science Foundation of China (NSFC) 61836003 (key project), Program for Guangdong Introducing Innovative and Entrepreneurial Teams 2017ZT07X183, Fundamental Research Funds for the Central Universities D2191240.

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.