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

add pseudo_val_labels #108

Merged
merged 1 commit into from
Mar 7, 2023
Merged

add pseudo_val_labels #108

merged 1 commit into from
Mar 7, 2023

Conversation

AlexTMallen
Copy link
Collaborator

The same pseudo-labels tensor was being used to train and test the classifier. This works fine when the train and val sets are the same size, but causes and error when they're not (e.g. when using the whole train & val split).

I make a separate tensor for the pseudo_val_labels, which is used to compute the AUROC.

This fix is necessary for a PR I'm working on to split the --max_examples arg into --max_examples_train and --max_examples_val.

@norabelrose norabelrose merged commit 9886131 into main Mar 7, 2023
@norabelrose norabelrose deleted the bug/pseudo-label-eval branch March 7, 2023 08:44
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

Successfully merging this pull request may close these issues.

None yet

2 participants