VGG16 for CIFAR10

Hello fellow deep learners,

To learn more about image classification I have implemented VGG16 for CIFAR10 in PyTorch. My code works and the training converges. But the model is capable of ~95% accuracy whereas mine only reaches ~89%. So I wonder if anyone could take a loot at my training code to see what could be improved?

TIA!

A learning rate of 0.1 is IMHO too much.
You should start with something like 1-e4.
Secondly you need a scheduler for your training.

Ok, I saw right now, that you are using already a CosineAnnealingLR.
I would something more conventional like a LinerLR or StepLR.