NVIDIA / OpenSeq2Seq

Toolkit for efficient experimentation with Speech Recognition, Text2Speech and NLP
https://nvidia.github.io/OpenSeq2Seq
Apache License 2.0
1.54k stars 372 forks source link

assert features.shape[0] % pad_to == 0 #499

Closed cogmeta closed 4 years ago

cogmeta commented 4 years ago

When running on custom dataset, i am getting following assertion error

if pad_to > 0: assert features.shape[0] % pad_to == 0

Any idea, what might be causing this?

cogmeta commented 4 years ago

Make sure all audio files are 16KHZ, mono channel otherwise you will get this error.