MLSpeech / DeepFormants

Formant Tracking & Estimation
MIT License
74 stars 17 forks source link

'th' is not an internal or external command, nor is it a runnable program or batch file. #5

Open HaoningChen85 opened 5 years ago

HaoningChen85 commented 5 years ago

I'm running the code in Windows10 with Python2.7(Anaconda2), and I met the above problem.

It seems that this problem originates from a line in formants.py: easy_call("th load_estimation_model.lua " + tmp_features_filename + ' ' + preds_filename)

How can I solve this problem? @Shuadissen

iskunk commented 4 years ago

As far as I can tell, th appears to be an interactive wrapper for luajit that adds little of value to a typical Lua invocation.

I was unable to build th due to a missing libreadline-dev library (long story) but was able to proceed by changing invocations of th to luajit.

HaoningChen85 commented 4 years ago

Thank you very much for replying!