Train on 60000 samples, validate on 10000 samples
Epoch 1/20
60000/60000 [==============================] - 37s - loss: 6.2937 - acc: 0.8517 - mean_absolute_error: 0.0595 - val_loss: 0.2786 - val_acc: 0.9516 - val_mean_absolute_error: 0.0195
Epoch 2/20
60000/60000 [==============================] - 36s - loss: 0.2862 - acc: 0.9376 - mean_absolute_error: 0.0229 - val_loss: 0.1703 - val_acc: 0.9662 - val_mean_absolute_error: 0.0129
Epoch 3/20
60000/60000 [==============================] - 36s - loss: 0.2088 - acc: 0.9526 - mean_absolute_error: 0.0165 - val_loss: 0.1470 - val_acc: 0.9701 - val_mean_absolute_error: 0.0095
Epoch 4/20
60000/60000 [==============================] - 36s - loss: 0.1781 - acc: 0.9600 - mean_absolute_error: 0.0139 - val_loss: 0.1284 - val_acc: 0.9719 - val_mean_absolute_error: 0.0090
Epoch 5/20
60000/60000 [==============================] - 36s - loss: 0.1593 - acc: 0.9628 - mean_absolute_error: 0.0124 - val_loss: 0.1049 - val_acc: 0.9771 - val_mean_absolute_error: 0.0067
Epoch 6/20
60000/60000 [==============================] - 37s - loss: 0.1437 - acc: 0.9662 - mean_absolute_error: 0.0110 - val_loss: 0.0913 - val_acc: 0.9793 - val_mean_absolute_error: 0.0063
Epoch 7/20
60000/60000 [==============================] - 36s - loss: 0.1364 - acc: 0.9685 - mean_absolute_error: 0.0104 - val_loss: 0.1006 - val_acc: 0.9795 - val_mean_absolute_error: 0.0058
Epoch 8/20
60000/60000 [==============================] - 36s - loss: 0.1298 - acc: 0.9692 - mean_absolute_error: 0.0099 - val_loss: 0.0967 - val_acc: 0.9785 - val_mean_absolute_error: 0.0057
Epoch 9/20
60000/60000 [==============================] - 36s - loss: 0.1235 - acc: 0.9718 - mean_absolute_error: 0.0092 - val_loss: 0.0908 - val_acc: 0.9781 - val_mean_absolute_error: 0.0061
Epoch 10/20
60000/60000 [==============================] - 36s - loss: 0.1164 - acc: 0.9730 - mean_absolute_error: 0.0087 - val_loss: 0.0747 - val_acc: 0.9827 - val_mean_absolute_error: 0.0053
Epoch 11/20
60000/60000 [==============================] - 36s - loss: 0.1152 - acc: 0.9740 - mean_absolute_error: 0.0085 - val_loss: 0.0807 - val_acc: 0.9800 - val_mean_absolute_error: 0.0065
Epoch 12/20
60000/60000 [==============================] - 36s - loss: 0.1143 - acc: 0.9740 - mean_absolute_error: 0.0082 - val_loss: 0.0790 - val_acc: 0.9829 - val_mean_absolute_error: 0.0045
Epoch 13/20
60000/60000 [==============================] - 36s - loss: 0.1116 - acc: 0.9740 - mean_absolute_error: 0.0081 - val_loss: 0.0762 - val_acc: 0.9823 - val_mean_absolute_error: 0.0048
Epoch 14/20
60000/60000 [==============================] - 36s - loss: 0.1094 - acc: 0.9752 - mean_absolute_error: 0.0078 - val_loss: 0.0804 - val_acc: 0.9821 - val_mean_absolute_error: 0.0045
Epoch 15/20
60000/60000 [==============================] - 36s - loss: 0.1084 - acc: 0.9753 - mean_absolute_error: 0.0078 - val_loss: 0.0794 - val_acc: 0.9804 - val_mean_absolute_error: 0.0080
Epoch 16/20
60000/60000 [==============================] - 36s - loss: 0.1074 - acc: 0.9757 - mean_absolute_error: 0.0077 - val_loss: 0.0775 - val_acc: 0.9816 - val_mean_absolute_error: 0.0046
Epoch 17/20
60000/60000 [==============================] - 36s - loss: 0.1076 - acc: 0.9760 - mean_absolute_error: 0.0075 - val_loss: 0.0820 - val_acc: 0.9786 - val_mean_absolute_error: 0.0075
Epoch 18/20
60000/60000 [==============================] - 36s - loss: 0.1069 - acc: 0.9768 - mean_absolute_error: 0.0075 - val_loss: 0.0734 - val_acc: 0.9822 - val_mean_absolute_error: 0.0049
Epoch 19/20
60000/60000 [==============================] - 36s - loss: 0.1056 - acc: 0.9770 - mean_absolute_error: 0.0074 - val_loss: 0.0678 - val_acc: 0.9838 - val_mean_absolute_error: 0.0050
Epoch 20/20
60000/60000 [==============================] - 36s - loss: 0.1058 - acc: 0.9765 - mean_absolute_error: 0.0074 - val_loss: 0.0613 - val_acc: 0.9847 - val_mean_absolute_error: 0.0044