-
-
Save pasindud/79ed9acaac8d79ffc00cca1cc0b0c5fd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set -x | |
| cd /usr/local/src/ | |
| rm -rf language-resources | |
| git clone https://github.com/googlei18n/language-resources | |
| echo $(pwd) | |
| mkdir -p /usr/local/src/voice/data/festvox/wavs | |
| cd /usr/local/src/voice/data/festvox/ | |
| find . | |
| echo $(pwd) | |
| echo "First check above" | |
| cd /usr/local/src/voice/data/festvox/wavs | |
| find . | |
| echo "Before wavs" | |
| tar -xf ../wav.tar | |
| find . | |
| echo $(pwd) | |
| echo "After wavs" | |
| # Setup festvox for given data | |
| cd /usr/local/src/voice | |
| cat data/festvox/phonology.json | |
| ls data/festvox | |
| mkdir training | |
| /usr/local/src/language-resources/festival_utils/build_festvox_voice.sh -t \ | |
| /usr/local/src/voice/data/festvox/wavs/ \ | |
| data \ | |
| /usr/local/src/voice/training | |
| find . | |
| # Generate utts and initial labels | |
| cd /usr/local/src/voice/training | |
| ./bin/do_build parallel build_prompts | |
| ./bin/do_build label | |
| ./bin/do_clustergen parallel build_utts | |
| cd lab && ls *.lab -1 | sed -e 's/\.lab$//' | head -n 30 > ../file_id_list.scp | |
| # Setup merlin | |
| cd /usr/local/src/voice/training | |
| /usr/local/src/language-resources/festival_utils/run_docker_merlin_training.sh | |
| # Package the voice | |
| cd /usr/local/src/voice/data/festvox | |
| tar --absolute-names -zcvf merlin_build_voice.tar.gz /usr/local/src/merlin/egs/locale | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment