OpenSeq2Seq icon indicating copy to clipboard operation
OpenSeq2Seq copied to clipboard

tacotron gst: style embdeddings

Open gerasimoss opened this issue 6 years ago • 1 comments

I am running Tacotron GST with MAILABS and I would like to get the style embeddings and the weights of the style tokens during inference. How could I do it?

gerasimoss avatar Jun 12 '19 18:06 gerasimoss

Are you interested in gst_embedding and token_embeddings from _embed_style()?

You would have to provide those tensors to sess.run(); eg sess.run([gst_embedding, token_embeddings). The easiest way would probably to change get_interactive_infer_results() such that the fetches variable contains the relevant tensors of interest.

You can see #296 and #361 for tips on how to enable interactive infer for tacotron_gst

blisc avatar Jun 12 '19 21:06 blisc