-
Notifications
You must be signed in to change notification settings - Fork 800
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
Error when loading pretrained model ljspeech to training another language #57
Comments
@linhld0811 cay you try
btw, what is ur tensorflow version ? |
Here my code:
I use TF version 2.2.0 |
@linhld0811 no i mean this code, i just test and it worked.
|
Thanks, i fixed this error. I loaded model but did not use the param skip_mismatch=True of the function tacotron2.load_weights |
@sujeendran Fixed. |
I have a question, can you help me to figured out:
|
You cannot do that :)) |
@dathudeptrai I tried the same. Didn't work. I'm also running Tensorflow 2.2.0. To be clear, here is the code after your fix:
|
@sujeendran no, the code should be like this, do not need re build and redefine embedding layer
|
@dathudeptrai Oh, in that case my fix was doing the same. Thanks! :) Maybe you can update the documentation for fine-tuning now that this is clear so others don't fall into this issue again. |
Yeah i will update it asap :))) maybe add some flags :3 |
When i tried to load pretrained model(model_65000.h5) like the tutorials in the examples/tacotron2/README.md to train on the other language, i got the error like this:
And when i used another pretrained(model_40000.h5), i got another error:
Can anyone help me to fix this error?! Thanks!
The text was updated successfully, but these errors were encountered: