dominoanty / SpeakerRecognition

Implementing speaker recognition using Python (GMM-UBM)
28 stars 14 forks source link

ValueError: Found array with 1 sample(s) (shape=(1, 13)) while a minimum of 2 is required. #6

Open looritaa opened 4 years ago

looritaa commented 4 years ago

i am very new in machine learning. I stumble on this source code on github that has no database, so i decided to use my own database. This code is to recognize speaker with MFCC and GMM-UBM. But when i try to run the code, i got this error "ValueError: Found array with 1 sample(s) (shape=(1, 13)) while a minimum of 2 is required". It seems like when the code is trying to fit the GMM on the 68th dataset, the MFCC shape of the data is broken. I assume there's something wrong on the feature extraction process.

Please help me! thank you very much.