fab-jul / L3C-PyTorch

PyTorch Implementation of the CVPR'19 Paper "Practical Full Resolution Learned Lossless Image Compression"
GNU General Public License v3.0
397 stars 60 forks source link

Updated Training Set and New Results -- L3C v3 #14

Open fab-jul opened 4 years ago

fab-jul commented 4 years ago

Previously, our preprocessing script saved all training images and validation images as JPGs with a high quality factor of Q=95, downscaled by a factor 0.75. It turns out that the resulting images have a specific enough distribution that the neural network picks up on it, and the images are also easier to compress for the non-learned codecs.

For correctness, we have thus re-created the training and validation sets. The new preprocessing script is available in the repo. The important differences are:

This causes all results to shift, however, as before, we still outperform WebP, JPEG-2000, and PNG, i.e. the ordering of the methods according to bpp remains unchanged.

We evaluated our model on 500 images randomly selected from the Open Images validation set, and preprocessed like the training data. To compare, please download Open Images evaluation set here.

Updated ArXiv

Available here https://arxiv.org/abs/1811.12817v3.

New Results

  Method Open Images DIV2K RAISE-1k
Ours L3C v3 2.990597132 3.093768752 2.386501087
Learned Baselines RGB Shared 4.313588005 4.429001861 3.779201962
  RGB 3.297824781 3.418117799 2.572320659 3.246318873
Non-Learned Approaches PNG 4.004512908 4.234729262 3.556403138
  JPEG2000 3.054759549 3.126744435 2.46459739
  WebP 3.047477818 3.176081706 2.461481317
  FLIF 2.866778476 2.910950783 2.084036243

Status

Merged into master.

fab-jul commented 4 years ago

Arxiv is now available https://arxiv.org/abs/1811.12817v3.

Merged feat/v3 into master.

Please let me know here if there are issues with this release.

DonaldTsang commented 4 years ago

Sorry for cross-posting but https://github.com/caoscott/SReC/issues/6 has addressed that there are newer image formats like AVIF, HEIF and JPEG-XL (JXL).

For other specific training sets, maybe https://github.com/caoscott/SReC/issues/5 can provide some tests for specific niches