Giter VIP home page Giter VIP logo

edms's Introduction

Image Compression with Encoder-Decoder Matched Semantic Segmentation

Paper

Trinh Man Hoang, Jinjia Zhou, Yibo Fan.

2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), Seattle, WA, USA, 2020, pp. 619-623.

The code is built on DSSLIC & PSPNet.

Table of Contents

  1. Requirements and Dependencies
  2. Testing Pre-trained Models
  3. Citation

Requirements and Dependencies

  • Ubuntu 16.04.5 LTS
  • Python 3.6.8
  • Cuda & Cudnn (We test with Cuda = 10.0 and Cudnn = 7.6.5)
  • PyTorch 1.3.0
  • MATLAB R2018b

Testing Pre-trained Models

Download pretrained models from https://drive.google.com/drive/folders/1lDUPbsYKiBZnCthhKADqwmo2jvop5avz?usp=sharing and put them into the collated folders.

Perform the encoder-decoder matched compression:

$ python test.py --dataroot </path/to/your/imageFolder/> --label_nc 151 --resize_or_crop none --batchSize 1 --gpu_ids 0 --checkpoints_dir checkpoints/ --results_dir </results/path/> --sMapWeights_path ./checkpoints/SMap_epoch_149.pth --fmt png

Perform the residual and down-sampled version compression:

  • Download "Binary BPG distribution for Windows (64 bit only)" from https://bellard.org/bpg and put all the binary files in the folder ./evaluation code/bpg-win64

  • Download "FLIF Encoder" from https://github.com/FLIF-hub/FLIF and put all the installed binary files in folder ./evaluation code/FLIF-master

  • Then perform the residual and down-sampled version compression by using MATLAB and run ./evaluation code/main.m

Citation

If you find the code useful in your research, please cite:

@InProceedings{9150905,
    author={T. M. {Hoang} and J. {Zhou} and Y. {Fan}},
    booktitle={2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW)},
    title={Image Compression with Encoder-Decoder Matched Semantic Segmentation},
    year={2020},
    volume={},
    number={},
    pages={619-623},
    doi={10.1109/CVPRW50498.2020.00088}
}

Contact

Trinh Man Hoang

License

This repository (as well as its materials) is for non-commercial uses and research purposes only.

edms's People

Contributors

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