Skip to content

Tensorflow implementation for learned image compression

Notifications You must be signed in to change notification settings

ksanjeevan/ml-image-compression

Repository files navigation

ML Image Compression

Contents

Implementations

Architecture

Architecture used:

Results

Can be trained like:

python train.py --epochs 50 --lr 0.0002 --logs logs/

Method achieved a 75.3% SSIM on the test split of the CLIC dataset.

Notes
  • Paper doesn't explicitly mention this but using normalization of the rgb values helped with training

  • Making the output of the Cr network go through a sigmoid before going into Co gave better results and makes sense for the gradients to flow although not mentioned in the paper

  • Some of the notation of Co(x_hat) in the paper is confusing when showing the residual loss, using eq. (5) works fine

  • Because of the "same" padding used in the architecture, seeing somme ugly border artifacts in the reconstructed images

Architecture

General idea follows:

More details on the model were excluded from the paper and instead kept at a site that is no longer up. Wayback machine cache of it here.

Results

N/A

Notes

No training code by the authors and paper description is very brief. Not able to reproduce for now.

Papers & Resources

About

Tensorflow implementation for learned image compression

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages