Skip to content

Possible error when computing final loss #10

Closed
@secsilm

Description

In the paper, the final loss is obtained by adding constrained loss to cross entropy:

image

But in model.py, it seems that only the constrained loss is used:

image

If I understand the paper correctly, should loss = const_loss be changed to loss += const_loss?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions