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

Unable to run dvector_create.py, file does not start with RIFF id #63

Open
chrisspen opened this issue Oct 16, 2019 · 1 comment
Open

Comments

@chrisspen
Copy link

Running dvector_create.py with default arguments and the TIMIT data throws the exception:

Traceback (most recent call last):
  File "dvector_create.py", line 94, in <module>
    times, segs = VAD_chunk(2, folder+'/'+file)
  File "PyTorch_Speaker_Verification/VAD_segments.py", line 131, in VAD_chunk
    audio, byte_audio = read_wave(path, hp.data.sr)
  File "PyTorch_Speaker_Verification/VAD_segments.py", line 26, in read_wave
    with contextlib.closing(wave.open(path, 'rb')) as wf:
  File "/usr/lib/python3.7/wave.py", line 510, in open
    return Wave_read(f)
  File "/usr/lib/python3.7/wave.py", line 164, in __init__
    self.initfp(f)
  File "/usr/lib/python3.7/wave.py", line 131, in initfp
    raise Error('file does not start with RIFF id')
wave.Error: file does not start with RIFF id
@xiaozhi2015
Copy link

Make a transformation using SPHFile

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

2 participants