question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hi, I am adding your MDN prosody modeling code segment to my tacotron but I encountered several problems about the code segment about prosody modeling. First, the prosody loss is added into the total loss only after the prosody_loss_enable_steps but in the training steps before the prosody_loss_enable_steps the prosody representation is already added with the text encoding. Does it means in the training steps before the prosody_loss_enable_steps, the prosody representation is optimized without the prosody loss? Second, in the training steps, the backward gradient of training prosody predictor should be acted like “stop gradient” but it seems little relevant code. Thanks!

eeObXqHdtF

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
cpducommented, Oct 31, 2022

Hi,

I’m the author of this paper. My code for calculating the MDN loss is here with a small numerical stability trick: MDN_loglike

Does that help?

0reactions
cpducommented, Nov 3, 2022

The MDN loss (i.e. negative log-likelihood) can be negative value. However, in your log, it is almost 0 before becoming nan. I guess maybe you can check whether you calculate the likelihood correctly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

A characterization of the prosodic loss in Parkinson's disease
The striking disorder of prosody in Parkinson's disease relates to motor control, not to a loss of the linguistic knowledge required to make...
Read more >
Prosody (linguistics) - Wikipedia
In linguistics, prosody is concerned with elements of speech that are not individual phonetic segments (vowels and consonants) but are properties of ...
Read more >
On the Receptive Prosodic Loss in Parkinson's Disease
The results obtained demonstrated a general reduction in the ability of the PD patients to identify the linguistic- and affective-prosodic meaning of utterances ......
Read more >
More about Prosody - Right Hemisphere Brain Damage
Prosody is a word used to describe the rate, rhythm, and melody of our speech. We change these features when we speak in...
Read more >
Right Hemisphere Damage and Prosody | Oxford
Damage to the right hemisphere or basal ganglia can result in difficulty using or understanding prosodic contours in speech. Prosody includes pitch ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found