amirharati / kaldi-alligner

scripts to align a given wave to its transcription using trained models by Kaldi
32 stars 7 forks source link

Error on lpf #2

Open FulingChen opened 4 years ago

FulingChen commented 4 years ago

Hi Amir Harati,

Thanks for your handy tool for speech alignment and segmentation. It works for me when I was running your example code, but it poped up an error when I was trying your tool on my own data. The error msg was like Traceback (most recent call last): File "extract_likelihood_per_frame.py", line 26, in main() File "extract_likelihood_per_frame.py", line 21, in main fo.write(lpf + "\n") UnboundLocalError: local variable 'lpf' referenced before assignment

I have no idea where was wrong. Do you have any suggestions?

Regards Fuling