Open youssefavx opened 4 years ago
I just got it working after many many failed attempts today and here was my experience!
First off you have to clone like this so it grabs the source code we're supposed to be working with from another github page. https://github.com/lowerquality/gentle/issues/257 ^^^ That page has everything I did to get it work but I explain further here
You can see the real git command there that you should be using Then I also found that my openFST was corrupting everytime so slap that into your "gentle\ext\kaldi\tools\" folder before you run install.sh and also 4 other commands are over there just incase you need those too!
Do this all after git cloning but before running install.sh Hope it helps you too!
I just got it working after many many failed attempts today and here was my experience!
First off you have to clone like this so it grabs the source code we're supposed to be working with from another github page.
257
^^^ That page has everything I did to get it work but I explain further here
You can see the real git command there that you should be using Then I also found that my openFST was corrupting everytime so slap that into your "gentle\ext\kaldi\tools" folder before you run install.sh and also 4 other commands are over there just incase you need those too!
Do this all after git cloning but before running install.sh Hope it helps you too!
Where should i put this openFST ?
slap that into your "gentle\ext\kaldi\tools" folder
I cloned using the --recurse-submodules
option, and I copied the folder openfst-1.6.5/
(downloaded from the link linked to from the issue linked above, and extracted from the .tar.gz) into ext/kaldi/tools
, then I ran ./install.sh
.
Running python align.py filename.wav filename.txt
still gave me the error this issue is about, regarding the resources directory and the GENTLE_RESOURCES_ROOT
environment variable.
Anyone else having this issue, or know of a fix?
EDIT: It appears that this error about the resources directory and the GENTLE_RESOURCES_ROOT
environment variable is actually just because the ./install.sh
failed.
For me, ./install.sh
failed with only a couple lines of error about "permission" and "linking" or "unlinking".
After running the install script with sudo
(so, sudo ./install.sh
), it took a long time (minutes, I think) but then afterward, align.py worked.
In trying to install gentle, I went through the installation process by doing:
git clone https://github.com/lowerquality/gentle
Then, I did
./install.sh
brew said a few packages were already installed (such as ffmpeg).
Then I tried
python3 serve.py
And got this error:
Then I tried
python3 align.py audio.mp3 words.txt
And got this error:
Then I found that this error had occurred before , and that the user tried doing
sudo pip install Twisted==16.4.1
And the scripts ran normally. So I tried doing that but: