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

thres in gene_thres #6

Closed
Lufei-github opened this issue Nov 20, 2020 · 1 comment
Closed

thres in gene_thres #6

Lufei-github opened this issue Nov 20, 2020 · 1 comment

Comments

@Lufei-github
Copy link

A small question!

Your ccm_trainer.py

159 index = int(cls_total * prop)
160 cls_thres = cls_prob[-index]
161 cls_thres2 = cls_prob[index]
162 thres[k] = cls_thres

For what consideration, you set your thres be the value of the last ten percent of the probability value?

last bacause of (-index), ten percent because of (prop=0.1)

@Solacex
Copy link
Owner

Solacex commented Nov 20, 2020

Hello, to obtain the pseudo label, we adopt a thresholding strategy where only the top 10% samples of each class are assigned with pseudo labels.

@Solacex Solacex closed this as completed Dec 2, 2020
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