Skip to content

Overflow issue due to floating error #2

Open
@roomo7time

Description

@roomo7time

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions