readbeyond / aeneas

aeneas is a Python/C library and a set of tools to automagically synchronize audio and text (aka forced alignment)
http://www.readbeyond.it/aeneas/
GNU Affero General Public License v3.0
2.49k stars 228 forks source link

Unexpected error while executing task : Unable to allocate array with shape #268

Open Lastone17 opened 3 years ago

Lastone17 commented 3 years ago

I had to reinstall aeneas on my Windows 10 System, since then I always get Unexpected error while executing task : Unable to allocate array with shape (166736027,) and data type float64 Before it worked great with the same inputs! Any Suggestions?

Yorwba commented 3 years ago

array with shape (166736027,) and data type float64

One float64 requires 8 bytes to store; that whole array takes up roughly 1.3 GB. And aeneas will allocate multiple similarly-sized arrays (real and synthetic audio plus intermediate results of various processing steps).

Can you get it to work with a very short audio file? If yes, then the problem is most likely that you don't have enough RAM.

Lastone17 commented 3 years ago

@Yorwba No it's also not working with a short audio-file, it was working before without any problem with a about 4MB audio-file. It's just now after the reinstallation. Any other suggestions?

readbeyond commented 3 years ago

Windows is not officially supported. There are known problems since 1.7.1, see e.g. #190 .

I am leaving this issue open if other users can offer help, but since I no longer own a personal machine with Windows, I am not going to fix that any time soon.