MattShannon / mcd

Mel cepstral distortion (MCD) computations in python.
Other
205 stars 36 forks source link

htk_io module #7

Open amal-houidhek opened 6 years ago

amal-houidhek commented 6 years ago

Hi Matt I'm using the mcd for my objective evaluation of my speech synthesis system. I followed the described steps, however when i wanted to run the test, i keep having the message ImportError: No module named htk_io.base while all requirements are installed. Any suggestion will be appreciated.

Best Amal

pravn commented 5 years ago

The script uses the system python binary

!/usr/bin/python

If we are in another environment like conda (which is likely), then we should set the binary to point to that. In my case, I replaced #!/usr/bin/python with #!/home/pytorch/anaconda3/envs/merlin-interspeech/bin/python

After this, I had to copy the get_mcd_dtw file from ./bin to the root folder of mcd. One more change is then needed: Replace the import line from metrics_fast to metrics in get_mcd_dtw: import mcd.metrics as mt

Lukelluke commented 4 years ago

I replaced #!/usr/bin/python with #!/home/pytorch/anaconda3/envs/merlin-interspeech/bin/python

Hi, i countered the same problem, however i'm confused about this. How to replace #!/usr/bin/python with 'my own python path'

The other things i have finished as ur follows.