Hey there. I was trying to train a new voice with TalkNet and was getting an error. To see where the problem was I decided to try and retrain a voice which I had already successfully trained. I got the same error. This is the error I'm now getting on a dataset I already trained successfully and it's the same error I get when I try to train a new voice.
100%
52/52 [00:13<00:00, 4.56it/s]
0
9/9 [==============================] - 12s 28ms/step
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
in
145 print(str(i))
146 audio_path = json.loads(l)["audio_filepath"]
--> 147 f0_data[Path(audio_path).stem] = crepe_f0(audio_path)
148
149 # calculate f0 stats (mean & std) only for train set
2 frames
/usr/local/lib/python3.7/dist-packages/crepe/core.py in to_viterbi_cents(salience)
142
143 # fix the model parameters because we are not optimizing the model
--> 144 model = hmm.CategoricalHMM(360, starting, transition)
145 model.startprob_, model.transmat_, model.emissionprob_ = \
146 starting, transition, emission
AttributeError: module 'hmmlearn.hmm' has no attribute 'CategoricalHMM'