micmic123 / QmapCompression

Official implementation of "Variable-Rate Deep Image Compression through Spatially-Adaptive Feature Transform", ICCV 2021
81 stars 16 forks source link

A question about the code #2

Closed t109598002 closed 2 years ago

t109598002 commented 2 years ago

Hi, I'm interested in this work, I'd like to ask a questions. You mentioned the quantizer component in the paper. Where is the quantizer component in this code? Thank's very much!

micmic123 commented 2 years ago

Sorry for late reply. You can refer to here: https://github.com/micmic123/QmapCompression/blob/d719568cb75f2390dee78bc9f5eec03ec19531ce/models/entropy_models.py#L665-L667 https://github.com/micmic123/QmapCompression/blob/d719568cb75f2390dee78bc9f5eec03ec19531ce/models/entropy_models.py#L120-L148