Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compression problem #43

Open
XDongiang opened this issue Jun 11, 2022 · 2 comments
Open

compression problem #43

XDongiang opened this issue Jun 11, 2022 · 2 comments

Comments

@XDongiang
Copy link

The hfc file I get by compressing a large image is 21kib. But cut this picture into many small pictures, and then compress all the pictures with hific, the total size of hfc obtained exceeds 190kib

@yifeipet
Copy link

This compression saves the compressed probability table and dimensionality information for each image. So it's reasonable to see what you have mentioned.

@GimmeSomeJazz
Copy link

GimmeSomeJazz commented Dec 2, 2022

hey, great job @Justin-Tan! Thank you for this amazing job :)
How do we activate ans compression in the code? I see that the hfc file contains only numerical data (see compression_utils.save_compressed_format), and I would have expected String data.
Furthermore, reading the code, I think that we never come into the ans_index_buffered_encoder function for example.
Maybe some mistake on my side, but maybe you could confirm that? And explain us how to activate ans encoding at the end of the process if I am not wrong? That could greatly improve compression rate :)
Thank you again!!!
Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants