GithubHelp home page GithubHelp logo

sunnydreamrain / dvc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from guolusjtu/dvc

0.0 3.0 0.0 1020 KB

DVC: An End-to-end Deep Video Compression Framework, CVPR 2019 (Oral)

Python 100.00%

dvc's Introduction

DVC: An End-to-end Deep Video Compression Framework

This repo holds the code for the paper:

DVC: An End-to-end Deep Video Compression Framework, Guo Lu, Wanli Ouyang, Dong Xu, Xiaoyun Zhang,Chunlei Cai, Zhiyong Gao, CVPR 2019 (Oral). [arXiv]

Test

Pretrain models

We provide the test code of our DVC framework. In our imolementation, we use the learning based image compression algorithm (Variational image compression with a scale hyperprior, ICLR'18) as the intra coompression. Specifically, for the video codec model wuth lambda=k, the image codec model with lambda=4k is used as the intra frames. Both the pre-train models of video codec and image codecs in our framework are available at Dropbox.

Entropy Coding

Currently, we do not provide the entropy coding module. The generated features from image/video codecs are saved to .pkl files. We give the estimated Bpp for these features. It is straightforward to compress these features by using traditional entroy coding tools, such as CABAC or Ranger Codec.

Image Compression

cd ./TestDemo/ImageCodec

Image Encoding,

python Encoder.py --EncoderModel /path/to/encoder/model/.pb --input_frame /path/to/image/x.png  --output /output/feature/folder/

Image Decoding,

python Decoder.py --DecoderModel /path/to/decoder/model/.pb   --loadpath  /load/feature/folder/

Video Compression

cd ./TestDemo/VideoCodec

Video Encoding,

python  Encoder.py --EncoderModel /path/to/encoder/model/.pb  --input_frame /path/to/currentframe/im002.png --refer_frame  /path/to/previousframe/im001.png  	--output /output/feature/folder/

Video Decoding,

python Decoder.py --DecoderModel /path/to/decoder/model/.pb  --refer_frame /path/to/previous/im001.png --loadpath  /path/to/feature/folder/

Experimental Results

Evaluation results on the UVG dataset and HEVC Class B (1080p) and Class E (720p). Please refer our paper for more experimental results.

We also provide the scrips for generating all the RD curves of our paper in folder RDCurve.

Citation

If you find our paper useful, please cite:

@article{lu2018dvc,
  title={DVC: An End-to-end Deep Video Compression Framework},
  author={Lu, Guo and Ouyang, Wanli and Xu, Dong and Zhang, Xiaoyun and Cai, Chunlei and Gao, Zhiyong},
  journal={arXiv preprint arXiv:1812.00101},
  year={2018}
}

TODO

  • Deploy Model

  • Source Code

Contact

You can contact Guo Lu by sending mail to [email protected]

dvc's People

Contributors

guolusjtu avatar

Watchers

James Cloos avatar Shuai Li avatar paper2code - bot 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.