You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This throws an exception that shape doesn't match, so I changed the function convert_wav_mfcc to this
samplerate=16000winlen=0.025winstep=0.01numcep=39nfilt=40defconvert_wav_mfcc(file, fs=16000):
"""Turn raw audio data into MFCC with sample rate=fs."""inputs=mfcc(read_audio_from_filename(file, fs), samplerate=fs, winlen=winlen, winstep=winstep, numcep=numcep, nfilt=nfilt)
returninputs
Now everything works fine.
The text was updated successfully, but these errors were encountered:
@manashmndl if you are looking for the lstm model, you could find the training script, lstm_ctc.py in the repo. For the wavenet model, I'm using a pretrained model that I got from here.
How did you train your model? Could you please provide the training file as well?
On
Data_Process.ipynb
file when calculating m, v and s you used mfcc parameters like this,But when I am running other cells on my data,
This throws an exception that shape doesn't match, so I changed the function
convert_wav_mfcc
to thisNow everything works fine.
The text was updated successfully, but these errors were encountered: