majianjia / nnom

A higher-level Neural Network library for microcontrollers.
Apache License 2.0
908 stars 245 forks source link

inhomogeneous shape after 1 dimensions #205

Open farrukh-rapidev opened 1 year ago

farrukh-rapidev commented 1 year ago

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.