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

inhomogeneous shape after 1 dimensions #205

Open
farrukh-rapidev opened this issue Aug 4, 2023 · 0 comments
Open

inhomogeneous shape after 1 dimensions #205

farrukh-rapidev opened this issue Aug 4, 2023 · 0 comments

Comments

@farrukh-rapidev
Copy link

filtering with frequency: 3011.479737179385
filtering with frequency: 3315.417264097293
filtering with frequency: 3644.244599611913
noisy signal is saved to: _noisy_sample.wav
filtered signal is saved to: _filtered_sample.wav
Reading noisy and clean speech files...
generating clean speech MFCC...
generating noisy speech MFCC...
generating noisy MFCC...
Processing training data
Traceback (most recent call last):
File "gen_dataset.py", line 352, in
np.savez("dataset.npz", clnsp_mfcc=clnsp_mfcc, noisy_mfcc=noisy_mfcc, noise_mfcc=noise_mfcc, vad=voice_active, gains=gains_array)
File "<array_function internals>", line 200, in savez
.local/lib/python3.8/site-packages/numpy/lib/npyio.py", line 716, in _savez
val = np.asanyarray(val)
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (852,) + inhomogeneous part.

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

1 participant