majianjia/nnom

inhomogeneous shape after 1 dimensions

Opened this issue · 0 comments

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.