Implemention of lightweight CNN Model on Mnist Dataset,try to include as more as possible features that I learn from keras, by the way,compare to tensorflow.hope to give a good learning example.
I used to using tensorflow, recently, decide to pay more attention to keras.so it's a guide example which shows how to train a model by keras.I found training a model by keras can be done in six steps:
- prepare a Dataset
- build a model
- compile the model(
compile()
) - train the model(
fit()
) - validate the model(
valuate()
) - optionly, predict on new data(
predict()
)
- train
- validation
- net-structure
Live and Learn, happy to exchange study, so any question, you can contact me: [email protected]