Git Product home page Git Product logo

nuq's Introduction

NUQ: Finding Non-Uniform Quantization Schemesusing Multi-Task Gaussian Processes

Implementation of ECCV2020 "Finding Non-Uniform Quantization Using Multi-Task Gaussian Processes".

Requirements

  • Python >= 3.6
  • PyTorch >= 1.0
  • CUB == 1.8
  • GPyTorch
  • Pyro

Dependencies

This depends on the Quantization github repo, which implements cuda version of BFP and DSConv

Make sure to git submodule update --init --recursive and follow the installation steps in the Quantization repo:

  1. Download CUB and put it in /home/your_username/libs/ (or the file indicated at NUQ/BlackBox/Quantization/src/setup.py:22)
  2. cd /path/to/NUQ/BlackBox/Quantization/src/ then python build_ext --inplace.

Config

In the config.py file, you should insert the paths to the respective variables.

If you have the models trained for cifar10, and imagenet32, just insert their paths in the config.py file. If you don't, then you should insert the paths for the desirable loaction in the config.py file, and run the train_cifar.py or train_imagenet32.py scripts.

Citation

@misc{nascimento2020finding,
    title={Finding Non-Uniform Quantization Schemes using Multi-Task Gaussian Processes},
    author={Marcelo Gennari do Nascimento and Theo W. Costain and Victor Adrian Prisacariu},
    year={2020},
    eprint={2007.07743},
    archivePrefix={arXiv},
    primaryClass={cs.CV}
}

nuq's People

Contributors

marcelogennari avatar twcostain avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

nuq'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.