fixed `array is too big` error for the empty audio file

#1
by Ericwang - opened
No description provided.

Hello,

I want to express my sincere appreciation for the effort you put into creating this dataset.

While working with the dataset, I encountered an error stating array is too big when executing certain data processing steps using the map or filter functions. Upon further investigation, I have identified that the audio file 008711-0115168 is the cause of this error, as it appears to be empty.

I have attached the error message and information for the audio file below.
ERROR MESSAGE:
ValueError: array is too big; `arr.size * arr.dtype.itemsize` is larger than the maximum possible size.
AUDIO FILE:
Screenshot 2023-06-24 at 7.22.41 PM.png

To resolve this issue, I suggest making a slight modification to the dataset script in order to filter out this empty audio file. I am currently working on implementing this and I plan to submit the PR soon.

Thank you so much!

Sincerely

Language and Voice Laboratory (Reykjavík University) org

Hi,

thank you for pointing out the error.
Looking forward to the PR. :)

Cheers,

Publish this branch
This branch is in draft mode, publish it to be able to merge.

Sign up or log in to comment