-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I apply the puglin? #130
Comments
Hello, what are you trying to do exactly? |
I want to train a voice, I already generated the project layout under |
To build a voice, you should need neither the marytts nor the voicebuilding plugin source code. You simply need a new Gradle project, which applies the voicebuilding plugin (retrieving it from the Gradle Plugins portal), which in turn configures all the default build logic for you -- including dependencies on Please have a look at some of our voice projects, e.g., voice-enst-camille or voice-cmu-slt. |
OK, I get It to run using the voice-cmu-slt voice-project. Now I wanted to redo it with local files. For testing, I used the voice-cmu-slt examples. I cloned the voice-cmu-slt git-project and copied the lab, text and wav files accordingly and generated a new "clean" build.gradle file: plugins {
id 'de.dfki.mary.voicebuilding-festvox' version '5.3.2'
id 'de.dfki.mary.voicebuilding-legacy' version '5.3.2'
}
group 'de.dfki.mary'
version '5.3-SNAPSHOT'
voice {
name = 'cmu-slt'
gender = 'female'
type = 'unit selection'
samplingRate = 16000
} (I also deleted the three files that are excluded in the example).
What is the problem? |
I maybe found the solution to this error. By generating a plugins {
id 'de.dfki.mary.voicebuilding-festvox' version '5.3.2'
id 'de.dfki.mary.voicebuilding-legacy' version '5.3.2'
}
group 'de.dfki.mary'
version '5.3-SNAPSHOT'
voice {
name = 'cmu-slt'
gender = 'female'
type = 'unit selection'
samplingRate = 16000
}
task generateBasenamesList {
def destFile = file("$buildDir/basenames.lst")
outputs.files destFile
doLast {
destFile.text = fileTree("$buildDir/wav").include('*.wav').collect {
it.name - '.wav'
}.join('\n')
}
}
legacyInit.dependsOn generateBasenamesList and running
Why are these files not generated, needed at this point? When copying the files from the git-cloned version, it runs through fine and generates the voice. |
Sorry but there is not enough information for us to debug here. Could you paste the full stacktrace? |
Sure:
|
It says that this file "/home/isiegert/Forschung/NDR/gradle-cmu/voice-cmu-slt/build/pm/arctic_a0302.pm" doesn't exist. do you have anything in the pm directory? Anyhow, double check if you didn't have a warning or anything before. |
Yes, I think that is the problem. The pm directory is indeed empty. When should it be filled, by which process? |
Find attached the full stacktrace: |
I had a deeper look at the stacktrace output and found the following message: Could that be an possible issue? Although the files are there: |
Thanks for investigating! Indeed it looks like there are certain corner cases where the intermediate files generated during the voicebuilding steps do not align properly. We actually avoided this issue (and never got around to investigating and fixing the root issue) by simply excluding certain utterances from the task generateBasenamesList {
def destFile = file("$buildDir/basenames.lst")
outputs.files destFile
dependsOn wav
doLast {
destFile.text = fileTree("$buildDir/wav").include('*.wav').collect {
it.name - '.wav'
}.minus([
'arctic_a0438',
'arctic_a0439',
'arctic_b0391'
]).join('\n')
}
} It appears that upgrading that voice to the latest version of the voicebuilding plugin exacerbates the original problem, and hacking the |
@psibre Yes you are right. during all my tests, I was aware of this hack and totally forget about it, as I thought I directly used a reduced set of data, which was not the case. So now it is successfully building the voice also with local files. |
How do I apply the puglin? I cloned marytts and run
./gradlew build
that worked. I than cloned gradle-marytts-voicebuilding-plugin and run./gradlew build
again and that worked too, but adding the line to gradle.build (at gradle-marytts-voicebuilding-plugin/) does not work anymore...Originally posted by @ingosiegert in #115 (comment)
The text was updated successfully, but these errors were encountered: