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?
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