-
Notifications
You must be signed in to change notification settings - Fork 66
fix generate_compressor_model.py for finding best encodings #46
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
base: master
Are you sure you want to change the base?
Conversation
Can you describe what the fix is for exactly? Was there something fundamentally broken with the model generation or is this PR an improvement? Unrelated: I opened a PR to fix some type errors I had when running the script (#47). Did you have any of these type errors? |
I tried running
And also:
|
@perronet I have fix the previous errors for python3, the testing command is python3 ./generate_compressor_model.py --optimize-encoding --split whitespace -o >(cat) generate_compressor_model.py |
fix some logic issue when searching best encodings, such as line 159 |
Please change this line with
You can see here that the generated |
this is already done in pr #18 , can we merge this first and this pr will rebase to the latest |
Good point, however I suggest adding this fix regardless since that PR hasn't been merged since 2015. In the meantime, let's see if we can get the attention of the maintainer @Ed-von-Schleck |
the |
Nice! I'm just using your fork right now since it's unclear if this PR will ever get merged |
No description provided.