Git Product home page Git Product logo

integer-hyper-prior-network's Introduction

Integer-Hyper-prior-Network

Reproduction of "INTEGER NETWORKS FOR DATA COMPRESSION WITH LATENT-VARIABLE MODELS".

"Integer networks for data compression with latent-variable models" (ICLR 2019)
J. Ballé, N. Johnston, and D. Minnen
https://openreview.net/pdf?id=S1zz2i0cY7

In the file compare.py, a hyper synthesis transform with integer parameters is provided. This network is expected to work in a deterministic manner, that the output for the fixed input will remain unchanged no matter how the platform varies.

The details of this file are as follows:

  • The function float_network() is the integer network, while integer_network() is an instance of the float network implemented with standard tfc library. The structure of these two networks should be the same;
  • Both networks are evaluated on cpu and gpu, and here is a typical result:
    Integer Network: True . Error:0.0 
    Float Network: False . Error:-2.0726176330754242e-10 
    
    which shows that the integer network gives the same result across cpu and gpu, while the float network provides two different results (MSE=-2.0726176330754242e-10).
  • The libraries used are tensorflow-gpu==1.15 and tensorflow-compression==1.3.

integer-hyper-prior-network's People

Contributors

ecchui avatar

Stargazers

 avatar  avatar  avatar  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.