Code Monkey home page Code Monkey logo

Comments (11)

pasindud avatar pasindud commented on May 21, 2024 2

It seems like ehmm was not install correctly.

  • Try deleting everything under /build/.....
  • Run this script [1]
  • Then run the script to install festival again.
      export FESTIVAL_SUIT_PATH=<your desired path to install Festival>
      mkdir ${FESTIVAL_SUIT_PATH} && ./third_party/festvox/setup.sh 
    

1 - https://gist.github.com/pasindud/83428223032ca8ac35d47774fa55e6b8

from language-resources.

pasindud avatar pasindud commented on May 21, 2024 1

Actually both of the festival installations are similar so you can use the merlin's festival installation if it works. Its hard to debug why festival is not installing properly with the current script without a log.

To fix realpath
run

sudo apt-get install coreutils
which realpath

or in [1] replace
export MERLIN_PATH=$(realpath "$2") with export MERLIN_PATH=$2 just make sure you give a absolute path when running setup_merlin.sh.

1 - https://github.com/googlei18n/language-resources/blob/master/festival_utils/setup_merlin.sh#L43

from language-resources.

arif334 avatar arif334 commented on May 21, 2024

Thanks, @pasindud. I'll do it and post the results back.

from language-resources.

arif334 avatar arif334 commented on May 21, 2024

@pasindud The above problem is solved. I've built a festival voice successfully (using google data). Now I am having an error in setting up merlin. The error goes as follows:

Generating HTS questions
Traceback (most recent call last):
  File "./festival_utils/generate_hts_questions.py", line 162, in <module>
    main(sys.argv)
  File "./festival_utils/generate_hts_questions.py", line 121, in main
    phonology = json.loads(open(argv[1]).read())
IOError: [Errno 2] No such file or directory: 'en_US.UTF-8/festvox/phonology.json'

It seems that generate_hts_questions.py does not getting the path of phonology.json file. Should I hard-code the path in the code? Or is there any better way?

from language-resources.

pasindud avatar pasindud commented on May 21, 2024

Fixed the typo in d4b8e64 , patch the new commit and it should work.

from language-resources.

mjansche avatar mjansche commented on May 21, 2024

from language-resources.

pasindud avatar pasindud commented on May 21, 2024

Yea, should be fixed now

from language-resources.

arif334 avatar arif334 commented on May 21, 2024

It seems like ehmm was not install correctly.

  • Try deleting everything under /build/.....
  • Run this script [1]
  • Then run the script to install festival again.
      export FESTIVAL_SUIT_PATH=<your desired path to install Festival>
      mkdir ${FESTIVAL_SUIT_PATH} && ./third_party/festvox/setup.sh 
    

1 - https://gist.github.com/pasindud/83428223032ca8ac35d47774fa55e6b8

@pasindud Problem still exists. I ran your script. Everything was installed successfully, except realpath (Is that a problem? If so, what is the work-around?). Then installed festival again. But it seems that probably festvox is not installed correctly. There is no entry of
<path to festival>/build/festvox/src/ehmm/bin/FeatureExtraction.
The size of festvox folder is 11.8 MB. But I remember it's size was around 30 MB when I installed it with merlin a few months ago (but unfortunately, I deleted that folder).

Can you have look at it? My python and gcc versions are mentioned below, in case it is required.

$ python --version
Python 2.7.15 :: Anaconda, Inc.
$ gcc --version
gcc (Ubuntu 4.8.5-4ubuntu8) 4.8.5

from language-resources.

pasindud avatar pasindud commented on May 21, 2024

@pasindud The above problem is solved. I've built a festival voice successfully (using google data).

I assumed previously when you said the above, the .../ehmm/bin/FeatureExtraction issue was fixed ?

  • What was the error installing realpath ?

from language-resources.

arif334 avatar arif334 commented on May 21, 2024

I fixed that issue by copying festvox folder from a previous merlin installation into festival/build/ directory. But then I decided, that shouldn't be the proper way to set things up. So, today I removed everything, and started from scratch ... by installing merlin, and so on. But now I notice that .../ehmm/bin/FeatureExtraction is missing everywhere. So I can not proceed with festival training anymore.

The error of installing realpath is:

$ sudo apt install realpath
[sudo] password for arif: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package realpath is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  manpages-pl manpages-fr-extra

E: Package 'realpath' has no installation candidate

from language-resources.

pasindud avatar pasindud commented on May 21, 2024

Assuming this is fixed

from language-resources.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.