Skip to content

negative loss value #5

Open
Open

Description

@shartoo

i'm using your code to train my dataset,the codes ran ok while loss value is negative ,is this normal?

INFO:pytorch:Let's use 1 GPUs!
C:\Python35\lib\site-packages\torch\nn\modules\upsampling.py:122: UserWarning: nn.Upsampling is deprecated. Use nn.functional.interpolate instead.
  warnings.warn("nn.Upsampling is deprecated. Use nn.functional.interpolate instead.")
INFO:pytorch:[1,   1] loss: 8774.103
INFO:pytorch:[1,   2] loss: 247.321
INFO:pytorch:[1,   3] loss: 2267.624
INFO:pytorch:[1,   4] loss: 2223.914
INFO:pytorch:[1,   5] loss: 21230.785
INFO:pytorch:[1,   6] loss: -4516.562
INFO:pytorch:[1,   7] loss: -1636.356
INFO:pytorch:[1,   8] loss: -1802.424
INFO:pytorch:[1,   9] loss: -973.106
INFO:pytorch:[1,  10] loss: -2390.099
INFO:pytorch:[1,  11] loss: -3500.059
INFO:pytorch:[1,  12] loss: -2850.755
INFO:pytorch:[1,  13] loss: -4785.271
INFO:pytorch:[1,  14] loss: -5666.863
INFO:pytorch:[1,  15] loss: -6398.563
INFO:pytorch:[1,  16] loss: 6809.037
INFO:pytorch:[1,  17] loss: 6204.096
INFO:pytorch:[1,  18] loss: -9287.712
INFO:pytorch:[1,  19] loss: -3614.344

Activity

  1. npuichigo commented on Dec 5, 2018

    @npuichigo
    Owner

    The value of a probability density function is not restricted to the range of 0 and 1, so -log(P(x)) may be negative.

  2. shartoo commented on Dec 6, 2018

    @shartoo
    Author

    您好!我之前听过您在AI研习社的关于语音合成的演讲,做了一些笔记,有一个问题想请教下。传统方法合成的语音有很重的机械音,如果把声码器换成神经网络的,比如wavenet这种,会出现跳帧的情况。就是有些字的发音会没有,请问这种问题该如何解决呢?

  3. ajinkyakulkarni14 commented on Jun 11, 2019

    @ajinkyakulkarni14

    Why the calculated loss in your implementation is different than the one explained in nvidia version of Waveglow ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions