GithubHelp home page GithubHelp logo

coarse2fine-imacomp's Introduction

Coarse-to-Fine Hyper-Prior Modeling for Learned Image Compressionn

Overview

This is the implementation of ther paper,

Yueyu Hu, Wenhan Yang, Jiaying Liu, Coarse-to-Fine Hyper-Prior Modeling for Learned Image Compression, AAAI Conference on Artificial Intelligence (AAAI), 2020

The currently available code is for evaluation, while it can also be modified for training as the implementation of the network is available.

Running

The code requires the TensorFlow library (v1.13, v1.14 and v1.15 tested). It should be running in the CPU-only mode, for example, by specifying CUDA_VISIBLE_DEVICES= . An example to run the encoder and decoder is provided below.

You may first download the trained weights from Google Drive and place the .pk files under the models folder (that is, to make './models/model0_qp1.pk exist).

Help

python AppEncDec.py -h

Encoder

python AppEncDec.py compress example.png example.bin --qp 1 --model_type 0

Decoder

python AppEncDec.py decompress example.bin example_dec.png

Detailed command line options are documented in the help mode of the APP.

coarse2fine-imacomp's People

Contributors

huzi96 avatar

Watchers

 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.