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

Questions about the precision in validation

Open Zwette opened this issue 5 years ago • 3 comments

I trained the ResNet architecture (cifar_shakeshake26 in Pytorch version) on cifar-10 dataset with 1000 unlabeled images and 44000 labeled images (the resting 5000 images are used for validation) for about 180 epochs, setting the bach-size 256, labeled batch-size 62. But I observed that the validation precision (top 1) would first rise from 43% up to 50% and then fall to only 13% (began to fall after about 10 epochs) along the training process. I was so puzzled about this phenomenon. Besides, the precision in training always rise and never fall, why the validation precision would fall??

Zwette avatar Jun 08 '19 12:06 Zwette

@Easquel Have you solved it? I come across with the same issue. My validation accuracy stays around 60% to the end of training while the training accuracy can go up to 100%.

lukk47 avatar Aug 13 '19 05:08 lukk47

@tarvaina May you help the pytorch on cifar10? I ran the code with pytorch0.3.1. The validation accuracy went up to 50% and then went down to 10~20%.

lukk47 avatar Aug 15 '19 05:08 lukk47

训练了ResNet体

should be 1000 labeled images and 44000 labeled images

Wangzheaos avatar Apr 14 '20 01:04 Wangzheaos