You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by JayceJiangWHU November 28, 2024
I suppose this should be a bug or something I've neglected. When testing with pretrained models(e.g. mbt2018-mean) on Kodak. I firstly use model.compress() to encode the image into bitestream. And then use model.decompress() to reconstruct the image. This works perfectly fine with some Kodak images. However the other results seem to be quite distorted including some blurry and black blocks. And if I run again the locations of distortion are different everytime. However when testing with compressai.utils.eval_model.__main__.py everything goes on well. What could possibly be wrong?
Here are two examples from Kodak.
Here is a snippet of my codes
Discussed in #319
Originally posted by JayceJiangWHU November 28, 2024
I suppose this should be a bug or something I've neglected. When testing with pretrained models(e.g. mbt2018-mean) on Kodak. I firstly use
model.compress()
to encode the image into bitestream. And then usemodel.decompress()
to reconstruct the image. This works perfectly fine with some Kodak images. However the other results seem to be quite distorted including some blurry and black blocks. And if I run again the locations of distortion are different everytime. However when testing withcompressai.utils.eval_model.__main__.py
everything goes on well. What could possibly be wrong?Here are two examples from Kodak.
Here is a snippet of my codes
The text was updated successfully, but these errors were encountered: