SimCLR icon indicating copy to clipboard operation
SimCLR copied to clipboard

CIFAR10 accuracy

Open MrChenFeng opened this issue 4 years ago • 3 comments

Hi Spijkervet,@Spijkervet

have you tried more epochs for your experiment settings, like 500 epochs, the result from the paper has shown that even 256 batchsize could achieve about 93% accuracy for 500 epochs traning. However, my implementation can only got ~89.5% accuracy even with 512 batchsize.

Best, Chen

MrChenFeng avatar Jul 17 '20 21:07 MrChenFeng

I also don't get the reported accuracy. Even with the code and pretrained weights from @Spijkervet I do not get the reported test accuracy claimed in this repo: only 75% compared to the reported 83% for CIFAR10. I wonder if the lars optimizer has something to do with it. I have really tried to get it working but I end up with "nan" values for my training loss.

gauenk avatar Oct 02 '20 16:10 gauenk

Hi chen, if you used the code which is shared by Spijkervet? Why i only achieved nearly 65% acc on CIFAR-10. It seems that used 128 batch size train the representation may lead to acc decrease.

LanXiaoPang613 avatar Dec 10 '20 01:12 LanXiaoPang613

Hi chen, if you used the code which is shared by Spijkervet? Why i only achieved nearly 65% acc on CIFAR-10. It seems that used 128 batch size train the representation may lead to acc decrease.

I havent tried Spijkervet implementation. In my implementations, epoch num is more important compared to batchsize. However, I cannot get better result than 90% with resnet18 in all settings.

MrChenFeng avatar Dec 11 '20 08:12 MrChenFeng