Prosody Loss
See original GitHub issueHi, 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!
Issue Analytics
- State:
- Created a year ago
- Comments:7 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi,
I’m the author of this paper. My code for calculating the MDN loss is here with a small numerical stability trick:
Does that help?
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.