akamaster / pytorch_resnet_cifar10

Proper implementation of ResNet-s for CIFAR10/100 in pytorch that matches description of the original paper.
BSD 2-Clause "Simplified" License
1.22k stars 335 forks source link

About accuracy #28

Open Hrqingqing opened 3 years ago

Hrqingqing commented 3 years ago

Hello, thanks for your contribution. I run your code, but I can't obtain the result that you reported. Such as resnet20 in Cifar10, the accuracy is only 88.73. I hope you can give me some help.

akamaster commented 3 years ago

Yeah, recently I have had these comments. For example see #18, and specifically my comment within Essentially, the issue is in PyTorch version, starting from some (1.3?) version something has changed in optimizers. Please run with PyTorch 1.2, it should give your the necessary result.

Hrqingqing commented 3 years ago

Yeah, recently I have had these comments. For example see #18, and specifically my comment within Essentially, the issue is in PyTorch version, starting from some (1.3?) version something has changed in optimizers. Please run with PyTorch 1.2, it should give your the necessary result. OK, thanks for your reply! And I would like to ask if you have the classification results on CIFAR100?