Skip to content

Understanding the Joint Autoregressive Model #165

Answered by YodaEmbedding
rezafuru asked this question in Q&A
Discussion options

You must be logged in to vote

For decompress(), sequential decoding of each pixel is necessary due to causality.

For compress(), as you note, it is not necessary to run a sequential pixel-by-pixel computation since one may simply use the masked convolution to generate the exact y_hat that is available to the decoder in a single GPU call, à la forward(). This can probably be optimized in the CompressAI implementation. The only issue I see is if the y_hat that is generated is slightly different due to e.g. floating point errors or other optimizations. The safest method is simply to repeat the exact sequence of computations for encoding as for decoding, which always works on the same hardware, if we assume that the hardw…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rezafuru
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants