Giter VIP home page Giter VIP logo

Comments (5)

ElijhaLi avatar ElijhaLi commented on August 18, 2024 1

I think the negative loss is normal, since the loss is log- scalar, which can be negative.

However, I encountered another issue that the grad_norm is larger than you (starting from ~50 and decrease to ~5, then increase to ~10), while it seems that your grad norm is always ~1.

from glow-tts.

jaywalnut310 avatar jaywalnut310 commented on August 18, 2024 1

add_noise is about whether to add noise in the input data or not. It is not related with noise_scale. At inference time, you can change noise_scale between 0 to 1 for finding best sample quality.

from glow-tts.

Charlottecuc avatar Charlottecuc commented on August 18, 2024

Besides, I successfully trained the model by using the LJ dataset and the synthezised voice is quite well.
I also noticed that during the training process, the l_mle_normal is negative:
Screenshot 2020-06-11 at 5 40 10 PM
Screenshot 2020-06-11 at 5 42 30 PM

My question is, why the loss will become negative?

Thank you!

from glow-tts.

jaywalnut310 avatar jaywalnut310 commented on August 18, 2024

@Charlottecuc Yes, the negative loss is normal, as it stans for negative log-likelihood of data. If you encounter NAN loss, I have no perfect solution, but I can give you a suggestion.

You can change configs add_noise to false, and fp16_run to false. Switching on/off theses configs may help to increase numerical stability.

from glow-tts.

Charlottecuc avatar Charlottecuc commented on August 18, 2024

@jaywalnut310 Hi. I changed add_noiseto false and it seems that the model is more stable than before. Besides, after changing the "add_noise" to false, do I also need to change the value of "noise_scale" in the inference time? Thanks!

from glow-tts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.