Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A Question about training memory bank model #6

Open
csEylLee opened this issue Feb 3, 2023 · 1 comment
Open

A Question about training memory bank model #6

csEylLee opened this issue Feb 3, 2023 · 1 comment

Comments

@csEylLee
Copy link

csEylLee commented Feb 3, 2023

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

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

@csEylLee
Copy link
Author

csEylLee commented Feb 4, 2023

我想应该是只需要每个sequence的最后一帧的预测……

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant