Skip to content

CrossEntropyLoss is negative #2866

@micklexqg

Description

@micklexqg

what’s the formula of CrossEntropyLoss used in pytorch?
I used CrossEntropyLoss, but the loss value is negative. generally speaking, it should be positive.
so what’s wrong?

Metadata

Metadata

Assignees

Labels

awaiting response (this tag is deprecated)This tag is deprecated while we figure out what to do with itneeds reproductionEnsure you have actionable steps to reproduce the issue. Someone else needs to confirm the repro.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions