import numpy as np
from keras.datasets import mnist
from keras.utils import np_utils
from keras.models import Sequential
from keras.layers import Dense,Dropout
from keras.optimizers import SGD
#载入数据
(x_train,y_train),(x_test,y_test)=mnist.load_data()
#(60000,28,28)
print('x_shape:',x_train.shape)
#(60000)
print('y_shape:',y_train.shape)
#(60000,28,28)->(60000,784)
x_train=x_train.reshape(x_train.shape[0],-1)/255.0 #除以255是归一化
x_test=x_test.reshape(x_test.shape[0],-1)/255.0
#换one_hot 格式,把像素点转变成0、1形式
y_train=np_utils.to_categorical(y_train,num_classes=10)#把y_train分成10个类别
y_test=np_utils.to_categorical(y_test,num_classes=10)
#创建模型,加入隐藏层,加入Dropout
model=Sequential([Dense(units=200,input_dim=784,bias_initializer='one',activation='tanh'),
Dropout(0.4),
Dense(units=100,input_dim=200,bias_initializer='one',activation='tanh'),
Dropout(0.4),
Dense(units=10,input_dim=100,bias_initializer='one',activation='softmax')])#bias_initializer='one',偏置值的初始值设为1
'''
#也可以用add()函数加隐藏层
model.add(Dense(...))
model.add(Dense(...))
'''
#定义优化器
sgd=SGD(lr=0.2)
#定义优化器,loss function,训练过程中计算准确率,二次代价函数改为categorical_crossentropy交叉熵函数
model.compile(optimizer=sgd, loss='categorical_crossentropy',metrics=['accuracy'])#这里还可以计算准确率
#训练模型,可以用fit函数
model.fit(x_train,y_train,batch_size=32,epochs=10)#从60000张图中每次拿32张来训练,60000张图训练完叫一个周期,一共训练10个周期
#评估模型,用evaluate()函数
loss,accuracy=model.evaluate(x_test,y_test)
print('\ntest loss',loss)
print('test accuracy',accuracy)
loss,accuracy=model.evaluate(x_train,y_train)
print('\ntrain loss',loss)
print('train accuracy',accuracy)
结果:
32/60000 [..............................] - ETA: 8:59 - loss: 2.9518 - acc: 0.1562
480/60000 [..............................] - ETA: 42s - loss: 2.7830 - acc: 0.1542
1184/60000 [..............................] - ETA: 19s - loss: 2.0911 - acc: 0.3252
1984/60000 [..............................] - ETA: 12s - loss: 1.6201 - acc: 0.4743
2848/60000 [>.............................] - ETA: 9s - loss: 1.3482 - acc: 0.5667
3616/60000 [>.............................] - ETA: 8s - loss: 1.2158 - acc: 0.6098
4448/60000 [=>............................] - ETA: 7s - loss: 1.1108 - acc: 0.6450
5248/60000 [=>............................] - ETA: 6s - loss: 1.0207 - acc: 0.6736
6048/60000 [==>...........................] - ETA: 6s - loss: 0.9490 - acc: 0.6964
6816/60000 [==>...........................] - ETA: 5s - loss: 0.8987 - acc: 0.7152
7616/60000 [==>...........................] - ETA: 5s - loss: 0.8628 - acc: 0.7281
8448/60000 [===>..........................] - ETA: 5s - loss: 0.8309 - acc: 0.7388
9248/60000 [===>..........................] - ETA: 4s - loss: 0.8005 - acc: 0.7484
10048/60000 [====>.........................] - ETA: 4s - loss: 0.7775 - acc: 0.7564
10912/60000 [====>.........................] - ETA: 4s - loss: 0.7524 - acc: 0.7644
11776/60000 [====>.........................] - ETA: 4s - loss: 0.7285 - acc: 0.7711
12640/60000 [=====>........................] - ETA: 4s - loss: 0.7105 - acc: 0.7767
13408/60000 [=====>........................] - ETA: 4s - loss: 0.7013 - acc: 0.7798
14144/60000 [======>.......................] - ETA: 3s - loss: 0.6903 - acc: 0.7841
14912/60000 [======>.......................] - ETA: 3s - loss: 0.6766 - acc: 0.7888
15744/60000 [======>.......................] - ETA: 3s - loss: 0.6633 - acc: 0.7933
16512/60000 [=======>......................] - ETA: 3s - loss: 0.6509 - acc: 0.7971
17312/60000 [=======>......................] - ETA: 3s - loss: 0.6402 - acc: 0.8008
18144/60000 [========>.....................] - ETA: 3s - loss: 0.6307 - acc: 0.8041
18976/60000 [========>.....................] - ETA: 3s - loss: 0.6218 - acc: 0.8067
19744/60000 [========>.....................] - ETA: 3s - loss: 0.6123 - acc: 0.8097
20576/60000 [=========>....................] - ETA: 3s - loss: 0.6060 - acc: 0.8117
21344/60000 [=========>....................] - ETA: 3s - loss: 0.6000 - acc: 0.8141
22208/60000 [==========>...................] - ETA: 2s - loss: 0.5913 - acc: 0.8169
22976/60000 [==========>...................] - ETA: 2s - loss: 0.5843 - acc: 0.8188
23808/60000 [==========>...................] - ETA: 2s - loss: 0.5789 - acc: 0.8208
24640/60000 [===========>..................] - ETA: 2s - loss: 0.5747 - acc: 0.8224
25472/60000 [===========>..................] - ETA: 2s - loss: 0.5694 - acc: 0.8239
26208/60000 [============>.................] - ETA: 2s - loss: 0.5651 - acc: 0.8250
27072/60000 [============>.................] - ETA: 2s - loss: 0.5595 - acc: 0.8265
27840/60000 [============>.................] - ETA: 2s - loss: 0.5539 - acc: 0.8282
28704/60000 [=============>................] - ETA: 2s - loss: 0.5499 - acc: 0.8298
29376/60000 [=============>................] - ETA: 2s - loss: 0.5454 - acc: 0.8311
30176/60000 [==============>...............] - ETA: 2s - loss: 0.5414 - acc: 0.8326
30976/60000 [==============>...............] - ETA: 2s - loss: 0.5380 - acc: 0.8338
31776/60000 [==============>...............] - ETA: 2s - loss: 0.5323 - acc: 0.8353
32544/60000 [===============>..............] - ETA: 2s - loss: 0.5289 - acc: 0.8364
33344/60000 [===============>..............] - ETA: 1s - loss: 0.5245 - acc: 0.8377
34176/60000 [================>.............] - ETA: 1s - loss: 0.5209 - acc: 0.8386
34976/60000 [================>.............] - ETA: 1s - loss: 0.5169 - acc: 0.8401
35712/60000 [================>.............] - ETA: 1s - loss: 0.5153 - acc: 0.8406
36544/60000 [=================>............] - ETA: 1s - loss: 0.5108 - acc: 0.8420
37312/60000 [=================>............] - ETA: 1s - loss: 0.5073 - acc: 0.8433
38112/60000 [==================>...........] - ETA: 1s - loss: 0.5048 - acc: 0.8441
38912/60000 [==================>...........] - ETA: 1s - loss: 0.5031 - acc: 0.8446
39712/60000 [==================>...........] - ETA: 1s - loss: 0.5008 - acc: 0.8453
40544/60000 [===================>..........] - ETA: 1s - loss: 0.4988 - acc: 0.8460
41312/60000 [===================>..........] - ETA: 1s - loss: 0.4956 - acc: 0.8470
42112/60000 [====================>.........] - ETA: 1s - loss: 0.4936 - acc: 0.8479
42944/60000 [====================>.........] - ETA: 1s - loss: 0.4923 - acc: 0.8486
43744/60000 [====================>.........] - ETA: 1s - loss: 0.4893 - acc: 0.8495
44544/60000 [=====================>........] - ETA: 1s - loss: 0.4863 - acc: 0.8503
45280/60000 [=====================>........] - ETA: 1s - loss: 0.4832 - acc: 0.8513
46016/60000 [======================>.......] - ETA: 0s - loss: 0.4809 - acc: 0.8521
46848/60000 [======================>.......] - ETA: 0s - loss: 0.4784 - acc: 0.8529
47584/60000 [======================>.......] - ETA: 0s - loss: 0.4759 - acc: 0.8535
48384/60000 [=======================>......] - ETA: 0s - loss: 0.4734 - acc: 0.8541
49216/60000 [=======================>......] - ETA: 0s - loss: 0.4702 - acc: 0.8550
50048/60000 [========================>.....] - ETA: 0s - loss: 0.4681 - acc: 0.8558
50816/60000 [========================>.....] - ETA: 0s - loss: 0.4664 - acc: 0.8563
51584/60000 [========================>.....] - ETA: 0s - loss: 0.4650 - acc: 0.8567
52384/60000 [=========================>....] - ETA: 0s - loss: 0.4625 - acc: 0.8573
53216/60000 [=========================>....] - ETA: 0s - loss: 0.4601 - acc: 0.8580
54080/60000 [==========================>...] - ETA: 0s - loss: 0.4582 - acc: 0.8587
54848/60000 [==========================>...] - ETA: 0s - loss: 0.4570 - acc: 0.8593
55648/60000 [==========================>...] - ETA: 0s - loss: 0.4550 - acc: 0.8600
56448/60000 [===========================>..] - ETA: 0s - loss: 0.4538 - acc: 0.8604
57280/60000 [===========================>..] - ETA: 0s - loss: 0.4518 - acc: 0.8609
57952/60000 [===========================>..] - ETA: 0s - loss: 0.4498 - acc: 0.8615
58656/60000 [============================>.] - ETA: 0s - loss: 0.4480 - acc: 0.8621
59200/60000 [============================>.] - ETA: 0s - loss: 0.4467 - acc: 0.8625
59776/60000 [============================>.] - ETA: 0s - loss: 0.4457 - acc: 0.8629
60000/60000 [==============================] - 4s 70us/step - loss: 0.4453 - acc: 0.8631
Epoch 2/10
32/60000 [..............................] - ETA: 9s - loss: 0.4432 - acc: 0.9062
672/60000 [..............................] - ETA: 5s - loss: 0.3326 - acc: 0.8973
1280/60000 [..............................] - ETA: 4s - loss: 0.3275 - acc: 0.8992
1984/60000 [..............................] - ETA: 4s - loss: 0.3029 - acc: 0.9047
2688/60000 [>.............................] - ETA: 4s - loss: 0.2984 - acc: 0.9070
3424/60000 [>.............................] - ETA: 4s - loss: 0.3075 - acc: 0.9039
4192/60000 [=>............................] - ETA: 4s - loss: 0.3044 - acc: 0.9058
4928/60000 [=>............................] - ETA: 4s - loss: 0.3045 - acc: 0.9060
5760/60000 [=>............................] - ETA: 3s - loss: 0.3037 - acc: 0.9062
6432/60000 [==>...........................] - ETA: 3s - loss: 0.3009 - acc: 0.9078
7136/60000 [==>...........................] - ETA: 3s - loss: 0.3064 - acc: 0.9079
7872/60000 [==>...........................] - ETA: 3s - loss: 0.2980 - acc: 0.9094
8672/60000 [===>..........................] - ETA: 3s - loss: 0.2955 - acc: 0.9084
9408/60000 [===>..........................] - ETA: 3s - loss: 0.2967 - acc: 0.9087
10080/60000 [====>.........................] - ETA: 3s - loss: 0.2973 - acc: 0.9090
10816/60000 [====>.........................] - ETA: 3s - loss: 0.2980 - acc: 0.9088
11616/60000 [====>.........................] - ETA: 3s - loss: 0.2988 - acc: 0.9091
12384/60000 [=====>........................] - ETA: 3s - loss: 0.3039 - acc: 0.9079
13056/60000 [=====>........................] - ETA: 3s - loss: 0.3052 - acc: 0.9078
13664/60000 [=====>........................] - ETA: 3s - loss: 0.3054 - acc: 0.9083
14240/60000 [======>.......................] - ETA: 3s - loss: 0.3094 - acc: 0.9072
14848/60000 [======>.......................] - ETA: 3s - loss: 0.3103 - acc: 0.9065
15488/60000 [======>.......................] - ETA: 3s - loss: 0.3097 - acc: 0.9069
16096/60000 [=======>......................] - ETA: 3s - loss: 0.3088 - acc: 0.9071
16768/60000 [=======>......................] - ETA: 3s - loss: 0.3062 - acc: 0.9074
17568/60000 [=======>......................] - ETA: 3s - loss: 0.3074 - acc: 0.9072
18304/60000 [========>.....................] - ETA: 3s - loss: 0.3085 - acc: 0.9072
19104/60000 [========>.....................] - ETA: 2s - loss: 0.3078 - acc: 0.9075
19872/60000 [========>.....................] - ETA: 2s - loss: 0.3074 - acc: 0.9078
20608/60000 [=========>....................] - ETA: 2s - loss: 0.3075 - acc: 0.9079
21344/60000 [=========>....................] - ETA: 2s - loss: 0.3066 - acc: 0.9079
22112/60000 [==========>...................] - ETA: 2s - loss: 0.3065 - acc: 0.9076
22944/60000 [==========>...................] - ETA: 2s - loss: 0.3044 - acc: 0.9083
23712/60000 [==========>...................] - ETA: 2s - loss: 0.3027 - acc: 0.9086
24448/60000 [===========>..................] - ETA: 2s - loss: 0.3020 - acc: 0.9087
25280/60000 [===========>..................] - ETA: 2s - loss: 0.3024 - acc: 0.9087
26144/60000 [============>.................] - ETA: 2s - loss: 0.3010 - acc: 0.9088
26944/60000 [============>.................] - ETA: 2s - loss: 0.3007 - acc: 0.9088
27680/60000 [============>.................] - ETA: 2s - loss: 0.2997 - acc: 0.9094
28448/60000 [=============>................] - ETA: 2s - loss: 0.2992 - acc: 0.9096
29312/60000 [=============>................] - ETA: 2s - loss: 0.2970 - acc: 0.9102
30048/60000 [==============>...............] - ETA: 2s - loss: 0.2957 - acc: 0.9105
30880/60000 [==============>...............] - ETA: 2s - loss: 0.2950 - acc: 0.9107
31712/60000 [==============>...............] - ETA: 1s - loss: 0.2958 - acc: 0.9108
32544/60000 [===============>..............] - ETA: 1s - loss: 0.2961 - acc: 0.9108
33312/60000 [===============>..............] - ETA: 1s - loss: 0.2961 - acc: 0.9107
34176/60000 [================>.............] - ETA: 1s - loss: 0.2961 - acc: 0.9107
35008/60000 [================>.............] - ETA: 1s - loss: 0.2954 - acc: 0.9107
35776/60000 [================>.............] - ETA: 1s - loss: 0.2962 - acc: 0.9107
36512/60000 [=================>............] - ETA: 1s - loss: 0.2962 - acc: 0.9107
37312/60000 [=================>............] - ETA: 1s - loss: 0.2959 - acc: 0.9109
38208/60000 [==================>...........] - ETA: 1s - loss: 0.2973 - acc: 0.9109
38976/60000 [==================>...........] - ETA: 1s - loss: 0.2982 - acc: 0.9105
39744/60000 [==================>...........] - ETA: 1s - loss: 0.2978 - acc: 0.9108
40576/60000 [===================>..........] - ETA: 1s - loss: 0.2978 - acc: 0.9109
41440/60000 [===================>..........] - ETA: 1s - loss: 0.2973 - acc: 0.9109
42304/60000 [====================>.........] - ETA: 1s - loss: 0.2957 - acc: 0.9114
43072/60000 [====================>.........] - ETA: 1s - loss: 0.2955 - acc: 0.9116
43808/60000 [====================>.........] - ETA: 1s - loss: 0.2946 - acc: 0.9119
44544/60000 [=====================>........] - ETA: 1s - loss: 0.2938 - acc: 0.9123
45408/60000 [=====================>........] - ETA: 0s - loss: 0.2932 - acc: 0.9126
46208/60000 [======================>.......] - ETA: 0s - loss: 0.2922 - acc: 0.9129
47008/60000 [======================>.......] - ETA: 0s - loss: 0.2921 - acc: 0.9131
47808/60000 [======================>.......] - ETA: 0s - loss: 0.2922 - acc: 0.9132
48640/60000 [=======================>......] - ETA: 0s - loss: 0.2921 - acc: 0.9135
49408/60000 [=======================>......] - ETA: 0s - loss: 0.2912 - acc: 0.9135
50240/60000 [========================>.....] - ETA: 0s - loss: 0.2904 - acc: 0.9137
51040/60000 [========================>.....] - ETA: 0s - loss: 0.2913 - acc: 0.9135
51840/60000 [========================>.....] - ETA: 0s - loss: 0.2915 - acc: 0.9135
52640/60000 [=========================>....] - ETA: 0s - loss: 0.2907 - acc: 0.9138
53504/60000 [=========================>....] - ETA: 0s - loss: 0.2901 - acc: 0.9141
54368/60000 [==========================>...] - ETA: 0s - loss: 0.2895 - acc: 0.9145
55136/60000 [==========================>...] - ETA: 0s - loss: 0.2893 - acc: 0.9146
55904/60000 [==========================>...] - ETA: 0s - loss: 0.2890 - acc: 0.9146
56704/60000 [===========================>..] - ETA: 0s - loss: 0.2889 - acc: 0.9146
57568/60000 [===========================>..] - ETA: 0s - loss: 0.2882 - acc: 0.9148
58368/60000 [============================>.] - ETA: 0s - loss: 0.2882 - acc: 0.9147
59040/60000 [============================>.] - ETA: 0s - loss: 0.2873 - acc: 0.9150
59840/60000 [============================>.] - ETA: 0s - loss: 0.2872 - acc: 0.9151
60000/60000 [==============================] - 4s 67us/step - loss: 0.2874 - acc: 0.9150
Epoch 3/10
32/60000 [..............................] - ETA: 5s - loss: 0.0614 - acc: 1.0000
832/60000 [..............................] - ETA: 3s - loss: 0.2192 - acc: 0.9255
1632/60000 [..............................] - ETA: 3s - loss: 0.2582 - acc: 0.9154
2432/60000 [>.............................] - ETA: 3s - loss: 0.2621 - acc: 0.9174
3168/60000 [>.............................] - ETA: 3s - loss: 0.2545 - acc: 0.9205
4000/60000 [=>............................] - ETA: 3s - loss: 0.2659 - acc: 0.9160
4768/60000 [=>............................] - ETA: 3s - loss: 0.2628 - acc: 0.9190
5536/60000 [=>............................] - ETA: 3s - loss: 0.2646 - acc: 0.9193
6272/60000 [==>...........................] - ETA: 3s - loss: 0.2659 - acc: 0.9195
7072/60000 [==>...........................] - ETA: 3s - loss: 0.2570 - acc: 0.9228
7904/60000 [==>...........................] - ETA: 3s - loss: 0.2529 - acc: 0.9250
8672/60000 [===>..........................] - ETA: 3s - loss: 0.2481 - acc: 0.9261
9536/60000 [===>..........................] - ETA: 3s - loss: 0.2461 - acc: 0.9259
10304/60000 [====>.........................] - ETA: 3s - loss: 0.2435 - acc: 0.9267
11168/60000 [====>.........................] - ETA: 3s - loss: 0.2418 - acc: 0.9272
11968/60000 [====>.........................] - ETA: 3s - loss: 0.2400 - acc: 0.9276
12768/60000 [=====>........................] - ETA: 3s - loss: 0.2425 - acc: 0.9268
13536/60000 [=====>........................] - ETA: 3s - loss: 0.2436 - acc: 0.9266
14240/60000 [======>.......................] - ETA: 2s - loss: 0.2466 - acc: 0.9256
15040/60000 [======>.......................] - ETA: 2s - loss: 0.2494 - acc: 0.9249
15840/60000 [======>.......................] - ETA: 2s - loss: 0.2475 - acc: 0.9252
16640/60000 [=======>......................] - ETA: 2s - loss: 0.2480 - acc: 0.9252
17504/60000 [=======>......................] - ETA: 2s - loss: 0.2472 - acc: 0.9257
18304/60000 [========>.....................] - ETA: 2s - loss: 0.2481 - acc: 0.9254
19168/60000 [========>.....................] - ETA: 2s - loss: 0.2478 - acc: 0.9257
19968/60000 [========>.....................] - ETA: 2s - loss: 0.2485 - acc: 0.9259
20768/60000 [=========>....................] - ETA: 2s - loss: 0.2461 - acc: 0.9265
21568/60000 [=========>....................] - ETA: 2s - loss: 0.2474 - acc: 0.9263
22336/60000 [==========>...................] - ETA: 2s - loss: 0.2470 - acc: 0.9264
23072/60000 [==========>...................] - ETA: 2s - loss: 0.2459 - acc: 0.9268
23776/60000 [==========>...................] - ETA: 2s - loss: 0.2466 - acc: 0.9264
24384/60000 [===========>..................] - ETA: 2s - loss: 0.2457 - acc: 0.9266
25184/60000 [===========>..................] - ETA: 2s - loss: 0.2461 - acc: 0.9265
25952/60000 [===========>..................] - ETA: 2s - loss: 0.2468 - acc: 0.9266
26784/60000 [============>.................] - ETA: 2s - loss: 0.2463 - acc: 0.9266
27584/60000 [============>.................] - ETA: 2s - loss: 0.2471 - acc: 0.9266
28352/60000 [=============>................] - ETA: 2s - loss: 0.2462 - acc: 0.9270
29056/60000 [=============>................] - ETA: 2s - loss: 0.2458 - acc: 0.9272
29888/60000 [=============>................] - ETA: 1s - loss: 0.2465 - acc: 0.9272
30656/60000 [==============>...............] - ETA: 1s - loss: 0.2456 - acc: 0.9273
31424/60000 [==============>...............] - ETA: 1s - loss: 0.2458 - acc: 0.9271
32224/60000 [===============>..............] - ETA: 1s - loss: 0.2466 - acc: 0.9269
33088/60000 [===============>..............] - ETA: 1s - loss: 0.2467 - acc: 0.9268
33856/60000 [===============>..............] - ETA: 1s - loss: 0.2463 - acc: 0.9268
34624/60000 [================>.............] - ETA: 1s - loss: 0.2468 - acc: 0.9266
35424/60000 [================>.............] - ETA: 1s - loss: 0.2471 - acc: 0.9263
36288/60000 [=================>............] - ETA: 1s - loss: 0.2473 - acc: 0.9261
37056/60000 [=================>............] - ETA: 1s - loss: 0.2478 - acc: 0.9257
37824/60000 [=================>............] - ETA: 1s - loss: 0.2487 - acc: 0.9255
38592/60000 [==================>...........] - ETA: 1s - loss: 0.2481 - acc: 0.9257
39424/60000 [==================>...........] - ETA: 1s - loss: 0.2488 - acc: 0.9257
40192/60000 [===================>..........] - ETA: 1s - loss: 0.2483 - acc: 0.9259
40992/60000 [===================>..........] - ETA: 1s - loss: 0.2482 - acc: 0.9258
41792/60000 [===================>..........] - ETA: 1s - loss: 0.2472 - acc: 0.9261
42624/60000 [====================>.........] - ETA: 1s - loss: 0.2469 - acc: 0.9264
43360/60000 [====================>.........] - ETA: 1s - loss: 0.2471 - acc: 0.9263
44000/60000 [=====================>........] - ETA: 1s - loss: 0.2462 - acc: 0.9267
44640/60000 [=====================>........] - ETA: 1s - loss: 0.2458 - acc: 0.9268
45312/60000 [=====================>........] - ETA: 0s - loss: 0.2458 - acc: 0.9269
45952/60000 [=====================>........] - ETA: 0s - loss: 0.2450 - acc: 0.9271
46592/60000 [======================>.......] - ETA: 0s - loss: 0.2447 - acc: 0.9272
47232/60000 [======================>.......] - ETA: 0s - loss: 0.2444 - acc: 0.9274
47872/60000 [======================>.......] - ETA: 0s - loss: 0.2442 - acc: 0.9275
48512/60000 [=======================>......] - ETA: 0s - loss: 0.2441 - acc: 0.9274
49120/60000 [=======================>......] - ETA: 0s - loss: 0.2441 - acc: 0.9274
49760/60000 [=======================>......] - ETA: 0s - loss: 0.2439 - acc: 0.9275
50400/60000 [========================>.....] - ETA: 0s - loss: 0.2448 - acc: 0.9272
51008/60000 [========================>.....] - ETA: 0s - loss: 0.2443 - acc: 0.9272
51648/60000 [========================>.....] - ETA: 0s - loss: 0.2439 - acc: 0.9272
52288/60000 [=========================>....] - ETA: 0s - loss: 0.2436 - acc: 0.9272
52960/60000 [=========================>....] - ETA: 0s - loss: 0.2437 - acc: 0.9273
53536/60000 [=========================>....] - ETA: 0s - loss: 0.2435 - acc: 0.9274
54176/60000 [==========================>...] - ETA: 0s - loss: 0.2433 - acc: 0.9275
54848/60000 [==========================>...] - ETA: 0s - loss: 0.2424 - acc: 0.9276
55488/60000 [==========================>...] - ETA: 0s - loss: 0.2423 - acc: 0.9277
56128/60000 [===========================>..] - ETA: 0s - loss: 0.2421 - acc: 0.9277
56704/60000 [===========================>..] - ETA: 0s - loss: 0.2422 - acc: 0.9277
57376/60000 [===========================>..] - ETA: 0s - loss: 0.2419 - acc: 0.9278
58016/60000 [============================>.] - ETA: 0s - loss: 0.2420 - acc: 0.9278
58592/60000 [============================>.] - ETA: 0s - loss: 0.2418 - acc: 0.9278
59296/60000 [============================>.] - ETA: 0s - loss: 0.2428 - acc: 0.9274
59936/60000 [============================>.] - ETA: 0s - loss: 0.2433 - acc: 0.9275
60000/60000 [==============================] - 4s 70us/step - loss: 0.2432 - acc: 0.9276
Epoch 4/10
32/60000 [..............................] - ETA: 7s - loss: 0.1533 - acc: 0.9062
736/60000 [..............................] - ETA: 4s - loss: 0.2495 - acc: 0.9212
1344/60000 [..............................] - ETA: 4s - loss: 0.2268 - acc: 0.9293
1920/60000 [..............................] - ETA: 4s - loss: 0.2375 - acc: 0.9276
2560/60000 [>.............................] - ETA: 4s - loss: 0.2438 - acc: 0.9277
3296/60000 [>.............................] - ETA: 4s - loss: 0.2255 - acc: 0.9339
4128/60000 [=>............................] - ETA: 4s - loss: 0.2203 - acc: 0.9348
4928/60000 [=>............................] - ETA: 4s - loss: 0.2174 - acc: 0.9357
5696/60000 [=>............................] - ETA: 4s - loss: 0.2162 - acc: 0.9377
6464/60000 [==>...........................] - ETA: 3s - loss: 0.2174 - acc: 0.9370
7232/60000 [==>...........................] - ETA: 3s - loss: 0.2201 - acc: 0.9346
8096/60000 [===>..........................] - ETA: 3s - loss: 0.2255 - acc: 0.9345
8928/60000 [===>..........................] - ETA: 3s - loss: 0.2296 - acc: 0.9337
9728/60000 [===>..........................] - ETA: 3s - loss: 0.2264 - acc: 0.9342
10400/60000 [====>.........................] - ETA: 3s - loss: 0.2279 - acc: 0.9337
11200/60000 [====>.........................] - ETA: 3s - loss: 0.2264 - acc: 0.9337
12032/60000 [=====>........................] - ETA: 3s - loss: 0.2258 - acc: 0.9332
12832/60000 [=====>........................] - ETA: 3s - loss: 0.2290 - acc: 0.9329
13568/60000 [=====>........................] - ETA: 3s - loss: 0.2283 - acc: 0.9327
14400/60000 [======>.......................] - ETA: 3s - loss: 0.2268 - acc: 0.9330
15264/60000 [======>.......................] - ETA: 3s - loss: 0.2283 - acc: 0.9325
16032/60000 [=======>......................] - ETA: 2s - loss: 0.2256 - acc: 0.9329
16800/60000 [=======>......................] - ETA: 2s - loss: 0.2262 - acc: 0.9329
17600/60000 [=======>......................] - ETA: 2s - loss: 0.2262 - acc: 0.9327
18400/60000 [========>.....................] - ETA: 2s - loss: 0.2270 - acc: 0.9324
19232/60000 [========>.....................] - ETA: 2s - loss: 0.2253 - acc: 0.9329
20064/60000 [=========>....................] - ETA: 2s - loss: 0.2244 - acc: 0.9331
20896/60000 [=========>....................] - ETA: 2s - loss: 0.2259 - acc: 0.9324
21696/60000 [=========>....................] - ETA: 2s - loss: 0.2288 - acc: 0.9317
22496/60000 [==========>...................] - ETA: 2s - loss: 0.2275 - acc: 0.9322
23264/60000 [==========>...................] - ETA: 2s - loss: 0.2275 - acc: 0.9324
24096/60000 [===========>..................] - ETA: 2s - loss: 0.2265 - acc: 0.9325
24896/60000 [===========>..................] - ETA: 2s - loss: 0.2252 - acc: 0.9330
25632/60000 [===========>..................] - ETA: 2s - loss: 0.2265 - acc: 0.9329
26336/60000 [============>.................] - ETA: 2s - loss: 0.2275 - acc: 0.9330
27200/60000 [============>.................] - ETA: 2s - loss: 0.2267 - acc: 0.9332
28000/60000 [=============>................] - ETA: 2s - loss: 0.2261 - acc: 0.9335
28800/60000 [=============>................] - ETA: 2s - loss: 0.2261 - acc: 0.9334
29536/60000 [=============>................] - ETA: 2s - loss: 0.2259 - acc: 0.9334
30336/60000 [==============>...............] - ETA: 1s - loss: 0.2244 - acc: 0.9338
31168/60000 [==============>...............] - ETA: 1s - loss: 0.2243 - acc: 0.9338
31968/60000 [==============>...............] - ETA: 1s - loss: 0.2243 - acc: 0.9339
32704/60000 [===============>..............] - ETA: 1s - loss: 0.2252 - acc: 0.9339
33472/60000 [===============>..............] - ETA: 1s - loss: 0.2250 - acc: 0.9338
34272/60000 [================>.............] - ETA: 1s - loss: 0.2237 - acc: 0.9341
35040/60000 [================>.............] - ETA: 1s - loss: 0.2235 - acc: 0.9340
35840/60000 [================>.............] - ETA: 1s - loss: 0.2233 - acc: 0.9341
36608/60000 [=================>............] - ETA: 1s - loss: 0.2230 - acc: 0.9342
37408/60000 [=================>............] - ETA: 1s - loss: 0.2231 - acc: 0.9342
38176/60000 [==================>...........] - ETA: 1s - loss: 0.2221 - acc: 0.9346
39040/60000 [==================>...........] - ETA: 1s - loss: 0.2228 - acc: 0.9345
39776/60000 [==================>...........] - ETA: 1s - loss: 0.2228 - acc: 0.9344
40544/60000 [===================>..........] - ETA: 1s - loss: 0.2225 - acc: 0.9346
41248/60000 [===================>..........] - ETA: 1s - loss: 0.2223 - acc: 0.9345
42080/60000 [====================>.........] - ETA: 1s - loss: 0.2212 - acc: 0.9348
42848/60000 [====================>.........] - ETA: 1s - loss: 0.2209 - acc: 0.9347
43616/60000 [====================>.........] - ETA: 1s - loss: 0.2210 - acc: 0.9347
44384/60000 [=====================>........] - ETA: 1s - loss: 0.2201 - acc: 0.9349
45216/60000 [=====================>........] - ETA: 0s - loss: 0.2204 - acc: 0.9349
45984/60000 [=====================>........] - ETA: 0s - loss: 0.2208 - acc: 0.9349
46752/60000 [======================>.......] - ETA: 0s - loss: 0.2203 - acc: 0.9349
47584/60000 [======================>.......] - ETA: 0s - loss: 0.2207 - acc: 0.9349
48416/60000 [=======================>......] - ETA: 0s - loss: 0.2205 - acc: 0.9349
49152/60000 [=======================>......] - ETA: 0s - loss: 0.2204 - acc: 0.9350
49952/60000 [=======================>......] - ETA: 0s - loss: 0.2203 - acc: 0.9349
50752/60000 [========================>.....] - ETA: 0s - loss: 0.2199 - acc: 0.9349
51552/60000 [========================>.....] - ETA: 0s - loss: 0.2193 - acc: 0.9350
52352/60000 [=========================>....] - ETA: 0s - loss: 0.2197 - acc: 0.9348
53120/60000 [=========================>....] - ETA: 0s - loss: 0.2205 - acc: 0.9345
53920/60000 [=========================>....] - ETA: 0s - loss: 0.2205 - acc: 0.9345
54688/60000 [==========================>...] - ETA: 0s - loss: 0.2200 - acc: 0.9348
55456/60000 [==========================>...] - ETA: 0s - loss: 0.2201 - acc: 0.9348
56224/60000 [===========================>..] - ETA: 0s - loss: 0.2195 - acc: 0.9349
56992/60000 [===========================>..] - ETA: 0s - loss: 0.2197 - acc: 0.9349
57792/60000 [===========================>..] - ETA: 0s - loss: 0.2200 - acc: 0.9349
58656/60000 [============================>.] - ETA: 0s - loss: 0.2201 - acc: 0.9349
59392/60000 [============================>.] - ETA: 0s - loss: 0.2203 - acc: 0.9349
60000/60000 [==============================] - 4s 66us/step - loss: 0.2202 - acc: 0.9350
Epoch 5/10
32/60000 [..............................] - ETA: 5s - loss: 0.1062 - acc: 1.0000
864/60000 [..............................] - ETA: 3s - loss: 0.1788 - acc: 0.9444
1696/60000 [..............................] - ETA: 3s - loss: 0.2291 - acc: 0.9334
2432/60000 [>.............................] - ETA: 3s - loss: 0.2179 - acc: 0.9367
3200/60000 [>.............................] - ETA: 3s - loss: 0.2174 - acc: 0.9356
4000/60000 [=>............................] - ETA: 3s - loss: 0.2144 - acc: 0.9377
4800/60000 [=>............................] - ETA: 3s - loss: 0.2111 - acc: 0.9387
5536/60000 [=>............................] - ETA: 3s - loss: 0.2109 - acc: 0.9379
6272/60000 [==>...........................] - ETA: 3s - loss: 0.2057 - acc: 0.9394
7040/60000 [==>...........................] - ETA: 3s - loss: 0.2062 - acc: 0.9399
7744/60000 [==>...........................] - ETA: 3s - loss: 0.2097 - acc: 0.9387
8448/60000 [===>..........................] - ETA: 3s - loss: 0.2132 - acc: 0.9375
9120/60000 [===>..........................] - ETA: 3s - loss: 0.2155 - acc: 0.9372
9888/60000 [===>..........................] - ETA: 3s - loss: 0.2139 - acc: 0.9379
10528/60000 [====>.........................] - ETA: 3s - loss: 0.2095 - acc: 0.9389
11200/60000 [====>.........................] - ETA: 3s - loss: 0.2081 - acc: 0.9394
11872/60000 [====>.........................] - ETA: 3s - loss: 0.2068 - acc: 0.9394
12544/60000 [=====>........................] - ETA: 3s - loss: 0.2061 - acc: 0.9397
13216/60000 [=====>........................] - ETA: 3s - loss: 0.2045 - acc: 0.9401
13888/60000 [=====>........................] - ETA: 3s - loss: 0.2026 - acc: 0.9409
14560/60000 [======>.......................] - ETA: 3s - loss: 0.2029 - acc: 0.9409
15200/60000 [======>.......................] - ETA: 3s - loss: 0.2039 - acc: 0.9406
15872/60000 [======>.......................] - ETA: 3s - loss: 0.2055 - acc: 0.9404
16576/60000 [=======>......................] - ETA: 3s - loss: 0.2040 - acc: 0.9407
17248/60000 [=======>......................] - ETA: 3s - loss: 0.2048 - acc: 0.9403
17888/60000 [=======>......................] - ETA: 3s - loss: 0.2032 - acc: 0.9407
18528/60000 [========>.....................] - ETA: 3s - loss: 0.2028 - acc: 0.9409
19200/60000 [========>.....................] - ETA: 2s - loss: 0.2025 - acc: 0.9411
19872/60000 [========>.....................] - ETA: 2s - loss: 0.2018 - acc: 0.9410
20544/60000 [=========>....................] - ETA: 2s - loss: 0.2017 - acc: 0.9410
21216/60000 [=========>....................] - ETA: 2s - loss: 0.1996 - acc: 0.9413
21888/60000 [=========>....................] - ETA: 2s - loss: 0.2001 - acc: 0.9414
22528/60000 [==========>...................] - ETA: 2s - loss: 0.2008 - acc: 0.9415
23232/60000 [==========>...................] - ETA: 2s - loss: 0.1999 - acc: 0.9417
23840/60000 [==========>...................] - ETA: 2s - loss: 0.1989 - acc: 0.9419
24512/60000 [===========>..................] - ETA: 2s - loss: 0.1981 - acc: 0.9419
25184/60000 [===========>..................] - ETA: 2s - loss: 0.1979 - acc: 0.9419
25824/60000 [===========>..................] - ETA: 2s - loss: 0.1996 - acc: 0.9416
26496/60000 [============>.................] - ETA: 2s - loss: 0.2000 - acc: 0.9417
27168/60000 [============>.................] - ETA: 2s - loss: 0.1994 - acc: 0.9420
27808/60000 [============>.................] - ETA: 2s - loss: 0.1992 - acc: 0.9417
28448/60000 [=============>................] - ETA: 2s - loss: 0.1984 - acc: 0.9419
29088/60000 [=============>................] - ETA: 2s - loss: 0.1979 - acc: 0.9420
29760/60000 [=============>................] - ETA: 2s - loss: 0.1984 - acc: 0.9418
30400/60000 [==============>...............] - ETA: 2s - loss: 0.1981 - acc: 0.9418
31040/60000 [==============>...............] - ETA: 2s - loss: 0.1992 - acc: 0.9415
31712/60000 [==============>...............] - ETA: 2s - loss: 0.1996 - acc: 0.9414
32384/60000 [===============>..............] - ETA: 2s - loss: 0.1996 - acc: 0.9414
33056/60000 [===============>..............] - ETA: 2s - loss: 0.1996 - acc: 0.9413
33696/60000 [===============>..............] - ETA: 1s - loss: 0.1987 - acc: 0.9415
34368/60000 [================>.............] - ETA: 1s - loss: 0.1977 - acc: 0.9419
35040/60000 [================>.............] - ETA: 1s - loss: 0.1976 - acc: 0.9418
35712/60000 [================>.............] - ETA: 1s - loss: 0.1975 - acc: 0.9420
36352/60000 [=================>............] - ETA: 1s - loss: 0.1976 - acc: 0.9418
36992/60000 [=================>............] - ETA: 1s - loss: 0.1988 - acc: 0.9416
37632/60000 [=================>............] - ETA: 1s - loss: 0.1988 - acc: 0.9416
38304/60000 [==================>...........] - ETA: 1s - loss: 0.1980 - acc: 0.9418
38912/60000 [==================>...........] - ETA: 1s - loss: 0.1976 - acc: 0.9418
39616/60000 [==================>...........] - ETA: 1s - loss: 0.1973 - acc: 0.9418
40288/60000 [===================>..........] - ETA: 1s - loss: 0.1973 - acc: 0.9417
40928/60000 [===================>..........] - ETA: 1s - loss: 0.1977 - acc: 0.9416
41536/60000 [===================>..........] - ETA: 1s - loss: 0.1978 - acc: 0.9414
42208/60000 [====================>.........] - ETA: 1s - loss: 0.1981 - acc: 0.9415
42880/60000 [====================>.........] - ETA: 1s - loss: 0.1979 - acc: 0.9415
43520/60000 [====================>.........] - ETA: 1s - loss: 0.1977 - acc: 0.9415
44128/60000 [=====================>........] - ETA: 1s - loss: 0.1974 - acc: 0.9416
44800/60000 [=====================>........] - ETA: 1s - loss: 0.1971 - acc: 0.9418
45408/60000 [=====================>........] - ETA: 1s - loss: 0.1976 - acc: 0.9418
45952/60000 [=====================>........] - ETA: 1s - loss: 0.1973 - acc: 0.9419
46496/60000 [======================>.......] - ETA: 1s - loss: 0.1971 - acc: 0.9419
47136/60000 [======================>.......] - ETA: 0s - loss: 0.1969 - acc: 0.9420
47808/60000 [======================>.......] - ETA: 0s - loss: 0.1966 - acc: 0.9420
48448/60000 [=======================>......] - ETA: 0s - loss: 0.1973 - acc: 0.9418
49056/60000 [=======================>......] - ETA: 0s - loss: 0.1974 - acc: 0.9417
49760/60000 [=======================>......] - ETA: 0s - loss: 0.1974 - acc: 0.9418
50432/60000 [========================>.....] - ETA: 0s - loss: 0.1971 - acc: 0.9419
51072/60000 [========================>.....] - ETA: 0s - loss: 0.1968 - acc: 0.9420
51744/60000 [========================>.....] - ETA: 0s - loss: 0.1969 - acc: 0.9421
52448/60000 [=========================>....] - ETA: 0s - loss: 0.1970 - acc: 0.9419
53120/60000 [=========================>....] - ETA: 0s - loss: 0.1972 - acc: 0.9418
53760/60000 [=========================>....] - ETA: 0s - loss: 0.1972 - acc: 0.9418
54432/60000 [==========================>...] - ETA: 0s - loss: 0.1970 - acc: 0.9418
55104/60000 [==========================>...] - ETA: 0s - loss: 0.1972 - acc: 0.9417
55744/60000 [==========================>...] - ETA: 0s - loss: 0.1979 - acc: 0.9416
56384/60000 [===========================>..] - ETA: 0s - loss: 0.1979 - acc: 0.9416
57056/60000 [===========================>..] - ETA: 0s - loss: 0.1978 - acc: 0.9415
57728/60000 [===========================>..] - ETA: 0s - loss: 0.1980 - acc: 0.9416
58400/60000 [============================>.] - ETA: 0s - loss: 0.1981 - acc: 0.9416
59040/60000 [============================>.] - ETA: 0s - loss: 0.1979 - acc: 0.9417
59680/60000 [============================>.] - ETA: 0s - loss: 0.1979 - acc: 0.9417
60000/60000 [==============================] - 5s 77us/step - loss: 0.1979 - acc: 0.9417
Epoch 6/10
32/60000 [..............................] - ETA: 11s - loss: 0.0443 - acc: 0.9688
736/60000 [..............................] - ETA: 4s - loss: 0.1925 - acc: 0.9402
1440/60000 [..............................] - ETA: 4s - loss: 0.2252 - acc: 0.9319
2016/60000 [>.............................] - ETA: 4s - loss: 0.2166 - acc: 0.9340
2656/60000 [>.............................] - ETA: 4s - loss: 0.2068 - acc: 0.9379
3296/60000 [>.............................] - ETA: 4s - loss: 0.2057 - acc: 0.9384
3968/60000 [>.............................] - ETA: 4s - loss: 0.2017 - acc: 0.9390
4640/60000 [=>............................] - ETA: 4s - loss: 0.2036 - acc: 0.9390
5312/60000 [=>............................] - ETA: 4s - loss: 0.2008 - acc: 0.9390
5952/60000 [=>............................] - ETA: 4s - loss: 0.2076 - acc: 0.9385
6592/60000 [==>...........................] - ETA: 4s - loss: 0.2030 - acc: 0.9395
7264/60000 [==>...........................] - ETA: 4s - loss: 0.1958 - acc: 0.9415
7904/60000 [==>...........................] - ETA: 4s - loss: 0.1931 - acc: 0.9415
8544/60000 [===>..........................] - ETA: 4s - loss: 0.1943 - acc: 0.9412
9120/60000 [===>..........................] - ETA: 4s - loss: 0.1899 - acc: 0.9423
9760/60000 [===>..........................] - ETA: 4s - loss: 0.1880 - acc: 0.9427
10432/60000 [====>.........................] - ETA: 3s - loss: 0.1860 - acc: 0.9438
11072/60000 [====>.........................] - ETA: 3s - loss: 0.1850 - acc: 0.9437
11712/60000 [====>.........................] - ETA: 3s - loss: 0.1861 - acc: 0.9437
12416/60000 [=====>........................] - ETA: 3s - loss: 0.1855 - acc: 0.9431
13056/60000 [=====>........................] - ETA: 3s - loss: 0.1848 - acc: 0.9432
13696/60000 [=====>........................] - ETA: 3s - loss: 0.1842 - acc: 0.9433
14304/60000 [======>.......................] - ETA: 3s - loss: 0.1851 - acc: 0.9433
14944/60000 [======>.......................] - ETA: 3s - loss: 0.1850 - acc: 0.9434
15584/60000 [======>.......................] - ETA: 3s - loss: 0.1844 - acc: 0.9432
16192/60000 [=======>......................] - ETA: 3s - loss: 0.1818 - acc: 0.9437
16896/60000 [=======>......................] - ETA: 3s - loss: 0.1815 - acc: 0.9438
17568/60000 [=======>......................] - ETA: 3s - loss: 0.1814 - acc: 0.9439
18208/60000 [========>.....................] - ETA: 3s - loss: 0.1820 - acc: 0.9440
18880/60000 [========>.....................] - ETA: 3s - loss: 0.1824 - acc: 0.9441
19552/60000 [========>.....................] - ETA: 3s - loss: 0.1829 - acc: 0.9440
20256/60000 [=========>....................] - ETA: 3s - loss: 0.1827 - acc: 0.9441
20832/60000 [=========>....................] - ETA: 3s - loss: 0.1810 - acc: 0.9444
21472/60000 [=========>....................] - ETA: 3s - loss: 0.1799 - acc: 0.9445
22144/60000 [==========>...................] - ETA: 3s - loss: 0.1810 - acc: 0.9445
22816/60000 [==========>...................] - ETA: 2s - loss: 0.1844 - acc: 0.9438
23520/60000 [==========>...................] - ETA: 2s - loss: 0.1859 - acc: 0.9432
24224/60000 [===========>..................] - ETA: 2s - loss: 0.1857 - acc: 0.9432
24896/60000 [===========>..................] - ETA: 2s - loss: 0.1861 - acc: 0.9430
25568/60000 [===========>..................] - ETA: 2s - loss: 0.1863 - acc: 0.9431
26240/60000 [============>.................] - ETA: 2s - loss: 0.1869 - acc: 0.9431
26880/60000 [============>.................] - ETA: 2s - loss: 0.1868 - acc: 0.9431
27520/60000 [============>.................] - ETA: 2s - loss: 0.1867 - acc: 0.9431
28192/60000 [=============>................] - ETA: 2s - loss: 0.1862 - acc: 0.9432
28864/60000 [=============>................] - ETA: 2s - loss: 0.1862 - acc: 0.9433
29536/60000 [=============>................] - ETA: 2s - loss: 0.1861 - acc: 0.9434
30208/60000 [==============>...............] - ETA: 2s - loss: 0.1867 - acc: 0.9434
30880/60000 [==============>...............] - ETA: 2s - loss: 0.1865 - acc: 0.9434
31520/60000 [==============>...............] - ETA: 2s - loss: 0.1866 - acc: 0.9435
32224/60000 [===============>..............] - ETA: 2s - loss: 0.1869 - acc: 0.9435
32928/60000 [===============>..............] - ETA: 2s - loss: 0.1862 - acc: 0.9438
33600/60000 [===============>..............] - ETA: 2s - loss: 0.1857 - acc: 0.9439
34240/60000 [================>.............] - ETA: 2s - loss: 0.1856 - acc: 0.9440
34912/60000 [================>.............] - ETA: 1s - loss: 0.1857 - acc: 0.9439
35648/60000 [================>.............] - ETA: 1s - loss: 0.1855 - acc: 0.9440
36320/60000 [=================>............] - ETA: 1s - loss: 0.1852 - acc: 0.9442
36928/60000 [=================>............] - ETA: 1s - loss: 0.1855 - acc: 0.9441
37600/60000 [=================>............] - ETA: 1s - loss: 0.1857 - acc: 0.9441
38272/60000 [==================>...........] - ETA: 1s - loss: 0.1851 - acc: 0.9443
39008/60000 [==================>...........] - ETA: 1s - loss: 0.1850 - acc: 0.9444
39648/60000 [==================>...........] - ETA: 1s - loss: 0.1857 - acc: 0.9442
40256/60000 [===================>..........] - ETA: 1s - loss: 0.1860 - acc: 0.9441
40960/60000 [===================>..........] - ETA: 1s - loss: 0.1856 - acc: 0.9442
41632/60000 [===================>..........] - ETA: 1s - loss: 0.1845 - acc: 0.9445
42272/60000 [====================>.........] - ETA: 1s - loss: 0.1843 - acc: 0.9445
42976/60000 [====================>.........] - ETA: 1s - loss: 0.1845 - acc: 0.9445
43648/60000 [====================>.........] - ETA: 1s - loss: 0.1844 - acc: 0.9444
44288/60000 [=====================>........] - ETA: 1s - loss: 0.1847 - acc: 0.9444
44928/60000 [=====================>........] - ETA: 1s - loss: 0.1850 - acc: 0.9442
45664/60000 [=====================>........] - ETA: 1s - loss: 0.1860 - acc: 0.9440
46336/60000 [======================>.......] - ETA: 1s - loss: 0.1858 - acc: 0.9441
46912/60000 [======================>.......] - ETA: 1s - loss: 0.1860 - acc: 0.9439
47520/60000 [======================>.......] - ETA: 0s - loss: 0.1856 - acc: 0.9440
48160/60000 [=======================>......] - ETA: 0s - loss: 0.1852 - acc: 0.9443
48832/60000 [=======================>......] - ETA: 0s - loss: 0.1846 - acc: 0.9444
49472/60000 [=======================>......] - ETA: 0s - loss: 0.1843 - acc: 0.9445
50080/60000 [========================>.....] - ETA: 0s - loss: 0.1837 - acc: 0.9446
50720/60000 [========================>.....] - ETA: 0s - loss: 0.1846 - acc: 0.9444
51392/60000 [========================>.....] - ETA: 0s - loss: 0.1847 - acc: 0.9443
52096/60000 [=========================>....] - ETA: 0s - loss: 0.1851 - acc: 0.9443
52736/60000 [=========================>....] - ETA: 0s - loss: 0.1859 - acc: 0.9442
53344/60000 [=========================>....] - ETA: 0s - loss: 0.1859 - acc: 0.9442
54016/60000 [==========================>...] - ETA: 0s - loss: 0.1852 - acc: 0.9443
54624/60000 [==========================>...] - ETA: 0s - loss: 0.1849 - acc: 0.9443
55296/60000 [==========================>...] - ETA: 0s - loss: 0.1851 - acc: 0.9443
55904/60000 [==========================>...] - ETA: 0s - loss: 0.1859 - acc: 0.9441
56576/60000 [===========================>..] - ETA: 0s - loss: 0.1863 - acc: 0.9440
57216/60000 [===========================>..] - ETA: 0s - loss: 0.1867 - acc: 0.9440
57920/60000 [===========================>..] - ETA: 0s - loss: 0.1868 - acc: 0.9439
58592/60000 [============================>.] - ETA: 0s - loss: 0.1868 - acc: 0.9439
59264/60000 [============================>.] - ETA: 0s - loss: 0.1869 - acc: 0.9440
59936/60000 [============================>.] - ETA: 0s - loss: 0.1872 - acc: 0.9440
60000/60000 [==============================] - 5s 79us/step - loss: 0.1872 - acc: 0.9439
Epoch 7/10
32/60000 [..............................] - ETA: 9s - loss: 0.4794 - acc: 0.8438
672/60000 [..............................] - ETA: 4s - loss: 0.1735 - acc: 0.9509
1344/60000 [..............................] - ETA: 4s - loss: 0.1736 - acc: 0.9420
2048/60000 [>.............................] - ETA: 4s - loss: 0.1615 - acc: 0.9473
2752/60000 [>.............................] - ETA: 4s - loss: 0.1645 - acc: 0.9488
3392/60000 [>.............................] - ETA: 4s - loss: 0.1643 - acc: 0.9472
4032/60000 [=>............................] - ETA: 4s - loss: 0.1645 - acc: 0.9477
4672/60000 [=>............................] - ETA: 4s - loss: 0.1612 - acc: 0.9491
5376/60000 [=>............................] - ETA: 4s - loss: 0.1685 - acc: 0.9490
6048/60000 [==>...........................] - ETA: 4s - loss: 0.1704 - acc: 0.9497
6720/60000 [==>...........................] - ETA: 4s - loss: 0.1659 - acc: 0.9510
7424/60000 [==>...........................] - ETA: 4s - loss: 0.1694 - acc: 0.9503
8096/60000 [===>..........................] - ETA: 4s - loss: 0.1705 - acc: 0.9502
8800/60000 [===>..........................] - ETA: 3s - loss: 0.1759 - acc: 0.9487
9472/60000 [===>..........................] - ETA: 3s - loss: 0.1771 - acc: 0.9476
10080/60000 [====>.........................] - ETA: 3s - loss: 0.1783 - acc: 0.9479
10752/60000 [====>.........................] - ETA: 3s - loss: 0.1775 - acc: 0.9483
11456/60000 [====>.........................] - ETA: 3s - loss: 0.1744 - acc: 0.9488
12128/60000 [=====>........................] - ETA: 3s - loss: 0.1740 - acc: 0.9491
12768/60000 [=====>........................] - ETA: 3s - loss: 0.1755 - acc: 0.9493
13472/60000 [=====>........................] - ETA: 3s - loss: 0.1746 - acc: 0.9495
14176/60000 [======>.......................] - ETA: 3s - loss: 0.1745 - acc: 0.9492
14816/60000 [======>.......................] - ETA: 3s - loss: 0.1743 - acc: 0.9494
15456/60000 [======>.......................] - ETA: 3s - loss: 0.1730 - acc: 0.9495
16096/60000 [=======>......................] - ETA: 3s - loss: 0.1746 - acc: 0.9492
16768/60000 [=======>......................] - ETA: 3s - loss: 0.1742 - acc: 0.9495
17440/60000 [=======>......................] - ETA: 3s - loss: 0.1744 - acc: 0.9494
18112/60000 [========>.....................] - ETA: 3s - loss: 0.1736 - acc: 0.9494
18752/60000 [========>.....................] - ETA: 3s - loss: 0.1737 - acc: 0.9493
19456/60000 [========>.....................] - ETA: 3s - loss: 0.1740 - acc: 0.9488
20128/60000 [=========>....................] - ETA: 3s - loss: 0.1744 - acc: 0.9488
20768/60000 [=========>....................] - ETA: 3s - loss: 0.1747 - acc: 0.9485
21440/60000 [=========>....................] - ETA: 2s - loss: 0.1753 - acc: 0.9489
22144/60000 [==========>...................] - ETA: 2s - loss: 0.1744 - acc: 0.9492
22752/60000 [==========>...................] - ETA: 2s - loss: 0.1751 - acc: 0.9492
23424/60000 [==========>...................] - ETA: 2s - loss: 0.1753 - acc: 0.9491
24128/60000 [===========>..................] - ETA: 2s - loss: 0.1751 - acc: 0.9489
24832/60000 [===========>..................] - ETA: 2s - loss: 0.1773 - acc: 0.9483
25504/60000 [===========>..................] - ETA: 2s - loss: 0.1788 - acc: 0.9479
26176/60000 [============>.................] - ETA: 2s - loss: 0.1794 - acc: 0.9474
26880/60000 [============>.................] - ETA: 2s - loss: 0.1800 - acc: 0.9475
27552/60000 [============>.................] - ETA: 2s - loss: 0.1805 - acc: 0.9473
28160/60000 [=============>................] - ETA: 2s - loss: 0.1804 - acc: 0.9473
28832/60000 [=============>................] - ETA: 2s - loss: 0.1818 - acc: 0.9469
29504/60000 [=============>................] - ETA: 2s - loss: 0.1817 - acc: 0.9468
30176/60000 [==============>...............] - ETA: 2s - loss: 0.1822 - acc: 0.9467
30784/60000 [==============>...............] - ETA: 2s - loss: 0.1821 - acc: 0.9467
31392/60000 [==============>...............] - ETA: 2s - loss: 0.1820 - acc: 0.9466
32096/60000 [===============>..............] - ETA: 2s - loss: 0.1814 - acc: 0.9468
32768/60000 [===============>..............] - ETA: 2s - loss: 0.1800 - acc: 0.9470
33376/60000 [===============>..............] - ETA: 2s - loss: 0.1817 - acc: 0.9467
34080/60000 [================>.............] - ETA: 2s - loss: 0.1816 - acc: 0.9465
34784/60000 [================>.............] - ETA: 1s - loss: 0.1810 - acc: 0.9468
35488/60000 [================>.............] - ETA: 1s - loss: 0.1803 - acc: 0.9471
36160/60000 [=================>............] - ETA: 1s - loss: 0.1797 - acc: 0.9473
36832/60000 [=================>............] - ETA: 1s - loss: 0.1794 - acc: 0.9474
37504/60000 [=================>............] - ETA: 1s - loss: 0.1795 - acc: 0.9473
38240/60000 [==================>...........] - ETA: 1s - loss: 0.1800 - acc: 0.9471
38944/60000 [==================>...........] - ETA: 1s - loss: 0.1808 - acc: 0.9470
39616/60000 [==================>...........] - ETA: 1s - loss: 0.1805 - acc: 0.9470
40256/60000 [===================>..........] - ETA: 1s - loss: 0.1801 - acc: 0.9470
40960/60000 [===================>..........] - ETA: 1s - loss: 0.1810 - acc: 0.9468
41632/60000 [===================>..........] - ETA: 1s - loss: 0.1808 - acc: 0.9468
42336/60000 [====================>.........] - ETA: 1s - loss: 0.1807 - acc: 0.9469
43040/60000 [====================>.........] - ETA: 1s - loss: 0.1804 - acc: 0.9470
43712/60000 [====================>.........] - ETA: 1s - loss: 0.1805 - acc: 0.9470
44320/60000 [=====================>........] - ETA: 1s - loss: 0.1808 - acc: 0.9468
44992/60000 [=====================>........] - ETA: 1s - loss: 0.1804 - acc: 0.9469
45696/60000 [=====================>........] - ETA: 1s - loss: 0.1810 - acc: 0.9467
46336/60000 [======================>.......] - ETA: 1s - loss: 0.1808 - acc: 0.9467
46944/60000 [======================>.......] - ETA: 1s - loss: 0.1810 - acc: 0.9467
47616/60000 [======================>.......] - ETA: 0s - loss: 0.1809 - acc: 0.9467
48320/60000 [=======================>......] - ETA: 0s - loss: 0.1804 - acc: 0.9468
48928/60000 [=======================>......] - ETA: 0s - loss: 0.1801 - acc: 0.9469
49600/60000 [=======================>......] - ETA: 0s - loss: 0.1804 - acc: 0.9469
50272/60000 [========================>.....] - ETA: 0s - loss: 0.1810 - acc: 0.9467
50912/60000 [========================>.....] - ETA: 0s - loss: 0.1809 - acc: 0.9467
51552/60000 [========================>.....] - ETA: 0s - loss: 0.1806 - acc: 0.9468
52192/60000 [=========================>....] - ETA: 0s - loss: 0.1803 - acc: 0.9468
52864/60000 [=========================>....] - ETA: 0s - loss: 0.1802 - acc: 0.9469
53536/60000 [=========================>....] - ETA: 0s - loss: 0.1806 - acc: 0.9467
54176/60000 [==========================>...] - ETA: 0s - loss: 0.1806 - acc: 0.9467
54752/60000 [==========================>...] - ETA: 0s - loss: 0.1805 - acc: 0.9467
55296/60000 [==========================>...] - ETA: 0s - loss: 0.1806 - acc: 0.9468
55936/60000 [==========================>...] - ETA: 0s - loss: 0.1803 - acc: 0.9468
56544/60000 [===========================>..] - ETA: 0s - loss: 0.1803 - acc: 0.9467
57184/60000 [===========================>..] - ETA: 0s - loss: 0.1800 - acc: 0.9467
57888/60000 [===========================>..] - ETA: 0s - loss: 0.1806 - acc: 0.9466
58560/60000 [============================>.] - ETA: 0s - loss: 0.1810 - acc: 0.9466
59232/60000 [============================>.] - ETA: 0s - loss: 0.1808 - acc: 0.9466
59904/60000 [============================>.] - ETA: 0s - loss: 0.1812 - acc: 0.9465
60000/60000 [==============================] - 5s 78us/step - loss: 0.1811 - acc: 0.9465
Epoch 8/10
32/60000 [..............................] - ETA: 9s - loss: 0.3020 - acc: 0.9375
704/60000 [..............................] - ETA: 4s - loss: 0.2075 - acc: 0.9418
1376/60000 [..............................] - ETA: 4s - loss: 0.1655 - acc: 0.9535
2048/60000 [>.............................] - ETA: 4s - loss: 0.1597 - acc: 0.9517
2688/60000 [>.............................] - ETA: 4s - loss: 0.1688 - acc: 0.9490
3264/60000 [>.............................] - ETA: 4s - loss: 0.1694 - acc: 0.9491
3904/60000 [>.............................] - ETA: 4s - loss: 0.1767 - acc: 0.9480
4576/60000 [=>............................] - ETA: 4s - loss: 0.1727 - acc: 0.9497
5280/60000 [=>............................] - ETA: 4s - loss: 0.1775 - acc: 0.9483
5984/60000 [=>............................] - ETA: 4s - loss: 0.1787 - acc: 0.9477
6624/60000 [==>...........................] - ETA: 4s - loss: 0.1779 - acc: 0.9470
7328/60000 [==>...........................] - ETA: 4s - loss: 0.1739 - acc: 0.9476
8032/60000 [===>..........................] - ETA: 4s - loss: 0.1688 - acc: 0.9491
8736/60000 [===>..........................] - ETA: 3s - loss: 0.1674 - acc: 0.9497
9376/60000 [===>..........................] - ETA: 3s - loss: 0.1669 - acc: 0.9499
9984/60000 [===>..........................] - ETA: 3s - loss: 0.1678 - acc: 0.9491
10656/60000 [====>.........................] - ETA: 3s - loss: 0.1677 - acc: 0.9490
11328/60000 [====>.........................] - ETA: 3s - loss: 0.1703 - acc: 0.9488
12000/60000 [=====>........................] - ETA: 3s - loss: 0.1714 - acc: 0.9488
12704/60000 [=====>........................] - ETA: 3s - loss: 0.1710 - acc: 0.9491
13344/60000 [=====>........................] - ETA: 3s - loss: 0.1696 - acc: 0.9493
14016/60000 [======>.......................] - ETA: 3s - loss: 0.1714 - acc: 0.9492
14752/60000 [======>.......................] - ETA: 3s - loss: 0.1696 - acc: 0.9502
15456/60000 [======>.......................] - ETA: 3s - loss: 0.1726 - acc: 0.9498
16128/60000 [=======>......................] - ETA: 3s - loss: 0.1730 - acc: 0.9497
16832/60000 [=======>......................] - ETA: 3s - loss: 0.1715 - acc: 0.9499
17568/60000 [=======>......................] - ETA: 3s - loss: 0.1698 - acc: 0.9503
18272/60000 [========>.....................] - ETA: 3s - loss: 0.1695 - acc: 0.9503
18944/60000 [========>.....................] - ETA: 3s - loss: 0.1720 - acc: 0.9497
19552/60000 [========>.....................] - ETA: 3s - loss: 0.1724 - acc: 0.9492
20192/60000 [=========>....................] - ETA: 3s - loss: 0.1732 - acc: 0.9487
20896/60000 [=========>....................] - ETA: 3s - loss: 0.1723 - acc: 0.9488
21568/60000 [=========>....................] - ETA: 2s - loss: 0.1718 - acc: 0.9492
22272/60000 [==========>...................] - ETA: 2s - loss: 0.1709 - acc: 0.9496
22880/60000 [==========>...................] - ETA: 2s - loss: 0.1706 - acc: 0.9499
23520/60000 [==========>...................] - ETA: 2s - loss: 0.1697 - acc: 0.9501
24192/60000 [===========>..................] - ETA: 2s - loss: 0.1700 - acc: 0.9501
24832/60000 [===========>..................] - ETA: 2s - loss: 0.1686 - acc: 0.9506
25504/60000 [===========>..................] - ETA: 2s - loss: 0.1684 - acc: 0.9506
26176/60000 [============>.................] - ETA: 2s - loss: 0.1690 - acc: 0.9502
26848/60000 [============>.................] - ETA: 2s - loss: 0.1690 - acc: 0.9502
27488/60000 [============>.................] - ETA: 2s - loss: 0.1693 - acc: 0.9503
28128/60000 [=============>................] - ETA: 2s - loss: 0.1696 - acc: 0.9503
28768/60000 [=============>................] - ETA: 2s - loss: 0.1699 - acc: 0.9502
29408/60000 [=============>................] - ETA: 2s - loss: 0.1701 - acc: 0.9503
30016/60000 [==============>...............] - ETA: 2s - loss: 0.1693 - acc: 0.9503
30720/60000 [==============>...............] - ETA: 2s - loss: 0.1703 - acc: 0.9501
31456/60000 [==============>...............] - ETA: 2s - loss: 0.1700 - acc: 0.9503
32128/60000 [===============>..............] - ETA: 2s - loss: 0.1695 - acc: 0.9503
32800/60000 [===============>..............] - ETA: 2s - loss: 0.1698 - acc: 0.9502
33472/60000 [===============>..............] - ETA: 2s - loss: 0.1686 - acc: 0.9504
34208/60000 [================>.............] - ETA: 1s - loss: 0.1689 - acc: 0.9502
34848/60000 [================>.............] - ETA: 1s - loss: 0.1687 - acc: 0.9502
35488/60000 [================>.............] - ETA: 1s - loss: 0.1701 - acc: 0.9500
36128/60000 [=================>............] - ETA: 1s - loss: 0.1696 - acc: 0.9501
36800/60000 [=================>............] - ETA: 1s - loss: 0.1701 - acc: 0.9498
37440/60000 [=================>............] - ETA: 1s - loss: 0.1703 - acc: 0.9497
38144/60000 [==================>...........] - ETA: 1s - loss: 0.1702 - acc: 0.9496
38848/60000 [==================>...........] - ETA: 1s - loss: 0.1703 - acc: 0.9496
39520/60000 [==================>...........] - ETA: 1s - loss: 0.1706 - acc: 0.9495
40160/60000 [===================>..........] - ETA: 1s - loss: 0.1700 - acc: 0.9497
40896/60000 [===================>..........] - ETA: 1s - loss: 0.1694 - acc: 0.9499
41568/60000 [===================>..........] - ETA: 1s - loss: 0.1695 - acc: 0.9498
42240/60000 [====================>.........] - ETA: 1s - loss: 0.1693 - acc: 0.9498
42912/60000 [====================>.........] - ETA: 1s - loss: 0.1693 - acc: 0.9497
43584/60000 [====================>.........] - ETA: 1s - loss: 0.1702 - acc: 0.9493
44288/60000 [=====================>........] - ETA: 1s - loss: 0.1709 - acc: 0.9493
44960/60000 [=====================>........] - ETA: 1s - loss: 0.1712 - acc: 0.9492
45600/60000 [=====================>........] - ETA: 1s - loss: 0.1717 - acc: 0.9491
46272/60000 [======================>.......] - ETA: 1s - loss: 0.1718 - acc: 0.9491
46976/60000 [======================>.......] - ETA: 1s - loss: 0.1713 - acc: 0.9492
47648/60000 [======================>.......] - ETA: 0s - loss: 0.1707 - acc: 0.9493
48288/60000 [=======================>......] - ETA: 0s - loss: 0.1704 - acc: 0.9493
48896/60000 [=======================>......] - ETA: 0s - loss: 0.1705 - acc: 0.9493
49568/60000 [=======================>......] - ETA: 0s - loss: 0.1698 - acc: 0.9496
50208/60000 [========================>.....] - ETA: 0s - loss: 0.1694 - acc: 0.9496
50848/60000 [========================>.....] - ETA: 0s - loss: 0.1690 - acc: 0.9498
51552/60000 [========================>.....] - ETA: 0s - loss: 0.1690 - acc: 0.9498
52256/60000 [=========================>....] - ETA: 0s - loss: 0.1691 - acc: 0.9498
52928/60000 [=========================>....] - ETA: 0s - loss: 0.1686 - acc: 0.9499
53536/60000 [=========================>....] - ETA: 0s - loss: 0.1689 - acc: 0.9499
54272/60000 [==========================>...] - ETA: 0s - loss: 0.1684 - acc: 0.9500
54912/60000 [==========================>...] - ETA: 0s - loss: 0.1689 - acc: 0.9498
55520/60000 [==========================>...] - ETA: 0s - loss: 0.1694 - acc: 0.9496
56128/60000 [===========================>..] - ETA: 0s - loss: 0.1694 - acc: 0.9496
56832/60000 [===========================>..] - ETA: 0s - loss: 0.1689 - acc: 0.9497
57472/60000 [===========================>..] - ETA: 0s - loss: 0.1688 - acc: 0.9497
58112/60000 [============================>.] - ETA: 0s - loss: 0.1689 - acc: 0.9497
58752/60000 [============================>.] - ETA: 0s - loss: 0.1686 - acc: 0.9498
59392/60000 [============================>.] - ETA: 0s - loss: 0.1688 - acc: 0.9497
60000/60000 [==============================] - 5s 77us/step - loss: 0.1689 - acc: 0.9497
Epoch 9/10
32/60000 [..............................] - ETA: 9s - loss: 0.0129 - acc: 1.0000
640/60000 [..............................] - ETA: 5s - loss: 0.1421 - acc: 0.9484
1184/60000 [..............................] - ETA: 5s - loss: 0.1516 - acc: 0.9493
1792/60000 [..............................] - ETA: 5s - loss: 0.1698 - acc: 0.9436
2496/60000 [>.............................] - ETA: 4s - loss: 0.1556 - acc: 0.9491
3136/60000 [>.............................] - ETA: 4s - loss: 0.1544 - acc: 0.9496
3776/60000 [>.............................] - ETA: 4s - loss: 0.1574 - acc: 0.9492
4480/60000 [=>............................] - ETA: 4s - loss: 0.1633 - acc: 0.9473
5184/60000 [=>............................] - ETA: 4s - loss: 0.1651 - acc: 0.9470
5856/60000 [=>............................] - ETA: 4s - loss: 0.1671 - acc: 0.9467
6496/60000 [==>...........................] - ETA: 4s - loss: 0.1648 - acc: 0.9472
7168/60000 [==>...........................] - ETA: 4s - loss: 0.1675 - acc: 0.9474
7872/60000 [==>...........................] - ETA: 4s - loss: 0.1653 - acc: 0.9477
8480/60000 [===>..........................] - ETA: 4s - loss: 0.1658 - acc: 0.9473
9184/60000 [===>..........................] - ETA: 4s - loss: 0.1648 - acc: 0.9481
9888/60000 [===>..........................] - ETA: 3s - loss: 0.1632 - acc: 0.9484
10560/60000 [====>.........................] - ETA: 3s - loss: 0.1633 - acc: 0.9490
11200/60000 [====>.........................] - ETA: 3s - loss: 0.1601 - acc: 0.9506
11872/60000 [====>.........................] - ETA: 3s - loss: 0.1594 - acc: 0.9502
12608/60000 [=====>........................] - ETA: 3s - loss: 0.1597 - acc: 0.9500
13312/60000 [=====>........................] - ETA: 3s - loss: 0.1628 - acc: 0.9494
13888/60000 [=====>........................] - ETA: 3s - loss: 0.1639 - acc: 0.9497
14528/60000 [======>.......................] - ETA: 3s - loss: 0.1633 - acc: 0.9495
15200/60000 [======>.......................] - ETA: 3s - loss: 0.1628 - acc: 0.9496
15872/60000 [======>.......................] - ETA: 3s - loss: 0.1625 - acc: 0.9495
16576/60000 [=======>......................] - ETA: 3s - loss: 0.1634 - acc: 0.9494
17248/60000 [=======>......................] - ETA: 3s - loss: 0.1628 - acc: 0.9496
17920/60000 [=======>......................] - ETA: 3s - loss: 0.1622 - acc: 0.9498
18592/60000 [========>.....................] - ETA: 3s - loss: 0.1626 - acc: 0.9497
19328/60000 [========>.....................] - ETA: 3s - loss: 0.1622 - acc: 0.9499
20000/60000 [=========>....................] - ETA: 3s - loss: 0.1636 - acc: 0.9496
20640/60000 [=========>....................] - ETA: 3s - loss: 0.1640 - acc: 0.9496
21312/60000 [=========>....................] - ETA: 3s - loss: 0.1649 - acc: 0.9495
21952/60000 [=========>....................] - ETA: 2s - loss: 0.1645 - acc: 0.9498
22624/60000 [==========>...................] - ETA: 2s - loss: 0.1645 - acc: 0.9496
23296/60000 [==========>...................] - ETA: 2s - loss: 0.1642 - acc: 0.9496
23936/60000 [==========>...................] - ETA: 2s - loss: 0.1638 - acc: 0.9497
24640/60000 [===========>..................] - ETA: 2s - loss: 0.1631 - acc: 0.9496
25312/60000 [===========>..................] - ETA: 2s - loss: 0.1623 - acc: 0.9500
26048/60000 [============>.................] - ETA: 2s - loss: 0.1622 - acc: 0.9501
26688/60000 [============>.................] - ETA: 2s - loss: 0.1616 - acc: 0.9503
27296/60000 [============>.................] - ETA: 2s - loss: 0.1614 - acc: 0.9505
27968/60000 [============>.................] - ETA: 2s - loss: 0.1614 - acc: 0.9507
28704/60000 [=============>................] - ETA: 2s - loss: 0.1612 - acc: 0.9507
29376/60000 [=============>................] - ETA: 2s - loss: 0.1612 - acc: 0.9505
30048/60000 [==============>...............] - ETA: 2s - loss: 0.1608 - acc: 0.9506
30720/60000 [==============>...............] - ETA: 2s - loss: 0.1601 - acc: 0.9509
31392/60000 [==============>...............] - ETA: 2s - loss: 0.1594 - acc: 0.9510
31936/60000 [==============>...............] - ETA: 2s - loss: 0.1600 - acc: 0.9507
32544/60000 [===============>..............] - ETA: 2s - loss: 0.1609 - acc: 0.9506
33184/60000 [===============>..............] - ETA: 2s - loss: 0.1608 - acc: 0.9508
33856/60000 [===============>..............] - ETA: 2s - loss: 0.1602 - acc: 0.9510
34496/60000 [================>.............] - ETA: 1s - loss: 0.1598 - acc: 0.9511
35200/60000 [================>.............] - ETA: 1s - loss: 0.1604 - acc: 0.9509
35904/60000 [================>.............] - ETA: 1s - loss: 0.1601 - acc: 0.9511
36576/60000 [=================>............] - ETA: 1s - loss: 0.1598 - acc: 0.9513
37248/60000 [=================>............] - ETA: 1s - loss: 0.1597 - acc: 0.9513
37920/60000 [=================>............] - ETA: 1s - loss: 0.1598 - acc: 0.9513
38592/60000 [==================>...........] - ETA: 1s - loss: 0.1598 - acc: 0.9513
39264/60000 [==================>...........] - ETA: 1s - loss: 0.1596 - acc: 0.9512
39872/60000 [==================>...........] - ETA: 1s - loss: 0.1594 - acc: 0.9513
40512/60000 [===================>..........] - ETA: 1s - loss: 0.1596 - acc: 0.9514
41184/60000 [===================>..........] - ETA: 1s - loss: 0.1596 - acc: 0.9515
41824/60000 [===================>..........] - ETA: 1s - loss: 0.1598 - acc: 0.9513
42528/60000 [====================>.........] - ETA: 1s - loss: 0.1599 - acc: 0.9513
43200/60000 [====================>.........] - ETA: 1s - loss: 0.1597 - acc: 0.9514
43840/60000 [====================>.........] - ETA: 1s - loss: 0.1599 - acc: 0.9512
44512/60000 [=====================>........] - ETA: 1s - loss: 0.1593 - acc: 0.9515
45216/60000 [=====================>........] - ETA: 1s - loss: 0.1600 - acc: 0.9512
45888/60000 [=====================>........] - ETA: 1s - loss: 0.1597 - acc: 0.9514
46496/60000 [======================>.......] - ETA: 1s - loss: 0.1594 - acc: 0.9516
47104/60000 [======================>.......] - ETA: 1s - loss: 0.1595 - acc: 0.9516
47776/60000 [======================>.......] - ETA: 0s - loss: 0.1593 - acc: 0.9515
48512/60000 [=======================>......] - ETA: 0s - loss: 0.1595 - acc: 0.9515
49184/60000 [=======================>......] - ETA: 0s - loss: 0.1594 - acc: 0.9516
49824/60000 [=======================>......] - ETA: 0s - loss: 0.1598 - acc: 0.9517
50528/60000 [========================>.....] - ETA: 0s - loss: 0.1597 - acc: 0.9517
51264/60000 [========================>.....] - ETA: 0s - loss: 0.1608 - acc: 0.9514
51904/60000 [========================>.....] - ETA: 0s - loss: 0.1613 - acc: 0.9512
52576/60000 [=========================>....] - ETA: 0s - loss: 0.1619 - acc: 0.9511
53152/60000 [=========================>....] - ETA: 0s - loss: 0.1621 - acc: 0.9509
53824/60000 [=========================>....] - ETA: 0s - loss: 0.1620 - acc: 0.9509
54496/60000 [==========================>...] - ETA: 0s - loss: 0.1618 - acc: 0.9510
55200/60000 [==========================>...] - ETA: 0s - loss: 0.1623 - acc: 0.9509
55872/60000 [==========================>...] - ETA: 0s - loss: 0.1623 - acc: 0.9508
56544/60000 [===========================>..] - ETA: 0s - loss: 0.1623 - acc: 0.9509
57184/60000 [===========================>..] - ETA: 0s - loss: 0.1624 - acc: 0.9508
57920/60000 [===========================>..] - ETA: 0s - loss: 0.1622 - acc: 0.9508
58560/60000 [============================>.] - ETA: 0s - loss: 0.1620 - acc: 0.9509
59232/60000 [============================>.] - ETA: 0s - loss: 0.1624 - acc: 0.9510
59840/60000 [============================>.] - ETA: 0s - loss: 0.1626 - acc: 0.9507
60000/60000 [==============================] - 5s 78us/step - loss: 0.1625 - acc: 0.9508
Epoch 10/10
32/60000 [..............................] - ETA: 9s - loss: 0.1419 - acc: 0.9375
704/60000 [..............................] - ETA: 4s - loss: 0.1884 - acc: 0.9574
1408/60000 [..............................] - ETA: 4s - loss: 0.1593 - acc: 0.9602
2048/60000 [>.............................] - ETA: 4s - loss: 0.1531 - acc: 0.9580
2688/60000 [>.............................] - ETA: 4s - loss: 0.1513 - acc: 0.9587
3328/60000 [>.............................] - ETA: 4s - loss: 0.1485 - acc: 0.9570
4000/60000 [=>............................] - ETA: 4s - loss: 0.1426 - acc: 0.9577
4640/60000 [=>............................] - ETA: 4s - loss: 0.1386 - acc: 0.9580
5184/60000 [=>............................] - ETA: 4s - loss: 0.1378 - acc: 0.9572
5728/60000 [=>............................] - ETA: 4s - loss: 0.1396 - acc: 0.9574
6400/60000 [==>...........................] - ETA: 4s - loss: 0.1429 - acc: 0.9567
7040/60000 [==>...........................] - ETA: 4s - loss: 0.1407 - acc: 0.9581
7680/60000 [==>...........................] - ETA: 4s - loss: 0.1390 - acc: 0.9586
8384/60000 [===>..........................] - ETA: 4s - loss: 0.1441 - acc: 0.9577
9088/60000 [===>..........................] - ETA: 4s - loss: 0.1469 - acc: 0.9569
9760/60000 [===>..........................] - ETA: 4s - loss: 0.1490 - acc: 0.9560
10432/60000 [====>.........................] - ETA: 3s - loss: 0.1472 - acc: 0.9564
11136/60000 [====>.........................] - ETA: 3s - loss: 0.1493 - acc: 0.9561
11840/60000 [====>.........................] - ETA: 3s - loss: 0.1478 - acc: 0.9567
12480/60000 [=====>........................] - ETA: 3s - loss: 0.1488 - acc: 0.9566
13184/60000 [=====>........................] - ETA: 3s - loss: 0.1494 - acc: 0.9562
13856/60000 [=====>........................] - ETA: 3s - loss: 0.1514 - acc: 0.9553
14528/60000 [======>.......................] - ETA: 3s - loss: 0.1504 - acc: 0.9555
15136/60000 [======>.......................] - ETA: 3s - loss: 0.1489 - acc: 0.9557
15744/60000 [======>.......................] - ETA: 3s - loss: 0.1492 - acc: 0.9557
16416/60000 [=======>......................] - ETA: 3s - loss: 0.1525 - acc: 0.9549
17088/60000 [=======>......................] - ETA: 3s - loss: 0.1526 - acc: 0.9550
17760/60000 [=======>......................] - ETA: 3s - loss: 0.1511 - acc: 0.9555
18368/60000 [========>.....................] - ETA: 3s - loss: 0.1517 - acc: 0.9554
19040/60000 [========>.....................] - ETA: 3s - loss: 0.1522 - acc: 0.9554
19712/60000 [========>.....................] - ETA: 3s - loss: 0.1506 - acc: 0.9556
20352/60000 [=========>....................] - ETA: 3s - loss: 0.1504 - acc: 0.9557
21024/60000 [=========>....................] - ETA: 3s - loss: 0.1495 - acc: 0.9556
21728/60000 [=========>....................] - ETA: 3s - loss: 0.1499 - acc: 0.9554
22368/60000 [==========>...................] - ETA: 2s - loss: 0.1513 - acc: 0.9552
23040/60000 [==========>...................] - ETA: 2s - loss: 0.1509 - acc: 0.9551
23712/60000 [==========>...................] - ETA: 2s - loss: 0.1521 - acc: 0.9547
24448/60000 [===========>..................] - ETA: 2s - loss: 0.1525 - acc: 0.9546
25120/60000 [===========>..................] - ETA: 2s - loss: 0.1515 - acc: 0.9548
25760/60000 [===========>..................] - ETA: 2s - loss: 0.1512 - acc: 0.9548
26432/60000 [============>.................] - ETA: 2s - loss: 0.1512 - acc: 0.9547
27136/60000 [============>.................] - ETA: 2s - loss: 0.1507 - acc: 0.9546
27808/60000 [============>.................] - ETA: 2s - loss: 0.1511 - acc: 0.9545
28512/60000 [=============>................] - ETA: 2s - loss: 0.1499 - acc: 0.9548
29120/60000 [=============>................] - ETA: 2s - loss: 0.1498 - acc: 0.9546
29760/60000 [=============>................] - ETA: 2s - loss: 0.1514 - acc: 0.9544
30432/60000 [==============>...............] - ETA: 2s - loss: 0.1519 - acc: 0.9542
31136/60000 [==============>...............] - ETA: 2s - loss: 0.1517 - acc: 0.9542
31744/60000 [==============>...............] - ETA: 2s - loss: 0.1509 - acc: 0.9545
32416/60000 [===============>..............] - ETA: 2s - loss: 0.1510 - acc: 0.9543
32992/60000 [===============>..............] - ETA: 2s - loss: 0.1509 - acc: 0.9544
33632/60000 [===============>..............] - ETA: 2s - loss: 0.1511 - acc: 0.9544
34304/60000 [================>.............] - ETA: 2s - loss: 0.1501 - acc: 0.9546
34752/60000 [================>.............] - ETA: 1s - loss: 0.1505 - acc: 0.9546
35168/60000 [================>.............] - ETA: 1s - loss: 0.1504 - acc: 0.9547
35776/60000 [================>.............] - ETA: 1s - loss: 0.1495 - acc: 0.9549
36320/60000 [=================>............] - ETA: 1s - loss: 0.1505 - acc: 0.9545
36896/60000 [=================>............] - ETA: 1s - loss: 0.1505 - acc: 0.9546
37376/60000 [=================>............] - ETA: 1s - loss: 0.1504 - acc: 0.9548
37888/60000 [=================>............] - ETA: 1s - loss: 0.1501 - acc: 0.9548
38368/60000 [==================>...........] - ETA: 1s - loss: 0.1494 - acc: 0.9550
38880/60000 [==================>...........] - ETA: 1s - loss: 0.1490 - acc: 0.9550
39392/60000 [==================>...........] - ETA: 1s - loss: 0.1487 - acc: 0.9551
39904/60000 [==================>...........] - ETA: 1s - loss: 0.1484 - acc: 0.9551
40416/60000 [===================>..........] - ETA: 1s - loss: 0.1483 - acc: 0.9551
40992/60000 [===================>..........] - ETA: 1s - loss: 0.1486 - acc: 0.9550
41536/60000 [===================>..........] - ETA: 1s - loss: 0.1492 - acc: 0.9549
42048/60000 [====================>.........] - ETA: 1s - loss: 0.1491 - acc: 0.9549
42592/60000 [====================>.........] - ETA: 1s - loss: 0.1484 - acc: 0.9550
43104/60000 [====================>.........] - ETA: 1s - loss: 0.1490 - acc: 0.9550
43648/60000 [====================>.........] - ETA: 1s - loss: 0.1495 - acc: 0.9549
44192/60000 [=====================>........] - ETA: 1s - loss: 0.1499 - acc: 0.9548
44768/60000 [=====================>........] - ETA: 1s - loss: 0.1500 - acc: 0.9548
45280/60000 [=====================>........] - ETA: 1s - loss: 0.1501 - acc: 0.9547
45824/60000 [=====================>........] - ETA: 1s - loss: 0.1508 - acc: 0.9547
46368/60000 [======================>.......] - ETA: 1s - loss: 0.1508 - acc: 0.9546
46880/60000 [======================>.......] - ETA: 1s - loss: 0.1504 - acc: 0.9548
47392/60000 [======================>.......] - ETA: 1s - loss: 0.1500 - acc: 0.9548
47968/60000 [======================>.......] - ETA: 1s - loss: 0.1504 - acc: 0.9547
48512/60000 [=======================>......] - ETA: 0s - loss: 0.1506 - acc: 0.9547
49088/60000 [=======================>......] - ETA: 0s - loss: 0.1506 - acc: 0.9547
49632/60000 [=======================>......] - ETA: 0s - loss: 0.1516 - acc: 0.9544
50208/60000 [========================>.....] - ETA: 0s - loss: 0.1514 - acc: 0.9544
50752/60000 [========================>.....] - ETA: 0s - loss: 0.1519 - acc: 0.9544
51296/60000 [========================>.....] - ETA: 0s - loss: 0.1520 - acc: 0.9543
51840/60000 [========================>.....] - ETA: 0s - loss: 0.1519 - acc: 0.9543
52352/60000 [=========================>....] - ETA: 0s - loss: 0.1522 - acc: 0.9541
52896/60000 [=========================>....] - ETA: 0s - loss: 0.1529 - acc: 0.9540
53440/60000 [=========================>....] - ETA: 0s - loss: 0.1529 - acc: 0.9539
53952/60000 [=========================>....] - ETA: 0s - loss: 0.1528 - acc: 0.9540
54528/60000 [==========================>...] - ETA: 0s - loss: 0.1525 - acc: 0.9540
55104/60000 [==========================>...] - ETA: 0s - loss: 0.1525 - acc: 0.9540
55648/60000 [==========================>...] - ETA: 0s - loss: 0.1524 - acc: 0.9539
56224/60000 [===========================>..] - ETA: 0s - loss: 0.1525 - acc: 0.9539
56768/60000 [===========================>..] - ETA: 0s - loss: 0.1526 - acc: 0.9539
57408/60000 [===========================>..] - ETA: 0s - loss: 0.1524 - acc: 0.9540
57984/60000 [===========================>..] - ETA: 0s - loss: 0.1530 - acc: 0.9538
58656/60000 [============================>.] - ETA: 0s - loss: 0.1527 - acc: 0.9539
59296/60000 [============================>.] - ETA: 0s - loss: 0.1528 - acc: 0.9539
59936/60000 [============================>.] - ETA: 0s - loss: 0.1531 - acc: 0.9538
60000/60000 [==============================] - 5s 86us/step - loss: 0.1531 - acc: 0.9538
32/10000 [..............................] - ETA: 40s
1280/10000 [==>...........................] - ETA: 1s
3264/10000 [========>.....................] - ETA: 0s
5184/10000 [==============>...............] - ETA: 0s
6784/10000 [===================>..........] - ETA: 0s
8800/10000 [=========================>....] - ETA: 0s
10000/10000 [==============================] - 0s 41us/step
test loss 0.09860300111593678
test accuracy 0.9709
32/60000 [..............................] - ETA: 1s
1792/60000 [..............................] - ETA: 1s
3616/60000 [>.............................] - ETA: 1s
5568/60000 [=>............................] - ETA: 1s
7648/60000 [==>...........................] - ETA: 1s
9536/60000 [===>..........................] - ETA: 1s
11296/60000 [====>.........................] - ETA: 1s
12896/60000 [=====>........................] - ETA: 1s
14432/60000 [======>.......................] - ETA: 1s
16064/60000 [=======>......................] - ETA: 1s
17504/60000 [=======>......................] - ETA: 1s
19136/60000 [========>.....................] - ETA: 1s
20832/60000 [=========>....................] - ETA: 1s
22560/60000 [==========>...................] - ETA: 1s
24224/60000 [===========>..................] - ETA: 1s
25920/60000 [===========>..................] - ETA: 1s
27520/60000 [============>.................] - ETA: 0s
29216/60000 [=============>................] - ETA: 0s
30656/60000 [==============>...............] - ETA: 0s
32384/60000 [===============>..............] - ETA: 0s
33952/60000 [===============>..............] - ETA: 0s
35648/60000 [================>.............] - ETA: 0s
37280/60000 [=================>............] - ETA: 0s
39072/60000 [==================>...........] - ETA: 0s
40576/60000 [===================>..........] - ETA: 0s
42240/60000 [====================>.........] - ETA: 0s
43872/60000 [====================>.........] - ETA: 0s
45600/60000 [=====================>........] - ETA: 0s
47104/60000 [======================>.......] - ETA: 0s
48800/60000 [=======================>......] - ETA: 0s
50464/60000 [========================>.....] - ETA: 0s
52064/60000 [=========================>....] - ETA: 0s
53696/60000 [=========================>....] - ETA: 0s
55360/60000 [==========================>...] - ETA: 0s
57312/60000 [===========================>..] - ETA: 0s
59168/60000 [============================>.] - ETA: 0s
60000/60000 [==============================] - 2s 30us/step
train loss 0.0726072891025804
train accuracy 0.9778166666666667
进程已结束,退出代码0