SoftTeacher icon indicating copy to clipboard operation
SoftTeacher copied to clipboard

Sample ratio

Open chenshi3 opened this issue 4 years ago • 3 comments

Hi, I found sample_ratio=[1, 4] in your config file. Dose it mean that the weight of labeled data is 1?

chenshi3 avatar Nov 22 '21 11:11 chenshi3

No. It is just to sample different numbers of samples for labeled data and unlabeled data.

MendelXu avatar Nov 23 '21 04:11 MendelXu

I mean in the dataloader the sample weight of labeled data is 1 and the sample weight of unlabeled data is 4.

chenshi3 avatar Nov 23 '21 05:11 chenshi3

Yes, it is. However, it is not implemented in a probabilistic sampling way.

MendelXu avatar Nov 23 '21 06:11 MendelXu