mesolitica / malaya-speech

Speech Toolkit for Malaysian language, https://malaya-speech.readthedocs.io/
https://malaya-speech.readthedocs.io/
MIT License
236 stars 42 forks source link

Error while loading the model #28

Closed gowthambg20 closed 1 year ago

gowthambg20 commented 1 year ago

Hi im trying to load the model using the line below it throws me some bugs from because of librosa's mel function

TypeError Traceback (most recent call last) in <cell line: 1>() ----> 1 speakernet = malaya_speech.speaker_change.deep_model('speakernet')

3 frames /usr/local/lib/python3.9/dist-packages/malaya_speech/utils/featurization.py in init(self, sample_rate, frame_ms, stride_ms, n_fft, num_feature_bins, preemphasis, normalize_signal, normalize_feature, **kwargs) 36 self.normalize_feature = normalize_feature 37 ---> 38 self.mel_basis = librosa.filters.mel( 39 sr=self.sample_rate, 40 n_fft=self.n_fft,

TypeError: mel() takes 0 positional arguments but 2 positional arguments (and 3 keyword-only arguments) were given

huseinzol05 commented 1 year ago

What is your malaya-speech version and librosa, I might used deprecated interface.