Open galijipaifan opened 1 year ago
We referred to compressai for the bpp calculation method. I think this code, in len(s[0]) for s in out_enc["strings"], computes for y_strings and z_strings since out_enc["strings"] includes both y_strings and z_strings. Can you check it again?
Thank you very much, l was too careless.
Hi,l have some questions about the calculations of bpp. In your code, you don't use the z_strings to calculate the bpp and you just use the y_strings to calculate it. l think that it is important to consider the z_string.