Skip to content

negative loss value #5

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

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