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

Overflow issue due to floating error #2

Open
roomo7time opened this issue Oct 19, 2021 · 0 comments
Open

Overflow issue due to floating error #2

roomo7time opened this issue Oct 19, 2021 · 0 comments

Comments

@roomo7time
Copy link

https://github.com/ghuawhu/end-to-end-synthetic-speech-detection/blob/fdd024db1da4ef0f1983366a35fe3d013688b822/data.py#L20

I use two pcs; they have different specs but use the exact same python libraries.

In one of the two pcs, the reading by soundfile library sf.read makes the floating issue for some audio files, ending up with extremely large number over a component of a sample.

I recommend using torchaudio.load instead of sf.read'; this fixes the issue.

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

1 participant