Skip to content

Why do we need to reverse the targets here for calculating relation loss? #12

@ChiefGodMan

Description

@ChiefGodMan

Here is the code line, but I don't understand it.

targets = 1 - targets.view(-1).long()

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