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

疑似存在代码实现错误 #6

Open
sillytheif opened this issue Aug 3, 2023 · 1 comment
Open

疑似存在代码实现错误 #6

sillytheif opened this issue Aug 3, 2023 · 1 comment

Comments

@sillytheif
Copy link

co-train.py中:
ptl = batch_prob_l * batch_labels_l + (1 - batch_prob_l) * pl[0] 中pl[0]仅是batch内第一个伪标签,这里应该是和batch内所有的进行累加。
希望能得到您的回复。

@hi-zhenyu
Copy link
Collaborator

您好,
很抱歉出现错误,ptl的计算应该使用pl的所有标签,我们已经修改了该问题

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

2 participants