Comments (11)
I found similar error.
In my case,
model_1/model/ResidualConv1dGLU_0/residual_block_cin_conv/bias_residual_block_cin_conv/ExponentialMovingAverage
was saved as model_1/model_1/model/ResidualConv1dGLU_0/residual_block_cin_conv/bias_residual_block_cin_conv/ExponentialMovingAverage
.
You can edit your create_shadow_saver
to load variables with those names.
You can inspect your .ckpt file using
from tensorflow.python.tools import inspect_checkpoint as chkp
chkp.print_tensors_in_checkpoint_file("logs/wavenet_r9y9/model/model.ckpt-50000", tensor_name='', all_tensors=True, all_tensor_names=True)
from tacotron-2.
@a3626a Thank you very much.
But I ran again to see whats happened, and I found this error during training:
"tensorflow.python.framework.errors_impl.CancelledError: Enqueue operation was cancelled"
exactly after: "Tacotron training complete after 85000 global steps!"
from tacotron-2.
Lines 296 to 297 in e2f9780
Check your command line argument tacotron_train_steps
from tacotron-2.
Yeah, I got it. Thank you very much. I really appreciate.
from tacotron-2.
Hi again.
@a3626a Thank you, I used your help (editing names of variables from model_1 to model) and it loaded those models without problem, but it errors for models in encoder and decoder parts of wavenet. I've checked variables during training and non of the variables are found in training variables during training. How can I handle this?
Here is an example of the error:
model/model/inference/decoder/Location_Sensitive_Attention/attention_bias/ExponentialMovingAverage
from tacotron-2.
Inside your checkpoint, trainable variables (tf.trainable_variabels()
) are not saved, their Exponential Moving Averages are saved.
Can you explain what you are trying to do?
- Load trained model and synthesis
- Load trained model and continue training
- Just to start training
from tacotron-2.
1 and 2 both have been tried. Actually, I want 1.
from tacotron-2.
Hello! I'm getting the same errors as described above.
When loading the trained model and running synthesis using --model='Both'
it's looking for "model_1/model/..." rather than "model/model/..."
I updated create_shadow_saver to replace "model_1" with "model" but then run into the following error:
NotFoundError (see above for traceback): Key model/model/inference/decoder/Location_Sensitive_Attention/attention_bias/ExponentialMovingAverage not found in checkpoint
I usde print_tensors_in_checkpoint_file and as far as I can tell this name is not stored in the checkpoint file at all.
Anyone know what is going on here? Thanks!
from tacotron-2.
create_shadow_saver selects some variables for saving. You can comment this part and use tf.saver.save to save whole tensor variables. Then you have to change synthesis part for loading saved tensors.
from tacotron-2.
Check it.
https://github.com/Rayhane-mamah/Tacotron-2/pulls
from tacotron-2.
Hello, I can't quite manage to reproduce with latest commit, I am closing this as I believe it was fixed meanwhile. If the problem persists feel free to reopen!
I also disabled training with "Both" as it seems to be causing problems for many people, so now simply use "Tacotron-2" for both models.
from tacotron-2.
Related Issues (20)
- Type of sequence_length in BiLSTM
- Preprocessing Error occurring for using custom dataset
- Preprocess problem HOT 1
- Linear Projection
- Speech synthesis in a language not found in the dataset
- Question: How can I train the model on my own data HOT 2
- About Loss Function and Preprocessing
- Why do we need to shuffle data in one particular batch?
- 2 different questions in 1 issue
- Errors in training WaveNet
- Is it possible to do quick and custom evaluation?
- when i run training
- is there anyway to implement garbage collection ?
- Trouble with using pretrained checkpoints HOT 1
- Can Someone please provide any pre-trained checkpoints for this model to do the transfer learning?
- Has anyone deployed this model on web before? Need some help with that? If anyone has kindly provide the steps. It's urgent
- Saving the entire model
- BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending HOT 1
- hparams.py and error with " python preprocess.py "
- ValueError: please enter a valid model to train: ['Tacotron', 'WaveNet', 'Tacotron-2'] HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tacotron-2.