Comments (7)
To follow up with this, I ran it exactly the same way once again just to give another shot. Then it started working. Have you ever experienced such situation / know why this happens?
from pytorch-nin-cifar10.
@hyojinie Hi, can you try using a lower learning rate like 0.01? 0.1 sometimes works but sometimes not. It is related to the initialization.
You can easily change the learning rate by changing the line here.
from pytorch-nin-cifar10.
0.03 might be better if the training coverages successfully.
from pytorch-nin-cifar10.
Thanks a lot for your response. I recognize it is due to initialization as well. Would lowering learning rate still help when initialization is not favorable? My friends suggest using batch normalization to be less sensitive to the initialization. I might try that. Thanks a lot for the help.
from pytorch-nin-cifar10.
@hyojinie Yes, batch normalization should help a lot and the accuracy can be increased to around 91% (I cannot remember clearly but it should be around 91.3% something). For initialization which is not favorable, without batch normalization, a typical strategy is to use lower learning rate to "warm up" the training and then switch to a higher learning rate.
from pytorch-nin-cifar10.
Cool. Thanks a lot for the helpful insights.
from pytorch-nin-cifar10.
I wonder if 89.64% was achieved with learning rate 0.03? I tried it twice, but the accuracy was around 88% and 88.90% with batch normalization.
from pytorch-nin-cifar10.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytorch-nin-cifar10.