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

请问 训练中带标签数据必须和无标签数据数量相等吗? #169

Open
DongLZY opened this issue May 19, 2024 · 1 comment
Open

Comments

@DongLZY
Copy link

DongLZY commented May 19, 2024

你好我看到代码中有这样的判断
assert len(loader_l) == len(loader_u), f"labeled data {len(loader_l)} unlabeled data {len(loader_u)}, imbalance!"
意思是无标签样本必须和有标签样本数量一致吗?

@Haochen-Wang409
Copy link
Owner

我们设置了重复采样使得无标签和有标签数据的总iter一致。

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