[mary-users] How to install voices using installer?

Robert Schuon rschuon at shoutomatic.com
Tue Apr 8 14:25:16 CEST 2014


Also, when I tried to run the compiler from the command line, I got this:

voice-my_voice2-hsmm shoutomatic$ mvn verify /Users/shoutomatic/Documents/MaryTTS/myvoice2/mary/voice-my_voice2-hsmm -e -X
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T12:37:52-05:00)
Maven home: /Users/shoutomatic/Downloads/apache-maven-3.2.1
Java version: 1.6.0_65, vendor: Apple Inc.
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x", version: "10.9.2", arch: "x86_64", family: "mac"
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from /Users/shoutomatic/Downloads/apache-maven-3.2.1/conf/settings.xml
[DEBUG] Reading user settings from/Users/shoutomatic/.m2/settings.xml
[DEBUG] Using local repository at/Users/shoutomatic/.m2/repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for/Users/shoutomatic/.m2/repository
[INFO] Scanning for projects...
[DEBUG] Extension realms for project marytts:voice-myvoice2-hsmm:jar:5.1-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
[DEBUG] === REACTOR BUILD PLAN ================================================
[DEBUG] Project: marytts:voice-myvoice2-hsmm:jar:5.1-SNAPSHOT
[DEBUG] Tasks:   [verify, /Users/shoutomatic/Documents/MaryTTS/myvoice2/mary/voice-my_voice2-hsmm]
[DEBUG] Style:   Regular
[DEBUG] =======================================================================
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building voice-myvoice2-hsmm 5.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[DEBUG] Lifecycle default ->  [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean ->  [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site ->  [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default ->  [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean ->  [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site ->  [pre-site, site, post-site, site-deploy]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.314 s
[INFO] Finished at: 2014-04-07T17:39:10-05:00
[INFO] Final Memory: 3M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Unknown lifecycle phase "/Users/shoutomatic/Documents/MaryTTS/myvoice2/mary/voice-my_voice2-hsmm". You must specify a valid lifecycle phase or a goal in the format<plugin-prefix>:<goal>  or<plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. ->  [Help 1]
org.apache.maven.lifecycle.LifecyclePhaseNotFoundException: Unknown lifecycle phase "/Users/shoutomatic/Documents/MaryTTS/myvoice2/mary/voice-my_voice2-hsmm". You must specify a valid lifecycle phase or a goal in the format<plugin-prefix>:<goal>  or<plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy.
	at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateLifecycleMappings(DefaultLifecycleExecutionPlanCalculator.java:228)
	at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateMojoExecutions(DefaultLifecycleExecutionPlanCalculator.java:199)
	at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:118)
	at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:135)
	at org.apache.maven.lifecycle.internal.builder.BuilderCommon.resolveBuildPlan(BuilderCommon.java:97)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:101)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1]http://cwiki.apache.org/confluence/display/MAVEN/LifecyclePhaseNotFoundException


Weird error, right?

Bob




On 4/8/2014 8:22 AM, Robert Schuon wrote:
> Thanks, Nickolay, for the information!
>
> We tried to rerecord the 4 files that had problems, but either the Mac
> we used or the software (redstart) has an issue, because even after the
> old files were deleted and rerecorded, the new audio was not there, the
> old audio was!  And no matter how many times we tried, the tokens would
> be null, and we would throw an error.  So we ended up removing 4 audio
> files (006.wav, 058.wav, 098.wav, and 349.wav) along with all of the
> .txt files, and all associated .lab, .pm, .cnf, any file even remotely
> related to them (we tried just rerunning without the .wav and .txt and
> deleting them out of the basename.lst, but that did nothing).  We also
> removed those filenames from the basename.lst, and were finally able to
> get through the hmm processing.
>
> Then we tried to compile the hmm voice, using the compiler.  Eclipse
> immediately complained it could not find Maven, even though we added it
> to the path.  So I added the Maven path to the environment in Eclipse,
> and Maven starts, but now we get a weird error (here is the console dump):
>
> Opening GUI.......
> Loading database layout:
> Reading config file /Users/shoutomatic/Documents/MaryTTS/myvoice2/database.config
> Reading external binaries config file /Users/shoutomatic/marytts3/lib/external/externalBinaries.config
> Loading basename list from file /Users/shoutomatic/Documents/MaryTTS/myvoice2/basenames.lst
> Found 404 files in basename list
> Loading features from file /Users/shoutomatic/Documents/MaryTTS/myvoice2/mary/features.txt
> INFO  HMMVoiceCompiler: Getting a context feature file example in phonefeatures/
> Checking if aliases for extra features used for training were used: checking if file exist -->/Users/shoutomatic/Documents/MaryTTS/myvoice2/mary/hmmFeaturesMap.txt
> convert back the features in all tree files: treeDurFile, treeLf0File, treeMcpFile, treeStrFile
> INFO  HMMVoiceCompiler: loading features map from file: /Users/shoutomatic/Documents/MaryTTS/myvoice2/mary/hmmFeaturesMap.txt
> INFO  HMMVoiceCompiler:   accented -->    f0
> INFO  HMMVoiceCompiler:   accented_syls_from_phrase_end -->    f1
> INFO  HMMVoiceCompiler:   accented_syls_from_phrase_start -->    f2
> INFO  HMMVoiceCompiler:   breakindex -->    f3
> INFO  HMMVoiceCompiler:   edge -->    f4
> INFO  HMMVoiceCompiler:   next_accent -->    f5
> INFO  HMMVoiceCompiler:   next_is_pause -->    f6
> INFO  HMMVoiceCompiler:   next_punctuation -->    f7
> INFO  HMMVoiceCompiler:   next_stressed -->    f8
> INFO  HMMVoiceCompiler:   next_tobi_accent -->    f9
> INFO  HMMVoiceCompiler:   next_tobi_endtone -->    f10
> INFO  HMMVoiceCompiler:   nextnext_tobi_accent -->    f11
> INFO  HMMVoiceCompiler:   nextnext_tobi_endtone -->    f12
> INFO  HMMVoiceCompiler:   onsetcoda -->    f13
> INFO  HMMVoiceCompiler:   phrase_endtone -->    f14
> INFO  HMMVoiceCompiler:   phrase_numsyls -->    f15
> INFO  HMMVoiceCompiler:   phrase_numwords -->    f16
> INFO  HMMVoiceCompiler:   phrases_from_sentence_end -->    f17
> INFO  HMMVoiceCompiler:   phrases_from_sentence_start -->    f18
> INFO  HMMVoiceCompiler:   pos_in_syl -->    f19
> INFO  HMMVoiceCompiler:   position_type -->    f20
> INFO  HMMVoiceCompiler:   prev_accent -->    f21
> INFO  HMMVoiceCompiler:   prev_is_pause -->    f22
> INFO  HMMVoiceCompiler:   prev_phrase_endtone -->    f23
> INFO  HMMVoiceCompiler:   prev_punctuation -->    f24
> INFO  HMMVoiceCompiler:   prev_stressed -->    f25
> INFO  HMMVoiceCompiler:   prev_syl_break -->    f26
> INFO  HMMVoiceCompiler:   segs_from_syl_end -->    f27
> INFO  HMMVoiceCompiler:   segs_from_syl_start -->    f28
> INFO  HMMVoiceCompiler:   segs_from_word_end -->    f29
> INFO  HMMVoiceCompiler:   segs_from_word_start -->    f30
> INFO  HMMVoiceCompiler:   selection_prosody -->    f31
> INFO  HMMVoiceCompiler:   sentence_numphrases -->    f32
> INFO  HMMVoiceCompiler:   sentence_numwords -->    f33
> INFO  HMMVoiceCompiler:   sentence_punc -->    f34
> INFO  HMMVoiceCompiler:   stressed -->    f35
> INFO  HMMVoiceCompiler:   stressed_syls_from_phrase_end -->    f36
> INFO  HMMVoiceCompiler:   stressed_syls_from_phrase_start -->    f37
> INFO  HMMVoiceCompiler:   style -->    f38
> INFO  HMMVoiceCompiler:   syl_break -->    f39
> INFO  HMMVoiceCompiler:   syl_numsegs -->    f40
> INFO  HMMVoiceCompiler:   syls_from_phrase_end -->    f41
> INFO  HMMVoiceCompiler:   syls_from_phrase_start -->    f42
> INFO  HMMVoiceCompiler:   syls_from_prev_accent -->    f43
> INFO  HMMVoiceCompiler:   syls_from_prev_stressed -->    f44
> INFO  HMMVoiceCompiler:   syls_from_word_end -->    f45
> INFO  HMMVoiceCompiler:   syls_from_word_start -->    f46
> INFO  HMMVoiceCompiler:   syls_to_next_accent -->    f47
> INFO  HMMVoiceCompiler:   syls_to_next_stressed -->    f48
> INFO  HMMVoiceCompiler:   tobi_accent -->    f49
> INFO  HMMVoiceCompiler:   tobi_endtone -->    f50
> INFO  HMMVoiceCompiler:   word_numsegs -->    f51
> INFO  HMMVoiceCompiler:   word_numsyls -->    f52
> INFO  HMMVoiceCompiler:   words_from_phrase_end -->    f53
> INFO  HMMVoiceCompiler:   words_from_phrase_start -->    f54
> INFO  HMMVoiceCompiler:   words_from_prev_punctuation -->    f55
> INFO  HMMVoiceCompiler:   words_from_sentence_end -->    f56
> INFO  HMMVoiceCompiler:   words_from_sentence_start -->    f57
> INFO  HMMVoiceCompiler:   words_to_next_punctuation -->    f58
> INFO  HMMVoiceCompiler: load: reading /Users/shoutomatic/Documents/MaryTTS/myvoice2/hts/voices/qst001/ver1/tree-dur.inf
> Features alises replaced in file: /Users/shoutomatic/Documents/MaryTTS/myvoice2/hts/voices/qst001/ver1/tree-dur.inf.tmp
> Copied file: /Users/shoutomatic/Documents/MaryTTS/myvoice2/hts/voices/qst001/ver1/tree-dur.inf.tmp  to: /Users/shoutomatic/Documents/MaryTTS/myvoice2/hts/voices/qst001/ver1/tree-dur.inf
>
> INFO  HMMVoiceCompiler: load: reading /Users/shoutomatic/Documents/MaryTTS/myvoice2/hts/voices/qst001/ver1/tree-lf0.inf
> Features alises replaced in file: /Users/shoutomatic/Documents/MaryTTS/myvoice2/hts/voices/qst001/ver1/tree-lf0.inf.tmp
> Copied file: /Users/shoutomatic/Documents/MaryTTS/myvoice2/hts/voices/qst001/ver1/tree-lf0.inf.tmp  to: /Users/shoutomatic/Documents/MaryTTS/myvoice2/hts/voices/qst001/ver1/tree-lf0.inf
>
> INFO  HMMVoiceCompiler: load: reading /Users/shoutomatic/Documents/MaryTTS/myvoice2/hts/voices/qst001/ver1/tree-mgc.inf
> Features alises replaced in file: /Users/shoutomatic/Documents/MaryTTS/myvoice2/hts/voices/qst001/ver1/tree-mgc.inf.tmp
> Copied file: /Users/shoutomatic/Documents/MaryTTS/myvoice2/hts/voices/qst001/ver1/tree-mgc.inf.tmp  to: /Users/shoutomatic/Documents/MaryTTS/myvoice2/hts/voices/qst001/ver1/tree-mgc.inf
>
> INFO  HMMVoiceCompiler: load: reading /Users/shoutomatic/Documents/MaryTTS/myvoice2/hts/voices/qst001/ver1/tree-str.inf
> Features alises replaced in file: /Users/shoutomatic/Documents/MaryTTS/myvoice2/hts/voices/qst001/ver1/tree-str.inf.tmp
> Copied file: /Users/shoutomatic/Documents/MaryTTS/myvoice2/hts/voices/qst001/ver1/tree-str.inf.tmp  to: /Users/shoutomatic/Documents/MaryTTS/myvoice2/hts/voices/qst001/ver1/tree-str.inf
>
> INFO  HMMVoiceCompiler: Creating directories
> INFO  HMMVoiceCompiler: Copying template files
> INFO  HMMVoiceCompiler: Copying voice files
> INFO  HMMVoiceCompiler: Compiling with Maven
> maven err>/Users/shoutomatic/Downloads/apache-maven-3.2.1/bin/mvn: line 53: uname: command not found
> maven err>/Users/shoutomatic/Downloads/apache-maven-3.2.1/bin/mvn: line 107: dirname: command not found
> maven err>Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/plexus/classworlds/launcher/Launcher
> maven err>Caused by: java.lang.ClassNotFoundException: org.codehaus.plexus.classworlds.launcher.Launcher
> maven err>	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> maven err>	at java.security.AccessController.doPrivileged(Native Method)
> maven err>	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> maven err>	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> maven err>	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> maven err>	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> java.lang.Exception: The component HMMVoiceCompiler produced the following exception:
> 	at marytts.tools.voiceimport.DatabaseImportMain$8.run(DatabaseImportMain.java:297)
> Caused by: java.io.IOException: Maven compilation did not succeed -- check console for details.
> 	at marytts.tools.voiceimport.VoiceCompiler$MavenVoiceCompiler.compileWithMaven(VoiceCompiler.java:343)
> 	at marytts.tools.voiceimport.VoiceCompiler.compute(VoiceCompiler.java:94)
> 	at marytts.tools.voiceimport.DatabaseImportMain$8.run(DatabaseImportMain.java:294)
>
>
>
> Any help would be greatly appreciated, as we are within one step of having a test voice!
>
> Thanks,
>
> Bob S.
>
>
>
> On 4/3/2014 4:00 AM, Nickolay V. Shmyrev wrote:
>> Hello Robert
>>
>>> Upon researching the issue on the internet, it seems that the automatic
>>> settings for -t 1500 100 5000 are causing too many tokens to be pruned,
>>> and leaving some files blank, which of course, blows up the script.
>> Your problem is not about settings, the beams that are used are very wide.
>>
>>> looked through the settings, but I am unable to locate the correct
>>> setting to change these numbers, and also, what a better setting should
>>> be (and why).  Anyone have better settings that they use, and an
>>> explanation of how to use them?
>> You shouldn't set any numbers.  The real issue is mismatch between the phonetic transcription for that utterance and it's contents. You need to review utterance audio and generated phonetic transcription and try to understand why they can not be aligned. Most likely the transcription is significantly different from the audio.
>>
>> Alternatively you can remove utterance 006 from the database and proceed without it.
>>
>


-- 
ShoutOmatic.com
"Stop Typing, Start Shouting!"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.dfki.de/pipermail/mary-users/attachments/20140408/c07190a7/attachment-0001.htm 


More information about the Mary-users mailing list