yunjey / pytorch-tutorial

PyTorch Tutorial for Deep Learning Researchers
MIT License
30.13k stars 8.12k forks source link

in Logistic regression code, using adam at the place of SGD give higher accuracy. #125

Open NomiMalik0207 opened 6 years ago

NomiMalik0207 commented 6 years ago

while using Adam optimizer at the place of SGD, it give 92% accuracy. while SGD gives only 85% on test set. why you use SGD ?

Soumennn commented 5 years ago

Hey can you help me to calculate the accuracy? For this model? It only shows the loss and perplexity here. Urgent help required. Will be forever grateful!
Thanks