Justin-Tan / generative-compression

TensorFlow Implementation of Generative Adversarial Networks for Extreme Learned Image Compression
MIT License
511 stars 108 forks source link

How to uncompress the result? #21

Closed chhss17 closed 5 years ago

chhss17 commented 5 years ago

As the title says,how can I uncompress the result of compress.py

Justin-Tan commented 5 years ago

The returned image is the uncompressed image. Compression refers to the projection on a lower dimensional vector embedding that is quantized around a set of centers. This can be stored and uncompressed through the decoder at a later stage, which requires you to save the parameters of the decoder on disk somewhere, so you would only save memory if you had a large amount of images you wanted to compress/decompress.