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

MemoryError Traceback (most recent call last) #62

Open
hairullana opened this issue Mar 8, 2022 · 2 comments
Open

MemoryError Traceback (most recent call last) #62

hairullana opened this issue Mar 8, 2022 · 2 comments

Comments

@hairullana
Copy link

MemoryError Traceback (most recent call last)
MemoryError: Unable to allocate 85.3 GiB for an array with shape (190747, 60002) and data type float64

I try simple usage same like on README.md but I have that error
My audio duration is just 4.3 second

Thank you
image
image

@hairullana hairullana changed the title MemoryError MemoryError Traceback (most recent call last) Mar 8, 2022
@danpad01
Copy link

danpad01 commented May 12, 2022

I had a problem like this and solved it changing my audio to mono.

aud_seg = AudioSegment.from_wav(wav_filename)
aud_seg = aud_seg.set_channels(1)
aud_seg.export(wav_filename, format="wav")

@timsainb
Copy link
Owner

We should probably raise a warning or an error somewhere when people are inputting data with too many channels, or where data is transposed.

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

3 participants