Atul-Anand-Jha / Speaker-Identification-Python

Speaker Identification System (upto 100% accuracy); built using Python 2.7 and python_speech_features library
GNU Lesser General Public License v3.0
206 stars 75 forks source link

TypeError: __init__() got an unexpected keyword argument 'n_iter' #20

Closed ligiahote closed 4 years ago

ligiahote commented 4 years ago

please help me with this error:

Traceback (most recent call last): File "E:/Speaker-Identification-Python-master/Speaker-Identification-Python-master/modeltraining.py", line 44, in gmm = GMM(n_components = 16, n_iter = 200, covariance_type='diag',n_init = 3) TypeError: init() got an unexpected keyword argument 'n_iter'

bhrt-sharma commented 4 years ago

use "max_iter" instead of "n_iter"