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

ZeroDivisionError on Sidonia no Kishi #15

Open
TotallyNotGovna opened this issue Jan 25, 2015 · 2 comments
Open

ZeroDivisionError on Sidonia no Kishi #15

TotallyNotGovna opened this issue Jan 25, 2015 · 2 comments

Comments

@TotallyNotGovna
Copy link

http://www.datafilehost.com/d/6af541dd

Attempting to run sushi produces the error

ZeroDivisionError: Weights sum to zero, can't be noramlized.

@tp7
Copy link
Owner

tp7 commented Jan 25, 2015

Yeah, for some reason Sushi's audio search just doesn't work properly with Sidonia (not only this ep but various others). I'm afraid this issue cannot be fixed easily and I'll have to find some new way to improve search accuracy, which by the looks of it is not happening any time soon.

@shinchiro
Copy link
Contributor

In this case, the shift is really 1 second. So, the second check:
abs_diff(new_time - original_time, last_shift) > ALLOWED_ERROR is what cause the error. Removing this check will produce correct output without error.

So events in a chapter group does not always have similar shift in a certain case, I guess

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

No branches or pull requests

3 participants