merlin icon indicating copy to clipboard operation
merlin copied to clipboard

Error using /prepare_labels_from_txt.sh & ./merlin_synthesis.sh

Open BiaWie opened this issue 7 years ago • 13 comments

Hello there,

I'm trying to get merlin to talk to me (thus, generate new sentences) using the "standard" settings.

Beforehand i tested run_full_voice.sh, which was successfull and I received some wav-Files in /slt_arctic_full/test_synthesis/wav. Festival itself also works properly (I followed issue #96 for installation an now I can use (SayText "Here is my new senctence") and hear it read out loud). So I thought myself save..

Well, I created a directory .../test_synthesis/txt and in there a textfile named "ThisIsATest.txt" containing only the sentence "This is a test.".

As advised in issue #28 and tried to run merlin_synthesis.sh, (and in a next try only prepare_labels_from_txt.sh) but it doesn't work, instead I get following error message:

creating a scheme file from text directory generating utts from scheme file *** Error in '...........merlin/tools/festival/bin/festival': free (): invalid next size (fast) : ......***

(followed by a lot of "INFO configuration: Processes: ..." entries)

./scripts/prepare_labels_from_txt.sh: line 55: 13590 Aborted (core dumped) ${FESTDIR}/bin/festival -b ${testDir}/new_test_sentences.scm

and in the end

IndexError: index 0 is out of bounds for axis 0 with size 0 deleting intermediate synthesis files... synthesized audio files are in: .........../test_synthesis/wav

Self-evidently there are no new files in there. But anyway something DID happen: -it created two Files "ThisIsATest.lab" (one in promt-lab and one in gen-lab) which are both empty, -a File "test_id_list.scp" (in test_synthesis) which contains my Filename "ThisIsATest" and -a File "new_test_sentences.scm", which says "(utt.save (.................. promt-utt/ThisIsATest.utt")

Any idea what I'm doing wrong? Did I miss anything when installing festival? I'm puzzled. Thanks in advance!

BiaWie avatar Sep 28 '17 10:09 BiaWie

Hello,

what is the version of gcc?

seblemaguer avatar Feb 15 '18 17:02 seblemaguer

Hi guys,

I have the same issue here: ''' creating a scheme file from text directory generating utts from scheme file *** Error in '...........merlin/tools/festival/bin/festival': free (): invalid next size (fast) : ......*** ''' gcc (Ubuntu 7.2.0-8ubuntu3.2) 7.2.0

Any idea @seblemaguer ? Festival should be compiled with a former version of gcc ?

gillesdegottex avatar Mar 18 '18 14:03 gillesdegottex

Is this related to the festival fixes in 2.5? https://github.com/festvox/festival/blob/master/README.md

m-toman avatar Mar 18 '18 17:03 m-toman

@m-toman I think it is due to some flagging but I didn't investigate yet @gillesdegottex that is what I am doing for now. After blizzard, I might see for that :D

seblemaguer avatar Mar 18 '18 18:03 seblemaguer

It partly solved the problem. It still crashes on 44 sentences out of 1132 of SLT. Festival might have been compiled with gcc-7 though, I'll try to force it to gcc-6. Thanks!

gillesdegottex avatar Mar 18 '18 19:03 gillesdegottex

Still 44 sentences crashing with gcc-6

To double-check, can someone try to generate the label_state_align from slt_arctic_full_data using festival>=2.4 (from a fresh merlin clone) ?

gillesdegottex avatar Mar 18 '18 21:03 gillesdegottex

Solved by compiling festival with gcc-4.8

gillesdegottex avatar Mar 20 '18 10:03 gillesdegottex

I met same error, how to compile festival with gcc-4.8?

ben-8878 avatar Apr 28 '18 05:04 ben-8878

after compiling festival with gcc-4.8, same error still exists. someone have same case with me?

ben-8878 avatar Apr 28 '18 07:04 ben-8878

Did you just re-compile festival using gcc-4.8 or did you re-compile both speech_tools and festival?

I forced gcc to be gcc-4.8 and executed compile_other_speech_tools.sh again. That seems to have solved it for me.

However, I executed the tests of both speech_tools and fetsival using make test in their base folders. All tests from speech_tools pass as correct with gcc-4.8, when compiled with gcc-6 or gcc-7 most of the tests fail. When executing the tests of festival, even with gcc-4.8 half of the tests seem to fail.

yweweler avatar May 21 '18 14:05 yweweler

hi,friend@v-yunbin! i met the same erro as you .so can you tell me how do you solve the problem.Thanks a lot!

li-xx-5 avatar Sep 29 '18 06:09 li-xx-5

Tried to recompile speech_tools and festival using gcc-4.8.5 but still having the same issue as in the original post. Was able to run both ./run_demo.sh, ./run_full_voice.sh, and SayText in Festival though. Any other suggestion?

yyf avatar Feb 05 '19 00:02 yyf

Recompiled the tools using gcc 5.4, and was able to run ./run_full_voice.sh and ./merlin_synthesis.sh now.

yyf avatar Feb 14 '19 19:02 yyf