mean-teacher icon indicating copy to clipboard operation
mean-teacher copied to clipboard

how to train with unlabeled data

Open a13668349935 opened this issue 6 years ago • 2 comments

i get the idea of the paper. but how can i use the unlabeled data to train the model. i see a word in the paper. if i use the unlabeled data just keep the consistency loss ,because there is no classification loss . am i right?

a13668349935 avatar Oct 26 '18 01:10 a13668349935

There are classification loss and consistency loss. You can set the arguments according to the command example provided in the readme.md to get the code rung. Oh, before doing that you need to run some scripts in the data-local to prepare the CIFAR10 data and labels.

SHMCU avatar Nov 08 '18 23:11 SHMCU

If the question is whether mean teacher is useful without any labeled data, then answer is probably not. You should have both labeled and unlabeled data and use both classification and consistency loss.

tarvaina avatar Nov 25 '18 17:11 tarvaina