Skip to content

A Question about training memory bank model #6

Description

@csEylLee

您好,我想问一下下面这部分代码为什么只取了一部分labels参与损失计算,而不是一个batch中全部的label进行计算?还望解答,万分感谢!

labels_phase = labels_phase[(sequence_length - 1)::sequence_length]

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