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

selected_label #61

Open
lzw1997lzw opened this issue Aug 5, 2022 · 1 comment
Open

selected_label #61

lzw1997lzw opened this issue Aug 5, 2022 · 1 comment

Comments

@lzw1997lzw
Copy link

Hello, I read the code you open source to Github and found that the size of selected_label is the size of the entire unlabeled dataset. When updating selected_label later, the index used is the current batch size index, for example, batch is 64, X_ULb_idx is the index range of 0-63. Or the index of the original dataset, I don't know if you can understand this description?

@Hhhhhhao
Copy link
Collaborator

The index 'idx_ulb' used to update selected_label is the index in original dataset, not the batch index. You can check dataset code to verify this:

return idx, img_w, self.strong_transform(img)

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