Skip to content

Hi have you try your crossentropy loss #1

@jiqizaisikao

Description

@jiqizaisikao

I really do not understand your code,i think that the crossentropy loss is like this:
loss=-p*(log(Q/P))+(-(1-P)log((1-Q)/(1-P)))
when P=Q the loss is zero
if loss=-P
(log(Q/P))
when P=Q the loss is not at the minum,

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