keras,FCN,mnist手写数字识别,实例,添加隐藏层,添加正则化L2,防止过拟合

正则化(Regularization)

L1和L2正则都是比较常见和常用的正则化项,都可以达到防止过拟合的效果。L1正则化的解具有稀疏性,可用于特征选择。L2正则化的解都比较小,抗扰动能力强。在求解过程中,L2通常倾向让权值尽可能小,最后构造一个所有参数都比较小的模型。因为一般认为参数值小的模型比较简单,能适应不同的数据集,也在一定程度上避免了过拟合现象。参数足够小,数据偏移得多一点也不会对结果造成什么影响,可以说“抗扰动能力强”。

 

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
from keras.optimizers import SGD
from keras.regularizers import l2#导入正则化函数L2

#载入数据
(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)

#创建模型,加入隐藏层,设置权值正则化L2,其实偏置值和激活值也可以设置正则化
model=Sequential([Dense(units=200,input_dim=784,bias_initializer='one',activation='tanh',kernel_regularizer=l2(0.0003)),
                  Dense(units=100,input_dim=200,bias_initializer='one',activation='tanh',kernel_regularizer=l2(0.0003)),
                  Dense(units=10,input_dim=100,bias_initializer='one',activation='softmax',kernel_regularizer=l2(0.0003))])#bias_initializer='one',偏置值的初始值设为1

'''
#也可以用add()函数加隐藏层
model.add(Dense(...))
model.add(Dense(...))
'''
#定义优化器,可以用SGD优化器,也可以用Adam优化器
sgd=SGD(lr=0.2)
#adam=Adam(lr=0.001)#lr是学习率

#定义优化器,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: 9:18 - loss: 2.6104 - acc: 0.2188
  640/60000 [..............................] - ETA: 32s - loss: 2.7386 - acc: 0.2250 
 1216/60000 [..............................] - ETA: 19s - loss: 2.1701 - acc: 0.3775
 1792/60000 [..............................] - ETA: 14s - loss: 1.7419 - acc: 0.5073
 2528/60000 [>.............................] - ETA: 11s - loss: 1.4641 - acc: 0.5894
 3296/60000 [>.............................] - ETA: 9s - loss: 1.2737 - acc: 0.6490 
 4192/60000 [=>............................] - ETA: 8s - loss: 1.1300 - acc: 0.6939
 5024/60000 [=>............................] - ETA: 7s - loss: 1.0346 - acc: 0.7245
 5888/60000 [=>............................] - ETA: 6s - loss: 0.9694 - acc: 0.7437
 6688/60000 [==>...........................] - ETA: 6s - loss: 0.9194 - acc: 0.7605
 7552/60000 [==>...........................] - ETA: 5s - loss: 0.8621 - acc: 0.7793
 8416/60000 [===>..........................] - ETA: 5s - loss: 0.8293 - acc: 0.7900
 9280/60000 [===>..........................] - ETA: 5s - loss: 0.7992 - acc: 0.7994
10080/60000 [====>.........................] - ETA: 4s - loss: 0.7717 - acc: 0.8074
10944/60000 [====>.........................] - ETA: 4s - loss: 0.7493 - acc: 0.8146
11712/60000 [====>.........................] - ETA: 4s - loss: 0.7297 - acc: 0.8206
12512/60000 [=====>........................] - ETA: 4s - loss: 0.7126 - acc: 0.8257
13376/60000 [=====>........................] - ETA: 4s - loss: 0.6964 - acc: 0.8316
14240/60000 [======>.......................] - ETA: 3s - loss: 0.6825 - acc: 0.8359
15040/60000 [======>.......................] - ETA: 3s - loss: 0.6692 - acc: 0.8400
15776/60000 [======>.......................] - ETA: 3s - loss: 0.6567 - acc: 0.8436
16416/60000 [=======>......................] - ETA: 3s - loss: 0.6507 - acc: 0.8458
17152/60000 [=======>......................] - ETA: 3s - loss: 0.6417 - acc: 0.8483
18016/60000 [========>.....................] - ETA: 3s - loss: 0.6329 - acc: 0.8515
18880/60000 [========>.....................] - ETA: 3s - loss: 0.6224 - acc: 0.8543
19776/60000 [========>.....................] - ETA: 3s - loss: 0.6117 - acc: 0.8574
20608/60000 [=========>....................] - ETA: 3s - loss: 0.6022 - acc: 0.8600
21504/60000 [=========>....................] - ETA: 3s - loss: 0.5954 - acc: 0.8621
22368/60000 [==========>...................] - ETA: 2s - loss: 0.5898 - acc: 0.8637
23264/60000 [==========>...................] - ETA: 2s - loss: 0.5830 - acc: 0.8659
24096/60000 [===========>..................] - ETA: 2s - loss: 0.5763 - acc: 0.8682
24992/60000 [===========>..................] - ETA: 2s - loss: 0.5693 - acc: 0.8706
25888/60000 [===========>..................] - ETA: 2s - loss: 0.5634 - acc: 0.8721
26816/60000 [============>.................] - ETA: 2s - loss: 0.5588 - acc: 0.8738
27584/60000 [============>.................] - ETA: 2s - loss: 0.5532 - acc: 0.8755
28480/60000 [=============>................] - ETA: 2s - loss: 0.5482 - acc: 0.8772
29344/60000 [=============>................] - ETA: 2s - loss: 0.5428 - acc: 0.8790
30240/60000 [==============>...............] - ETA: 2s - loss: 0.5377 - acc: 0.8805
31040/60000 [==============>...............] - ETA: 2s - loss: 0.5328 - acc: 0.8820
31904/60000 [==============>...............] - ETA: 2s - loss: 0.5292 - acc: 0.8831
32768/60000 [===============>..............] - ETA: 1s - loss: 0.5242 - acc: 0.8847
33536/60000 [===============>..............] - ETA: 1s - loss: 0.5211 - acc: 0.8855
34336/60000 [================>.............] - ETA: 1s - loss: 0.5167 - acc: 0.8868
35232/60000 [================>.............] - ETA: 1s - loss: 0.5128 - acc: 0.8881
36032/60000 [=================>............] - ETA: 1s - loss: 0.5091 - acc: 0.8892
36928/60000 [=================>............] - ETA: 1s - loss: 0.5053 - acc: 0.8904
37760/60000 [=================>............] - ETA: 1s - loss: 0.5024 - acc: 0.8912
38624/60000 [==================>...........] - ETA: 1s - loss: 0.4987 - acc: 0.8924
39456/60000 [==================>...........] - ETA: 1s - loss: 0.4954 - acc: 0.8933
40384/60000 [===================>..........] - ETA: 1s - loss: 0.4916 - acc: 0.8943
41184/60000 [===================>..........] - ETA: 1s - loss: 0.4892 - acc: 0.8950
42048/60000 [====================>.........] - ETA: 1s - loss: 0.4866 - acc: 0.8958
42912/60000 [====================>.........] - ETA: 1s - loss: 0.4832 - acc: 0.8970
43808/60000 [====================>.........] - ETA: 1s - loss: 0.4800 - acc: 0.8981
44672/60000 [=====================>........] - ETA: 1s - loss: 0.4776 - acc: 0.8988
45504/60000 [=====================>........] - ETA: 0s - loss: 0.4751 - acc: 0.8995
46400/60000 [======================>.......] - ETA: 0s - loss: 0.4723 - acc: 0.9005
47264/60000 [======================>.......] - ETA: 0s - loss: 0.4696 - acc: 0.9013
48128/60000 [=======================>......] - ETA: 0s - loss: 0.4670 - acc: 0.9020
48960/60000 [=======================>......] - ETA: 0s - loss: 0.4649 - acc: 0.9027
49824/60000 [=======================>......] - ETA: 0s - loss: 0.4626 - acc: 0.9033
50624/60000 [========================>.....] - ETA: 0s - loss: 0.4599 - acc: 0.9041
51488/60000 [========================>.....] - ETA: 0s - loss: 0.4567 - acc: 0.9050
52096/60000 [=========================>....] - ETA: 0s - loss: 0.4552 - acc: 0.9055
53024/60000 [=========================>....] - ETA: 0s - loss: 0.4523 - acc: 0.9064
53856/60000 [=========================>....] - ETA: 0s - loss: 0.4506 - acc: 0.9070
54752/60000 [==========================>...] - ETA: 0s - loss: 0.4480 - acc: 0.9077
55552/60000 [==========================>...] - ETA: 0s - loss: 0.4465 - acc: 0.9082
56448/60000 [===========================>..] - ETA: 0s - loss: 0.4445 - acc: 0.9087
57312/60000 [===========================>..] - ETA: 0s - loss: 0.4419 - acc: 0.9095
58208/60000 [============================>.] - ETA: 0s - loss: 0.4401 - acc: 0.9100
59008/60000 [============================>.] - ETA: 0s - loss: 0.4382 - acc: 0.9106
59744/60000 [============================>.] - ETA: 0s - loss: 0.4368 - acc: 0.9109
60000/60000 [==============================] - 4s 67us/step - loss: 0.4365 - acc: 0.9110
Epoch 2/10

   32/60000 [..............................] - ETA: 11s - loss: 0.1871 - acc: 1.0000
  736/60000 [..............................] - ETA: 4s - loss: 0.2948 - acc: 0.9524 
 1472/60000 [..............................] - ETA: 4s - loss: 0.2770 - acc: 0.9579
 2144/60000 [>.............................] - ETA: 4s - loss: 0.2707 - acc: 0.9580
 2816/60000 [>.............................] - ETA: 4s - loss: 0.2693 - acc: 0.9606
 3520/60000 [>.............................] - ETA: 4s - loss: 0.2735 - acc: 0.9588
 4288/60000 [=>............................] - ETA: 4s - loss: 0.2776 - acc: 0.9571
 4928/60000 [=>............................] - ETA: 4s - loss: 0.2794 - acc: 0.9576
 5568/60000 [=>............................] - ETA: 4s - loss: 0.2818 - acc: 0.9560
 6240/60000 [==>...........................] - ETA: 4s - loss: 0.2814 - acc: 0.9564
 6976/60000 [==>...........................] - ETA: 4s - loss: 0.2828 - acc: 0.9564
 7712/60000 [==>...........................] - ETA: 3s - loss: 0.2819 - acc: 0.9572
 8480/60000 [===>..........................] - ETA: 3s - loss: 0.2805 - acc: 0.9572
 9216/60000 [===>..........................] - ETA: 3s - loss: 0.2799 - acc: 0.9569
 9984/60000 [===>..........................] - ETA: 3s - loss: 0.2790 - acc: 0.9573
10688/60000 [====>.........................] - ETA: 3s - loss: 0.2781 - acc: 0.9576
11456/60000 [====>.........................] - ETA: 3s - loss: 0.2778 - acc: 0.9578
12160/60000 [=====>........................] - ETA: 3s - loss: 0.2793 - acc: 0.9577
12960/60000 [=====>........................] - ETA: 3s - loss: 0.2806 - acc: 0.9575
13696/60000 [=====>........................] - ETA: 3s - loss: 0.2794 - acc: 0.9579
14464/60000 [======>.......................] - ETA: 3s - loss: 0.2789 - acc: 0.9579
15232/60000 [======>.......................] - ETA: 3s - loss: 0.2797 - acc: 0.9576
15968/60000 [======>.......................] - ETA: 3s - loss: 0.2786 - acc: 0.9578
16672/60000 [=======>......................] - ETA: 3s - loss: 0.2780 - acc: 0.9578
17440/60000 [=======>......................] - ETA: 3s - loss: 0.2769 - acc: 0.9583
18208/60000 [========>.....................] - ETA: 2s - loss: 0.2763 - acc: 0.9583
19008/60000 [========>.....................] - ETA: 2s - loss: 0.2773 - acc: 0.9578
19520/60000 [========>.....................] - ETA: 2s - loss: 0.2771 - acc: 0.9578
20128/60000 [=========>....................] - ETA: 2s - loss: 0.2786 - acc: 0.9574
20832/60000 [=========>....................] - ETA: 2s - loss: 0.2784 - acc: 0.9575
21632/60000 [=========>....................] - ETA: 2s - loss: 0.2780 - acc: 0.9577
22432/60000 [==========>...................] - ETA: 2s - loss: 0.2772 - acc: 0.9578
23264/60000 [==========>...................] - ETA: 2s - loss: 0.2767 - acc: 0.9580
24000/60000 [===========>..................] - ETA: 2s - loss: 0.2766 - acc: 0.9577
24608/60000 [===========>..................] - ETA: 2s - loss: 0.2761 - acc: 0.9579
25056/60000 [===========>..................] - ETA: 2s - loss: 0.2759 - acc: 0.9580
25408/60000 [===========>..................] - ETA: 2s - loss: 0.2755 - acc: 0.9580
25856/60000 [===========>..................] - ETA: 2s - loss: 0.2754 - acc: 0.9579
26368/60000 [============>.................] - ETA: 2s - loss: 0.2751 - acc: 0.9581
26976/60000 [============>.................] - ETA: 2s - loss: 0.2752 - acc: 0.9580
27712/60000 [============>.................] - ETA: 2s - loss: 0.2742 - acc: 0.9582
28352/60000 [=============>................] - ETA: 2s - loss: 0.2735 - acc: 0.9585
29120/60000 [=============>................] - ETA: 2s - loss: 0.2738 - acc: 0.9582
29856/60000 [=============>................] - ETA: 2s - loss: 0.2735 - acc: 0.9583
30560/60000 [==============>...............] - ETA: 2s - loss: 0.2731 - acc: 0.9584
31360/60000 [==============>...............] - ETA: 2s - loss: 0.2733 - acc: 0.9583
32096/60000 [===============>..............] - ETA: 2s - loss: 0.2735 - acc: 0.9583
32928/60000 [===============>..............] - ETA: 2s - loss: 0.2730 - acc: 0.9582
33568/60000 [===============>..............] - ETA: 1s - loss: 0.2728 - acc: 0.9581
34048/60000 [================>.............] - ETA: 1s - loss: 0.2724 - acc: 0.9582
34464/60000 [================>.............] - ETA: 1s - loss: 0.2720 - acc: 0.9584
35104/60000 [================>.............] - ETA: 1s - loss: 0.2715 - acc: 0.9586
35872/60000 [================>.............] - ETA: 1s - loss: 0.2720 - acc: 0.9584
36128/60000 [=================>............] - ETA: 1s - loss: 0.2720 - acc: 0.9585
36512/60000 [=================>............] - ETA: 1s - loss: 0.2717 - acc: 0.9586
36992/60000 [=================>............] - ETA: 1s - loss: 0.2711 - acc: 0.9587
37536/60000 [=================>............] - ETA: 1s - loss: 0.2711 - acc: 0.9587
38048/60000 [==================>...........] - ETA: 1s - loss: 0.2710 - acc: 0.9587
38464/60000 [==================>...........] - ETA: 1s - loss: 0.2708 - acc: 0.9587
38944/60000 [==================>...........] - ETA: 1s - loss: 0.2708 - acc: 0.9587
39424/60000 [==================>...........] - ETA: 1s - loss: 0.2703 - acc: 0.9590
40096/60000 [===================>..........] - ETA: 1s - loss: 0.2704 - acc: 0.9588
40800/60000 [===================>..........] - ETA: 1s - loss: 0.2694 - acc: 0.9591
41536/60000 [===================>..........] - ETA: 1s - loss: 0.2692 - acc: 0.9591
42336/60000 [====================>.........] - ETA: 1s - loss: 0.2691 - acc: 0.9590
43168/60000 [====================>.........] - ETA: 1s - loss: 0.2687 - acc: 0.9593
43808/60000 [====================>.........] - ETA: 1s - loss: 0.2683 - acc: 0.9592
44288/60000 [=====================>........] - ETA: 1s - loss: 0.2685 - acc: 0.9592
44640/60000 [=====================>........] - ETA: 1s - loss: 0.2685 - acc: 0.9593
44928/60000 [=====================>........] - ETA: 1s - loss: 0.2681 - acc: 0.9594
45248/60000 [=====================>........] - ETA: 1s - loss: 0.2680 - acc: 0.9594
45792/60000 [=====================>........] - ETA: 1s - loss: 0.2678 - acc: 0.9594
46528/60000 [======================>.......] - ETA: 1s - loss: 0.2684 - acc: 0.9591
47168/60000 [======================>.......] - ETA: 1s - loss: 0.2685 - acc: 0.9591
47872/60000 [======================>.......] - ETA: 0s - loss: 0.2680 - acc: 0.9592
48576/60000 [=======================>......] - ETA: 0s - loss: 0.2681 - acc: 0.9592
49280/60000 [=======================>......] - ETA: 0s - loss: 0.2678 - acc: 0.9593
49984/60000 [=======================>......] - ETA: 0s - loss: 0.2673 - acc: 0.9594
50592/60000 [========================>.....] - ETA: 0s - loss: 0.2669 - acc: 0.9596
51296/60000 [========================>.....] - ETA: 0s - loss: 0.2665 - acc: 0.9597
52000/60000 [=========================>....] - ETA: 0s - loss: 0.2664 - acc: 0.9597
52736/60000 [=========================>....] - ETA: 0s - loss: 0.2657 - acc: 0.9599
53504/60000 [=========================>....] - ETA: 0s - loss: 0.2657 - acc: 0.9599
54240/60000 [==========================>...] - ETA: 0s - loss: 0.2651 - acc: 0.9600
54976/60000 [==========================>...] - ETA: 0s - loss: 0.2648 - acc: 0.9600
55456/60000 [==========================>...] - ETA: 0s - loss: 0.2644 - acc: 0.9601
55936/60000 [==========================>...] - ETA: 0s - loss: 0.2642 - acc: 0.9602
56384/60000 [===========================>..] - ETA: 0s - loss: 0.2641 - acc: 0.9602
56896/60000 [===========================>..] - ETA: 0s - loss: 0.2639 - acc: 0.9602
57472/60000 [===========================>..] - ETA: 0s - loss: 0.2635 - acc: 0.9603
58080/60000 [============================>.] - ETA: 0s - loss: 0.2631 - acc: 0.9604
58624/60000 [============================>.] - ETA: 0s - loss: 0.2627 - acc: 0.9605
59296/60000 [============================>.] - ETA: 0s - loss: 0.2623 - acc: 0.9605
59904/60000 [============================>.] - ETA: 0s - loss: 0.2621 - acc: 0.9605
60000/60000 [==============================] - 5s 81us/step - loss: 0.2622 - acc: 0.9605
Epoch 3/10

   32/60000 [..............................] - ETA: 7s - loss: 0.1551 - acc: 1.0000
  672/60000 [..............................] - ETA: 5s - loss: 0.2043 - acc: 0.9807
 1280/60000 [..............................] - ETA: 4s - loss: 0.2179 - acc: 0.9695
 1952/60000 [..............................] - ETA: 4s - loss: 0.2353 - acc: 0.9647
 2656/60000 [>.............................] - ETA: 4s - loss: 0.2343 - acc: 0.9665
 3328/60000 [>.............................] - ETA: 4s - loss: 0.2347 - acc: 0.9663
 4032/60000 [=>............................] - ETA: 4s - loss: 0.2346 - acc: 0.9663
 4672/60000 [=>............................] - ETA: 4s - loss: 0.2387 - acc: 0.9664
 5440/60000 [=>............................] - ETA: 4s - loss: 0.2358 - acc: 0.9669
 6144/60000 [==>...........................] - ETA: 4s - loss: 0.2354 - acc: 0.9665
 6880/60000 [==>...........................] - ETA: 4s - loss: 0.2311 - acc: 0.9674
 7488/60000 [==>...........................] - ETA: 4s - loss: 0.2305 - acc: 0.9674
 8160/60000 [===>..........................] - ETA: 3s - loss: 0.2284 - acc: 0.9678
 8768/60000 [===>..........................] - ETA: 3s - loss: 0.2268 - acc: 0.9686
 9440/60000 [===>..........................] - ETA: 3s - loss: 0.2257 - acc: 0.9691
10048/60000 [====>.........................] - ETA: 3s - loss: 0.2251 - acc: 0.9691
10624/60000 [====>.........................] - ETA: 3s - loss: 0.2243 - acc: 0.9693
11104/60000 [====>.........................] - ETA: 3s - loss: 0.2248 - acc: 0.9688
11680/60000 [====>.........................] - ETA: 3s - loss: 0.2232 - acc: 0.9693
12256/60000 [=====>........................] - ETA: 3s - loss: 0.2214 - acc: 0.9701
12864/60000 [=====>........................] - ETA: 3s - loss: 0.2207 - acc: 0.9704
13504/60000 [=====>........................] - ETA: 3s - loss: 0.2197 - acc: 0.9706
14272/60000 [======>.......................] - ETA: 3s - loss: 0.2217 - acc: 0.9706
14912/60000 [======>.......................] - ETA: 3s - loss: 0.2212 - acc: 0.9708
15648/60000 [======>.......................] - ETA: 3s - loss: 0.2192 - acc: 0.9716
16288/60000 [=======>......................] - ETA: 3s - loss: 0.2200 - acc: 0.9715
16928/60000 [=======>......................] - ETA: 3s - loss: 0.2206 - acc: 0.9713
17376/60000 [=======>......................] - ETA: 3s - loss: 0.2204 - acc: 0.9712
17888/60000 [=======>......................] - ETA: 3s - loss: 0.2195 - acc: 0.9717
18368/60000 [========>.....................] - ETA: 3s - loss: 0.2202 - acc: 0.9714
18720/60000 [========>.....................] - ETA: 3s - loss: 0.2201 - acc: 0.9713
19200/60000 [========>.....................] - ETA: 3s - loss: 0.2198 - acc: 0.9714
19776/60000 [========>.....................] - ETA: 3s - loss: 0.2197 - acc: 0.9712
20352/60000 [=========>....................] - ETA: 3s - loss: 0.2194 - acc: 0.9713
20928/60000 [=========>....................] - ETA: 3s - loss: 0.2208 - acc: 0.9708
21504/60000 [=========>....................] - ETA: 3s - loss: 0.2205 - acc: 0.9707
22016/60000 [==========>...................] - ETA: 3s - loss: 0.2211 - acc: 0.9706
22464/60000 [==========>...................] - ETA: 3s - loss: 0.2208 - acc: 0.9707
22848/60000 [==========>...................] - ETA: 3s - loss: 0.2207 - acc: 0.9707
23328/60000 [==========>...................] - ETA: 3s - loss: 0.2209 - acc: 0.9707
23840/60000 [==========>...................] - ETA: 3s - loss: 0.2212 - acc: 0.9707
24448/60000 [===========>..................] - ETA: 3s - loss: 0.2214 - acc: 0.9705
24928/60000 [===========>..................] - ETA: 3s - loss: 0.2212 - acc: 0.9705
25504/60000 [===========>..................] - ETA: 3s - loss: 0.2208 - acc: 0.9706
26112/60000 [============>.................] - ETA: 2s - loss: 0.2203 - acc: 0.9707
26656/60000 [============>.................] - ETA: 2s - loss: 0.2201 - acc: 0.9709
27136/60000 [============>.................] - ETA: 2s - loss: 0.2197 - acc: 0.9711
27680/60000 [============>.................] - ETA: 2s - loss: 0.2194 - acc: 0.9711
28224/60000 [=============>................] - ETA: 2s - loss: 0.2207 - acc: 0.9707
28704/60000 [=============>................] - ETA: 2s - loss: 0.2212 - acc: 0.9704
29216/60000 [=============>................] - ETA: 2s - loss: 0.2213 - acc: 0.9705
29792/60000 [=============>................] - ETA: 2s - loss: 0.2209 - acc: 0.9705
30336/60000 [==============>...............] - ETA: 2s - loss: 0.2204 - acc: 0.9707
30880/60000 [==============>...............] - ETA: 2s - loss: 0.2203 - acc: 0.9707
31392/60000 [==============>...............] - ETA: 2s - loss: 0.2198 - acc: 0.9710
32000/60000 [===============>..............] - ETA: 2s - loss: 0.2195 - acc: 0.9709
32608/60000 [===============>..............] - ETA: 2s - loss: 0.2200 - acc: 0.9707
33216/60000 [===============>..............] - ETA: 2s - loss: 0.2196 - acc: 0.9708
33792/60000 [===============>..............] - ETA: 2s - loss: 0.2195 - acc: 0.9708
34400/60000 [================>.............] - ETA: 2s - loss: 0.2195 - acc: 0.9707
34784/60000 [================>.............] - ETA: 2s - loss: 0.2193 - acc: 0.9707
35296/60000 [================>.............] - ETA: 2s - loss: 0.2193 - acc: 0.9707
35712/60000 [================>.............] - ETA: 2s - loss: 0.2190 - acc: 0.9708
36032/60000 [=================>............] - ETA: 2s - loss: 0.2189 - acc: 0.9709
36384/60000 [=================>............] - ETA: 2s - loss: 0.2192 - acc: 0.9708
36992/60000 [=================>............] - ETA: 2s - loss: 0.2190 - acc: 0.9708
37600/60000 [=================>............] - ETA: 2s - loss: 0.2190 - acc: 0.9706
38336/60000 [==================>...........] - ETA: 1s - loss: 0.2188 - acc: 0.9708
38784/60000 [==================>...........] - ETA: 1s - loss: 0.2195 - acc: 0.9707
39328/60000 [==================>...........] - ETA: 1s - loss: 0.2201 - acc: 0.9705
39904/60000 [==================>...........] - ETA: 1s - loss: 0.2199 - acc: 0.9705
40512/60000 [===================>..........] - ETA: 1s - loss: 0.2198 - acc: 0.9704
40832/60000 [===================>..........] - ETA: 1s - loss: 0.2200 - acc: 0.9704
41312/60000 [===================>..........] - ETA: 1s - loss: 0.2197 - acc: 0.9705
41824/60000 [===================>..........] - ETA: 1s - loss: 0.2197 - acc: 0.9704
42336/60000 [====================>.........] - ETA: 1s - loss: 0.2201 - acc: 0.9702
42912/60000 [====================>.........] - ETA: 1s - loss: 0.2196 - acc: 0.9703
43680/60000 [====================>.........] - ETA: 1s - loss: 0.2196 - acc: 0.9702
44384/60000 [=====================>........] - ETA: 1s - loss: 0.2195 - acc: 0.9701
45088/60000 [=====================>........] - ETA: 1s - loss: 0.2201 - acc: 0.9699
45664/60000 [=====================>........] - ETA: 1s - loss: 0.2197 - acc: 0.9700
46336/60000 [======================>.......] - ETA: 1s - loss: 0.2201 - acc: 0.9699
47040/60000 [======================>.......] - ETA: 1s - loss: 0.2205 - acc: 0.9697
47680/60000 [======================>.......] - ETA: 1s - loss: 0.2201 - acc: 0.9698
48256/60000 [=======================>......] - ETA: 1s - loss: 0.2199 - acc: 0.9698
48928/60000 [=======================>......] - ETA: 1s - loss: 0.2199 - acc: 0.9698
49568/60000 [=======================>......] - ETA: 0s - loss: 0.2199 - acc: 0.9699
50144/60000 [========================>.....] - ETA: 0s - loss: 0.2197 - acc: 0.9699
50784/60000 [========================>.....] - ETA: 0s - loss: 0.2199 - acc: 0.9698
51488/60000 [========================>.....] - ETA: 0s - loss: 0.2200 - acc: 0.9698
52160/60000 [=========================>....] - ETA: 0s - loss: 0.2199 - acc: 0.9698
52864/60000 [=========================>....] - ETA: 0s - loss: 0.2199 - acc: 0.9698
53504/60000 [=========================>....] - ETA: 0s - loss: 0.2198 - acc: 0.9698
54016/60000 [==========================>...] - ETA: 0s - loss: 0.2198 - acc: 0.9697
54368/60000 [==========================>...] - ETA: 0s - loss: 0.2199 - acc: 0.9696
54752/60000 [==========================>...] - ETA: 0s - loss: 0.2201 - acc: 0.9696
55168/60000 [==========================>...] - ETA: 0s - loss: 0.2201 - acc: 0.9695
55712/60000 [==========================>...] - ETA: 0s - loss: 0.2202 - acc: 0.9695
56320/60000 [===========================>..] - ETA: 0s - loss: 0.2200 - acc: 0.9695
56864/60000 [===========================>..] - ETA: 0s - loss: 0.2199 - acc: 0.9695
57280/60000 [===========================>..] - ETA: 0s - loss: 0.2203 - acc: 0.9694
57760/60000 [===========================>..] - ETA: 0s - loss: 0.2203 - acc: 0.9693
58272/60000 [============================>.] - ETA: 0s - loss: 0.2200 - acc: 0.9694
58848/60000 [============================>.] - ETA: 0s - loss: 0.2199 - acc: 0.9695
59360/60000 [============================>.] - ETA: 0s - loss: 0.2198 - acc: 0.9695
60000/60000 [==============================] - 5s 91us/step - loss: 0.2197 - acc: 0.9695
Epoch 4/10

   32/60000 [..............................] - ETA: 13s - loss: 0.1632 - acc: 1.0000
  608/60000 [..............................] - ETA: 5s - loss: 0.1951 - acc: 0.9704 
 1248/60000 [..............................] - ETA: 5s - loss: 0.1956 - acc: 0.9704
 1888/60000 [..............................] - ETA: 4s - loss: 0.1864 - acc: 0.9735
 2528/60000 [>.............................] - ETA: 4s - loss: 0.1912 - acc: 0.9727
 3200/60000 [>.............................] - ETA: 4s - loss: 0.1865 - acc: 0.9747
 3968/60000 [>.............................] - ETA: 4s - loss: 0.1918 - acc: 0.9738
 4640/60000 [=>............................] - ETA: 4s - loss: 0.1905 - acc: 0.9748
 5280/60000 [=>............................] - ETA: 4s - loss: 0.1932 - acc: 0.9737
 5888/60000 [=>............................] - ETA: 4s - loss: 0.1929 - acc: 0.9737
 6528/60000 [==>...........................] - ETA: 4s - loss: 0.1942 - acc: 0.9735
 7136/60000 [==>...........................] - ETA: 4s - loss: 0.1928 - acc: 0.9745
 7776/60000 [==>...........................] - ETA: 4s - loss: 0.1922 - acc: 0.9752
 8320/60000 [===>..........................] - ETA: 4s - loss: 0.1928 - acc: 0.9752
 8960/60000 [===>..........................] - ETA: 4s - loss: 0.1936 - acc: 0.9749
 9568/60000 [===>..........................] - ETA: 4s - loss: 0.1963 - acc: 0.9740
10368/60000 [====>.........................] - ETA: 3s - loss: 0.1959 - acc: 0.9746
10976/60000 [====>.........................] - ETA: 3s - loss: 0.1951 - acc: 0.9747
11584/60000 [====>.........................] - ETA: 3s - loss: 0.1952 - acc: 0.9746
12320/60000 [=====>........................] - ETA: 3s - loss: 0.1952 - acc: 0.9745
13024/60000 [=====>........................] - ETA: 3s - loss: 0.1960 - acc: 0.9744
13632/60000 [=====>........................] - ETA: 3s - loss: 0.1955 - acc: 0.9746
14368/60000 [======>.......................] - ETA: 3s - loss: 0.1945 - acc: 0.9750
14784/60000 [======>.......................] - ETA: 3s - loss: 0.1951 - acc: 0.9750
15136/60000 [======>.......................] - ETA: 3s - loss: 0.1960 - acc: 0.9748
15584/60000 [======>.......................] - ETA: 3s - loss: 0.1960 - acc: 0.9748
16128/60000 [=======>......................] - ETA: 3s - loss: 0.1948 - acc: 0.9751
16608/60000 [=======>......................] - ETA: 3s - loss: 0.1950 - acc: 0.9749
17088/60000 [=======>......................] - ETA: 3s - loss: 0.1950 - acc: 0.9749
17536/60000 [=======>......................] - ETA: 3s - loss: 0.1967 - acc: 0.9746
18016/60000 [========>.....................] - ETA: 3s - loss: 0.1974 - acc: 0.9743
18432/60000 [========>.....................] - ETA: 3s - loss: 0.1980 - acc: 0.9741
19008/60000 [========>.....................] - ETA: 3s - loss: 0.1971 - acc: 0.9743
19520/60000 [========>.....................] - ETA: 3s - loss: 0.1968 - acc: 0.9744
20224/60000 [=========>....................] - ETA: 3s - loss: 0.1968 - acc: 0.9746
20864/60000 [=========>....................] - ETA: 3s - loss: 0.1968 - acc: 0.9744
21536/60000 [=========>....................] - ETA: 3s - loss: 0.1963 - acc: 0.9745
21952/60000 [=========>....................] - ETA: 3s - loss: 0.1963 - acc: 0.9746
22432/60000 [==========>...................] - ETA: 3s - loss: 0.1962 - acc: 0.9747
22944/60000 [==========>...................] - ETA: 3s - loss: 0.1967 - acc: 0.9747
23552/60000 [==========>...................] - ETA: 3s - loss: 0.1968 - acc: 0.9745
24192/60000 [===========>..................] - ETA: 3s - loss: 0.1965 - acc: 0.9745
24896/60000 [===========>..................] - ETA: 3s - loss: 0.1955 - acc: 0.9747
25568/60000 [===========>..................] - ETA: 3s - loss: 0.1955 - acc: 0.9748
26240/60000 [============>.................] - ETA: 2s - loss: 0.1956 - acc: 0.9748
26848/60000 [============>.................] - ETA: 2s - loss: 0.1958 - acc: 0.9746
27552/60000 [============>.................] - ETA: 2s - loss: 0.1968 - acc: 0.9744
28096/60000 [=============>................] - ETA: 2s - loss: 0.1962 - acc: 0.9746
28352/60000 [=============>................] - ETA: 2s - loss: 0.1966 - acc: 0.9746
28704/60000 [=============>................] - ETA: 2s - loss: 0.1967 - acc: 0.9745
29056/60000 [=============>................] - ETA: 2s - loss: 0.1966 - acc: 0.9745
29536/60000 [=============>................] - ETA: 2s - loss: 0.1960 - acc: 0.9748
30112/60000 [==============>...............] - ETA: 2s - loss: 0.1954 - acc: 0.9750
30720/60000 [==============>...............] - ETA: 2s - loss: 0.1953 - acc: 0.9750
31328/60000 [==============>...............] - ETA: 2s - loss: 0.1950 - acc: 0.9750
32064/60000 [===============>..............] - ETA: 2s - loss: 0.1950 - acc: 0.9748
32736/60000 [===============>..............] - ETA: 2s - loss: 0.1950 - acc: 0.9749
33504/60000 [===============>..............] - ETA: 2s - loss: 0.1948 - acc: 0.9749
34240/60000 [================>.............] - ETA: 2s - loss: 0.1948 - acc: 0.9749
34976/60000 [================>.............] - ETA: 2s - loss: 0.1953 - acc: 0.9748
35744/60000 [================>.............] - ETA: 2s - loss: 0.1954 - acc: 0.9747
36480/60000 [=================>............] - ETA: 2s - loss: 0.1949 - acc: 0.9748
37152/60000 [=================>............] - ETA: 1s - loss: 0.1951 - acc: 0.9748
37856/60000 [=================>............] - ETA: 1s - loss: 0.1950 - acc: 0.9748
38624/60000 [==================>...........] - ETA: 1s - loss: 0.1949 - acc: 0.9748
39296/60000 [==================>...........] - ETA: 1s - loss: 0.1948 - acc: 0.9748
39904/60000 [==================>...........] - ETA: 1s - loss: 0.1948 - acc: 0.9746
40448/60000 [===================>..........] - ETA: 1s - loss: 0.1947 - acc: 0.9746
41152/60000 [===================>..........] - ETA: 1s - loss: 0.1947 - acc: 0.9746
41984/60000 [===================>..........] - ETA: 1s - loss: 0.1946 - acc: 0.9745
42688/60000 [====================>.........] - ETA: 1s - loss: 0.1948 - acc: 0.9744
43360/60000 [====================>.........] - ETA: 1s - loss: 0.1943 - acc: 0.9745
44096/60000 [=====================>........] - ETA: 1s - loss: 0.1943 - acc: 0.9745
44832/60000 [=====================>........] - ETA: 1s - loss: 0.1940 - acc: 0.9746
45568/60000 [=====================>........] - ETA: 1s - loss: 0.1938 - acc: 0.9747
46304/60000 [======================>.......] - ETA: 1s - loss: 0.1940 - acc: 0.9746
47072/60000 [======================>.......] - ETA: 1s - loss: 0.1945 - acc: 0.9744
47776/60000 [======================>.......] - ETA: 1s - loss: 0.1942 - acc: 0.9744
48352/60000 [=======================>......] - ETA: 0s - loss: 0.1944 - acc: 0.9742
48672/60000 [=======================>......] - ETA: 0s - loss: 0.1943 - acc: 0.9743
49120/60000 [=======================>......] - ETA: 0s - loss: 0.1941 - acc: 0.9743
49536/60000 [=======================>......] - ETA: 0s - loss: 0.1939 - acc: 0.9744
50080/60000 [========================>.....] - ETA: 0s - loss: 0.1939 - acc: 0.9744
50688/60000 [========================>.....] - ETA: 0s - loss: 0.1937 - acc: 0.9745
51392/60000 [========================>.....] - ETA: 0s - loss: 0.1938 - acc: 0.9744
52096/60000 [=========================>....] - ETA: 0s - loss: 0.1939 - acc: 0.9743
52640/60000 [=========================>....] - ETA: 0s - loss: 0.1941 - acc: 0.9742
53312/60000 [=========================>....] - ETA: 0s - loss: 0.1941 - acc: 0.9742
54016/60000 [==========================>...] - ETA: 0s - loss: 0.1941 - acc: 0.9742
54720/60000 [==========================>...] - ETA: 0s - loss: 0.1941 - acc: 0.9741
55360/60000 [==========================>...] - ETA: 0s - loss: 0.1941 - acc: 0.9741
56064/60000 [===========================>..] - ETA: 0s - loss: 0.1942 - acc: 0.9740
56800/60000 [===========================>..] - ETA: 0s - loss: 0.1944 - acc: 0.9738
57536/60000 [===========================>..] - ETA: 0s - loss: 0.1946 - acc: 0.9739
58176/60000 [============================>.] - ETA: 0s - loss: 0.1946 - acc: 0.9738
58976/60000 [============================>.] - ETA: 0s - loss: 0.1948 - acc: 0.9737
59680/60000 [============================>.] - ETA: 0s - loss: 0.1948 - acc: 0.9736
60000/60000 [==============================] - 5s 83us/step - loss: 0.1947 - acc: 0.9736
Epoch 5/10

   32/60000 [..............................] - ETA: 9s - loss: 0.1403 - acc: 1.0000
  544/60000 [..............................] - ETA: 6s - loss: 0.1445 - acc: 0.9945
 1216/60000 [..............................] - ETA: 5s - loss: 0.1739 - acc: 0.9803
 1952/60000 [..............................] - ETA: 4s - loss: 0.1700 - acc: 0.9800
 2688/60000 [>.............................] - ETA: 4s - loss: 0.1673 - acc: 0.9814
 3392/60000 [>.............................] - ETA: 4s - loss: 0.1696 - acc: 0.9800
 4000/60000 [=>............................] - ETA: 4s - loss: 0.1666 - acc: 0.9812
 4736/60000 [=>............................] - ETA: 4s - loss: 0.1714 - acc: 0.9793
 5536/60000 [=>............................] - ETA: 4s - loss: 0.1698 - acc: 0.9796
 6240/60000 [==>...........................] - ETA: 4s - loss: 0.1709 - acc: 0.9792
 6976/60000 [==>...........................] - ETA: 3s - loss: 0.1715 - acc: 0.9789
 7648/60000 [==>...........................] - ETA: 3s - loss: 0.1711 - acc: 0.9784
 8384/60000 [===>..........................] - ETA: 3s - loss: 0.1732 - acc: 0.9779
 9056/60000 [===>..........................] - ETA: 3s - loss: 0.1745 - acc: 0.9771
 9696/60000 [===>..........................] - ETA: 3s - loss: 0.1739 - acc: 0.9774
10464/60000 [====>.........................] - ETA: 3s - loss: 0.1740 - acc: 0.9775
11264/60000 [====>.........................] - ETA: 3s - loss: 0.1755 - acc: 0.9770
11968/60000 [====>.........................] - ETA: 3s - loss: 0.1770 - acc: 0.9764
12736/60000 [=====>........................] - ETA: 3s - loss: 0.1758 - acc: 0.9772
13536/60000 [=====>........................] - ETA: 3s - loss: 0.1756 - acc: 0.9772
14304/60000 [======>.......................] - ETA: 3s - loss: 0.1750 - acc: 0.9775
14944/60000 [======>.......................] - ETA: 3s - loss: 0.1742 - acc: 0.9781
15616/60000 [======>.......................] - ETA: 3s - loss: 0.1741 - acc: 0.9780
16352/60000 [=======>......................] - ETA: 3s - loss: 0.1752 - acc: 0.9776
17088/60000 [=======>......................] - ETA: 3s - loss: 0.1747 - acc: 0.9778
17760/60000 [=======>......................] - ETA: 3s - loss: 0.1747 - acc: 0.9778
18496/60000 [========>.....................] - ETA: 3s - loss: 0.1744 - acc: 0.9779
19232/60000 [========>.....................] - ETA: 2s - loss: 0.1746 - acc: 0.9778
19936/60000 [========>.....................] - ETA: 2s - loss: 0.1747 - acc: 0.9779
20672/60000 [=========>....................] - ETA: 2s - loss: 0.1755 - acc: 0.9778
21376/60000 [=========>....................] - ETA: 2s - loss: 0.1760 - acc: 0.9774
22016/60000 [==========>...................] - ETA: 2s - loss: 0.1761 - acc: 0.9772
22752/60000 [==========>...................] - ETA: 2s - loss: 0.1761 - acc: 0.9771
23424/60000 [==========>...................] - ETA: 2s - loss: 0.1769 - acc: 0.9769
24096/60000 [===========>..................] - ETA: 2s - loss: 0.1767 - acc: 0.9770
24736/60000 [===========>..................] - ETA: 2s - loss: 0.1764 - acc: 0.9772
25440/60000 [===========>..................] - ETA: 2s - loss: 0.1768 - acc: 0.9771
26080/60000 [============>.................] - ETA: 2s - loss: 0.1770 - acc: 0.9771
26752/60000 [============>.................] - ETA: 2s - loss: 0.1770 - acc: 0.9772
27424/60000 [============>.................] - ETA: 2s - loss: 0.1778 - acc: 0.9771
27968/60000 [============>.................] - ETA: 2s - loss: 0.1777 - acc: 0.9771
28672/60000 [=============>................] - ETA: 2s - loss: 0.1772 - acc: 0.9774
29344/60000 [=============>................] - ETA: 2s - loss: 0.1777 - acc: 0.9770
29984/60000 [=============>................] - ETA: 2s - loss: 0.1781 - acc: 0.9768
30656/60000 [==============>...............] - ETA: 2s - loss: 0.1776 - acc: 0.9769
31296/60000 [==============>...............] - ETA: 2s - loss: 0.1779 - acc: 0.9768
31968/60000 [==============>...............] - ETA: 2s - loss: 0.1777 - acc: 0.9769
32640/60000 [===============>..............] - ETA: 2s - loss: 0.1773 - acc: 0.9770
33280/60000 [===============>..............] - ETA: 1s - loss: 0.1769 - acc: 0.9771
33984/60000 [===============>..............] - ETA: 1s - loss: 0.1773 - acc: 0.9769
34656/60000 [================>.............] - ETA: 1s - loss: 0.1769 - acc: 0.9770
35296/60000 [================>.............] - ETA: 1s - loss: 0.1775 - acc: 0.9769
35904/60000 [================>.............] - ETA: 1s - loss: 0.1775 - acc: 0.9768
36544/60000 [=================>............] - ETA: 1s - loss: 0.1779 - acc: 0.9767
37216/60000 [=================>............] - ETA: 1s - loss: 0.1781 - acc: 0.9765
37824/60000 [=================>............] - ETA: 1s - loss: 0.1781 - acc: 0.9766
38496/60000 [==================>...........] - ETA: 1s - loss: 0.1783 - acc: 0.9767
39200/60000 [==================>...........] - ETA: 1s - loss: 0.1784 - acc: 0.9767
39904/60000 [==================>...........] - ETA: 1s - loss: 0.1782 - acc: 0.9768
40480/60000 [===================>..........] - ETA: 1s - loss: 0.1786 - acc: 0.9766
41120/60000 [===================>..........] - ETA: 1s - loss: 0.1789 - acc: 0.9765
41792/60000 [===================>..........] - ETA: 1s - loss: 0.1783 - acc: 0.9767
42432/60000 [====================>.........] - ETA: 1s - loss: 0.1784 - acc: 0.9766
42976/60000 [====================>.........] - ETA: 1s - loss: 0.1785 - acc: 0.9766
43648/60000 [====================>.........] - ETA: 1s - loss: 0.1790 - acc: 0.9763
44288/60000 [=====================>........] - ETA: 1s - loss: 0.1792 - acc: 0.9762
44992/60000 [=====================>........] - ETA: 1s - loss: 0.1796 - acc: 0.9761
45600/60000 [=====================>........] - ETA: 1s - loss: 0.1794 - acc: 0.9761
46272/60000 [======================>.......] - ETA: 1s - loss: 0.1797 - acc: 0.9761
46912/60000 [======================>.......] - ETA: 0s - loss: 0.1800 - acc: 0.9759
47616/60000 [======================>.......] - ETA: 0s - loss: 0.1801 - acc: 0.9759
48192/60000 [=======================>......] - ETA: 0s - loss: 0.1801 - acc: 0.9759
48896/60000 [=======================>......] - ETA: 0s - loss: 0.1803 - acc: 0.9758
49536/60000 [=======================>......] - ETA: 0s - loss: 0.1807 - acc: 0.9758
50208/60000 [========================>.....] - ETA: 0s - loss: 0.1803 - acc: 0.9760
50816/60000 [========================>.....] - ETA: 0s - loss: 0.1802 - acc: 0.9760
51520/60000 [========================>.....] - ETA: 0s - loss: 0.1802 - acc: 0.9760
52192/60000 [=========================>....] - ETA: 0s - loss: 0.1802 - acc: 0.9760
52832/60000 [=========================>....] - ETA: 0s - loss: 0.1804 - acc: 0.9760
53408/60000 [=========================>....] - ETA: 0s - loss: 0.1803 - acc: 0.9760
54080/60000 [==========================>...] - ETA: 0s - loss: 0.1806 - acc: 0.9759
54688/60000 [==========================>...] - ETA: 0s - loss: 0.1807 - acc: 0.9758
55328/60000 [==========================>...] - ETA: 0s - loss: 0.1809 - acc: 0.9757
55872/60000 [==========================>...] - ETA: 0s - loss: 0.1808 - acc: 0.9757
56512/60000 [===========================>..] - ETA: 0s - loss: 0.1807 - acc: 0.9758
57184/60000 [===========================>..] - ETA: 0s - loss: 0.1804 - acc: 0.9759
57856/60000 [===========================>..] - ETA: 0s - loss: 0.1804 - acc: 0.9758
58496/60000 [============================>.] - ETA: 0s - loss: 0.1801 - acc: 0.9759
59104/60000 [============================>.] - ETA: 0s - loss: 0.1800 - acc: 0.9759
59776/60000 [============================>.] - ETA: 0s - loss: 0.1800 - acc: 0.9758
60000/60000 [==============================] - 5s 77us/step - loss: 0.1800 - acc: 0.9758
Epoch 6/10

   32/60000 [..............................] - ETA: 9s - loss: 0.2594 - acc: 0.9688
  576/60000 [..............................] - ETA: 5s - loss: 0.1986 - acc: 0.9722
 1216/60000 [..............................] - ETA: 5s - loss: 0.1819 - acc: 0.9762
 1792/60000 [..............................] - ETA: 5s - loss: 0.1811 - acc: 0.9738
 2464/60000 [>.............................] - ETA: 4s - loss: 0.1732 - acc: 0.9756
 3072/60000 [>.............................] - ETA: 4s - loss: 0.1705 - acc: 0.9769
 3680/60000 [>.............................] - ETA: 4s - loss: 0.1691 - acc: 0.9772
 4384/60000 [=>............................] - ETA: 4s - loss: 0.1675 - acc: 0.9774
 4992/60000 [=>............................] - ETA: 4s - loss: 0.1655 - acc: 0.9782
 5440/60000 [=>............................] - ETA: 4s - loss: 0.1642 - acc: 0.9787
 6080/60000 [==>...........................] - ETA: 4s - loss: 0.1644 - acc: 0.9785
 6752/60000 [==>...........................] - ETA: 4s - loss: 0.1620 - acc: 0.9796
 7456/60000 [==>...........................] - ETA: 4s - loss: 0.1620 - acc: 0.9791
 8096/60000 [===>..........................] - ETA: 4s - loss: 0.1647 - acc: 0.9781
 8672/60000 [===>..........................] - ETA: 4s - loss: 0.1643 - acc: 0.9786
 9344/60000 [===>..........................] - ETA: 4s - loss: 0.1649 - acc: 0.9789
10016/60000 [====>.........................] - ETA: 4s - loss: 0.1660 - acc: 0.9788
10720/60000 [====>.........................] - ETA: 4s - loss: 0.1658 - acc: 0.9792
11360/60000 [====>.........................] - ETA: 3s - loss: 0.1662 - acc: 0.9788
12032/60000 [=====>........................] - ETA: 3s - loss: 0.1655 - acc: 0.9794
12736/60000 [=====>........................] - ETA: 3s - loss: 0.1656 - acc: 0.9795
13344/60000 [=====>........................] - ETA: 3s - loss: 0.1645 - acc: 0.9799
13920/60000 [=====>........................] - ETA: 3s - loss: 0.1637 - acc: 0.9802
14560/60000 [======>.......................] - ETA: 3s - loss: 0.1637 - acc: 0.9799
15168/60000 [======>.......................] - ETA: 3s - loss: 0.1635 - acc: 0.9800
15840/60000 [======>.......................] - ETA: 3s - loss: 0.1644 - acc: 0.9801
16416/60000 [=======>......................] - ETA: 3s - loss: 0.1642 - acc: 0.9801
17152/60000 [=======>......................] - ETA: 3s - loss: 0.1645 - acc: 0.9801
17664/60000 [=======>......................] - ETA: 3s - loss: 0.1656 - acc: 0.9797
18304/60000 [========>.....................] - ETA: 3s - loss: 0.1666 - acc: 0.9796
18912/60000 [========>.....................] - ETA: 3s - loss: 0.1678 - acc: 0.9793
19616/60000 [========>.....................] - ETA: 3s - loss: 0.1675 - acc: 0.9794
20224/60000 [=========>....................] - ETA: 3s - loss: 0.1677 - acc: 0.9793
20768/60000 [=========>....................] - ETA: 3s - loss: 0.1669 - acc: 0.9795
21248/60000 [=========>....................] - ETA: 3s - loss: 0.1670 - acc: 0.9794
21920/60000 [=========>....................] - ETA: 3s - loss: 0.1671 - acc: 0.9795
22528/60000 [==========>...................] - ETA: 3s - loss: 0.1675 - acc: 0.9794
23200/60000 [==========>...................] - ETA: 3s - loss: 0.1673 - acc: 0.9795
23840/60000 [==========>...................] - ETA: 2s - loss: 0.1683 - acc: 0.9793
24512/60000 [===========>..................] - ETA: 2s - loss: 0.1688 - acc: 0.9790
25152/60000 [===========>..................] - ETA: 2s - loss: 0.1680 - acc: 0.9793
25856/60000 [===========>..................] - ETA: 2s - loss: 0.1681 - acc: 0.9790
26496/60000 [============>.................] - ETA: 2s - loss: 0.1687 - acc: 0.9788
27168/60000 [============>.................] - ETA: 2s - loss: 0.1683 - acc: 0.9789
27776/60000 [============>.................] - ETA: 2s - loss: 0.1682 - acc: 0.9789
28480/60000 [=============>................] - ETA: 2s - loss: 0.1690 - acc: 0.9787
29152/60000 [=============>................] - ETA: 2s - loss: 0.1687 - acc: 0.9788
29792/60000 [=============>................] - ETA: 2s - loss: 0.1690 - acc: 0.9786
30400/60000 [==============>...............] - ETA: 2s - loss: 0.1696 - acc: 0.9783
31040/60000 [==============>...............] - ETA: 2s - loss: 0.1693 - acc: 0.9784
31648/60000 [==============>...............] - ETA: 2s - loss: 0.1690 - acc: 0.9785
32352/60000 [===============>..............] - ETA: 2s - loss: 0.1691 - acc: 0.9784
32992/60000 [===============>..............] - ETA: 2s - loss: 0.1693 - acc: 0.9783
33664/60000 [===============>..............] - ETA: 2s - loss: 0.1686 - acc: 0.9785
34272/60000 [================>.............] - ETA: 2s - loss: 0.1683 - acc: 0.9786
34944/60000 [================>.............] - ETA: 2s - loss: 0.1677 - acc: 0.9788
35616/60000 [================>.............] - ETA: 1s - loss: 0.1677 - acc: 0.9788
36288/60000 [=================>............] - ETA: 1s - loss: 0.1677 - acc: 0.9786
36928/60000 [=================>............] - ETA: 1s - loss: 0.1682 - acc: 0.9785
37568/60000 [=================>............] - ETA: 1s - loss: 0.1685 - acc: 0.9784
38240/60000 [==================>...........] - ETA: 1s - loss: 0.1685 - acc: 0.9782
38912/60000 [==================>...........] - ETA: 1s - loss: 0.1682 - acc: 0.9784
39520/60000 [==================>...........] - ETA: 1s - loss: 0.1685 - acc: 0.9783
40192/60000 [===================>..........] - ETA: 1s - loss: 0.1685 - acc: 0.9784
40896/60000 [===================>..........] - ETA: 1s - loss: 0.1689 - acc: 0.9782
41632/60000 [===================>..........] - ETA: 1s - loss: 0.1688 - acc: 0.9782
42272/60000 [====================>.........] - ETA: 1s - loss: 0.1695 - acc: 0.9779
42880/60000 [====================>.........] - ETA: 1s - loss: 0.1695 - acc: 0.9779
43552/60000 [====================>.........] - ETA: 1s - loss: 0.1696 - acc: 0.9778
44192/60000 [=====================>........] - ETA: 1s - loss: 0.1698 - acc: 0.9778
44864/60000 [=====================>........] - ETA: 1s - loss: 0.1700 - acc: 0.9777
45504/60000 [=====================>........] - ETA: 1s - loss: 0.1701 - acc: 0.9776
46144/60000 [======================>.......] - ETA: 1s - loss: 0.1697 - acc: 0.9777
46816/60000 [======================>.......] - ETA: 1s - loss: 0.1697 - acc: 0.9777
47456/60000 [======================>.......] - ETA: 1s - loss: 0.1697 - acc: 0.9777
48160/60000 [=======================>......] - ETA: 0s - loss: 0.1695 - acc: 0.9777
48832/60000 [=======================>......] - ETA: 0s - loss: 0.1695 - acc: 0.9777
49472/60000 [=======================>......] - ETA: 0s - loss: 0.1691 - acc: 0.9778
50144/60000 [========================>.....] - ETA: 0s - loss: 0.1689 - acc: 0.9778
50720/60000 [========================>.....] - ETA: 0s - loss: 0.1688 - acc: 0.9778
51392/60000 [========================>.....] - ETA: 0s - loss: 0.1690 - acc: 0.9777
52064/60000 [=========================>....] - ETA: 0s - loss: 0.1690 - acc: 0.9777
52640/60000 [=========================>....] - ETA: 0s - loss: 0.1689 - acc: 0.9777
53312/60000 [=========================>....] - ETA: 0s - loss: 0.1690 - acc: 0.9777
54016/60000 [==========================>...] - ETA: 0s - loss: 0.1695 - acc: 0.9775
54688/60000 [==========================>...] - ETA: 0s - loss: 0.1698 - acc: 0.9774
55296/60000 [==========================>...] - ETA: 0s - loss: 0.1701 - acc: 0.9774
55872/60000 [==========================>...] - ETA: 0s - loss: 0.1704 - acc: 0.9772
56512/60000 [===========================>..] - ETA: 0s - loss: 0.1704 - acc: 0.9772
57120/60000 [===========================>..] - ETA: 0s - loss: 0.1705 - acc: 0.9772
57696/60000 [===========================>..] - ETA: 0s - loss: 0.1702 - acc: 0.9773
58272/60000 [============================>.] - ETA: 0s - loss: 0.1702 - acc: 0.9772
58912/60000 [============================>.] - ETA: 0s - loss: 0.1697 - acc: 0.9774
59584/60000 [============================>.] - ETA: 0s - loss: 0.1698 - acc: 0.9774
60000/60000 [==============================] - 5s 81us/step - loss: 0.1697 - acc: 0.9774
Epoch 7/10

   32/60000 [..............................] - ETA: 9s - loss: 0.1269 - acc: 1.0000
  672/60000 [..............................] - ETA: 5s - loss: 0.1435 - acc: 0.9851
 1280/60000 [..............................] - ETA: 4s - loss: 0.1376 - acc: 0.9875
 1952/60000 [..............................] - ETA: 4s - loss: 0.1355 - acc: 0.9903
 2528/60000 [>.............................] - ETA: 4s - loss: 0.1402 - acc: 0.9881
 3200/60000 [>.............................] - ETA: 4s - loss: 0.1403 - acc: 0.9875
 3808/60000 [>.............................] - ETA: 4s - loss: 0.1437 - acc: 0.9861
 4480/60000 [=>............................] - ETA: 4s - loss: 0.1480 - acc: 0.9844
 5152/60000 [=>............................] - ETA: 4s - loss: 0.1515 - acc: 0.9833
 5824/60000 [=>............................] - ETA: 4s - loss: 0.1511 - acc: 0.9828
 6464/60000 [==>...........................] - ETA: 4s - loss: 0.1549 - acc: 0.9816
 7104/60000 [==>...........................] - ETA: 4s - loss: 0.1537 - acc: 0.9818
 7712/60000 [==>...........................] - ETA: 4s - loss: 0.1548 - acc: 0.9815
 8416/60000 [===>..........................] - ETA: 4s - loss: 0.1551 - acc: 0.9812
 9024/60000 [===>..........................] - ETA: 4s - loss: 0.1543 - acc: 0.9817
 9696/60000 [===>..........................] - ETA: 4s - loss: 0.1549 - acc: 0.9817
10304/60000 [====>.........................] - ETA: 3s - loss: 0.1541 - acc: 0.9822
11008/60000 [====>.........................] - ETA: 3s - loss: 0.1538 - acc: 0.9825
11648/60000 [====>.........................] - ETA: 3s - loss: 0.1538 - acc: 0.9821
12320/60000 [=====>........................] - ETA: 3s - loss: 0.1545 - acc: 0.9819
12960/60000 [=====>........................] - ETA: 3s - loss: 0.1536 - acc: 0.9823
13664/60000 [=====>........................] - ETA: 3s - loss: 0.1541 - acc: 0.9821
14304/60000 [======>.......................] - ETA: 3s - loss: 0.1537 - acc: 0.9821
14976/60000 [======>.......................] - ETA: 3s - loss: 0.1538 - acc: 0.9822
15616/60000 [======>.......................] - ETA: 3s - loss: 0.1543 - acc: 0.9820
16288/60000 [=======>......................] - ETA: 3s - loss: 0.1538 - acc: 0.9822
16864/60000 [=======>......................] - ETA: 3s - loss: 0.1539 - acc: 0.9822
17504/60000 [=======>......................] - ETA: 3s - loss: 0.1537 - acc: 0.9822
18176/60000 [========>.....................] - ETA: 3s - loss: 0.1542 - acc: 0.9819
18848/60000 [========>.....................] - ETA: 3s - loss: 0.1546 - acc: 0.9817
19488/60000 [========>.....................] - ETA: 3s - loss: 0.1555 - acc: 0.9814
20096/60000 [=========>....................] - ETA: 3s - loss: 0.1557 - acc: 0.9811
20768/60000 [=========>....................] - ETA: 3s - loss: 0.1559 - acc: 0.9811
21440/60000 [=========>....................] - ETA: 3s - loss: 0.1559 - acc: 0.9812
22016/60000 [==========>...................] - ETA: 3s - loss: 0.1557 - acc: 0.9812
22656/60000 [==========>...................] - ETA: 2s - loss: 0.1553 - acc: 0.9815
23328/60000 [==========>...................] - ETA: 2s - loss: 0.1550 - acc: 0.9817
24032/60000 [===========>..................] - ETA: 2s - loss: 0.1553 - acc: 0.9817
24672/60000 [===========>..................] - ETA: 2s - loss: 0.1549 - acc: 0.9818
25280/60000 [===========>..................] - ETA: 2s - loss: 0.1553 - acc: 0.9816
25952/60000 [===========>..................] - ETA: 2s - loss: 0.1556 - acc: 0.9815
26624/60000 [============>.................] - ETA: 2s - loss: 0.1566 - acc: 0.9813
27296/60000 [============>.................] - ETA: 2s - loss: 0.1571 - acc: 0.9811
27936/60000 [============>.................] - ETA: 2s - loss: 0.1568 - acc: 0.9812
28576/60000 [=============>................] - ETA: 2s - loss: 0.1567 - acc: 0.9812
29248/60000 [=============>................] - ETA: 2s - loss: 0.1576 - acc: 0.9808
29888/60000 [=============>................] - ETA: 2s - loss: 0.1579 - acc: 0.9806
30528/60000 [==============>...............] - ETA: 2s - loss: 0.1583 - acc: 0.9804
31200/60000 [==============>...............] - ETA: 2s - loss: 0.1582 - acc: 0.9805
31872/60000 [==============>...............] - ETA: 2s - loss: 0.1580 - acc: 0.9805
32544/60000 [===============>..............] - ETA: 2s - loss: 0.1584 - acc: 0.9805
33152/60000 [===============>..............] - ETA: 2s - loss: 0.1588 - acc: 0.9803
33824/60000 [===============>..............] - ETA: 2s - loss: 0.1589 - acc: 0.9802
34432/60000 [================>.............] - ETA: 2s - loss: 0.1589 - acc: 0.9802
35040/60000 [================>.............] - ETA: 1s - loss: 0.1586 - acc: 0.9803
35712/60000 [================>.............] - ETA: 1s - loss: 0.1586 - acc: 0.9802
36416/60000 [=================>............] - ETA: 1s - loss: 0.1588 - acc: 0.9801
37088/60000 [=================>............] - ETA: 1s - loss: 0.1588 - acc: 0.9800
37664/60000 [=================>............] - ETA: 1s - loss: 0.1590 - acc: 0.9799
38336/60000 [==================>...........] - ETA: 1s - loss: 0.1590 - acc: 0.9799
39008/60000 [==================>...........] - ETA: 1s - loss: 0.1591 - acc: 0.9798
39744/60000 [==================>...........] - ETA: 1s - loss: 0.1592 - acc: 0.9798
40288/60000 [===================>..........] - ETA: 1s - loss: 0.1592 - acc: 0.9798
40960/60000 [===================>..........] - ETA: 1s - loss: 0.1594 - acc: 0.9797
41632/60000 [===================>..........] - ETA: 1s - loss: 0.1593 - acc: 0.9797
42336/60000 [====================>.........] - ETA: 1s - loss: 0.1594 - acc: 0.9796
42912/60000 [====================>.........] - ETA: 1s - loss: 0.1592 - acc: 0.9797
43552/60000 [====================>.........] - ETA: 1s - loss: 0.1590 - acc: 0.9798
44192/60000 [=====================>........] - ETA: 1s - loss: 0.1591 - acc: 0.9798
44864/60000 [=====================>........] - ETA: 1s - loss: 0.1596 - acc: 0.9797
45408/60000 [=====================>........] - ETA: 1s - loss: 0.1597 - acc: 0.9796
46112/60000 [======================>.......] - ETA: 1s - loss: 0.1600 - acc: 0.9795
46720/60000 [======================>.......] - ETA: 1s - loss: 0.1598 - acc: 0.9796
47392/60000 [======================>.......] - ETA: 1s - loss: 0.1599 - acc: 0.9796
48000/60000 [=======================>......] - ETA: 0s - loss: 0.1600 - acc: 0.9795
48672/60000 [=======================>......] - ETA: 0s - loss: 0.1603 - acc: 0.9795
49344/60000 [=======================>......] - ETA: 0s - loss: 0.1601 - acc: 0.9796
50016/60000 [========================>.....] - ETA: 0s - loss: 0.1602 - acc: 0.9795
50592/60000 [========================>.....] - ETA: 0s - loss: 0.1602 - acc: 0.9795
51296/60000 [========================>.....] - ETA: 0s - loss: 0.1601 - acc: 0.9795
51968/60000 [========================>.....] - ETA: 0s - loss: 0.1606 - acc: 0.9794
52608/60000 [=========================>....] - ETA: 0s - loss: 0.1609 - acc: 0.9793
53120/60000 [=========================>....] - ETA: 0s - loss: 0.1609 - acc: 0.9794
53792/60000 [=========================>....] - ETA: 0s - loss: 0.1608 - acc: 0.9794
54464/60000 [==========================>...] - ETA: 0s - loss: 0.1611 - acc: 0.9792
55104/60000 [==========================>...] - ETA: 0s - loss: 0.1615 - acc: 0.9790
55776/60000 [==========================>...] - ETA: 0s - loss: 0.1620 - acc: 0.9788
56320/60000 [===========================>..] - ETA: 0s - loss: 0.1617 - acc: 0.9789
57056/60000 [===========================>..] - ETA: 0s - loss: 0.1618 - acc: 0.9790
57632/60000 [===========================>..] - ETA: 0s - loss: 0.1618 - acc: 0.9790
58240/60000 [============================>.] - ETA: 0s - loss: 0.1616 - acc: 0.9791
58816/60000 [============================>.] - ETA: 0s - loss: 0.1619 - acc: 0.9790
59392/60000 [============================>.] - ETA: 0s - loss: 0.1623 - acc: 0.9789
60000/60000 [==============================] - 5s 80us/step - loss: 0.1624 - acc: 0.9789
Epoch 8/10

   32/60000 [..............................] - ETA: 11s - loss: 0.2031 - acc: 0.9375
  704/60000 [..............................] - ETA: 4s - loss: 0.1582 - acc: 0.9815 
 1312/60000 [..............................] - ETA: 4s - loss: 0.1528 - acc: 0.9832
 1952/60000 [..............................] - ETA: 4s - loss: 0.1483 - acc: 0.9857
 2528/60000 [>.............................] - ETA: 4s - loss: 0.1462 - acc: 0.9862
 3200/60000 [>.............................] - ETA: 4s - loss: 0.1433 - acc: 0.9872
 3840/60000 [>.............................] - ETA: 4s - loss: 0.1438 - acc: 0.9867
 4480/60000 [=>............................] - ETA: 4s - loss: 0.1470 - acc: 0.9859
 5088/60000 [=>............................] - ETA: 4s - loss: 0.1533 - acc: 0.9839
 5728/60000 [=>............................] - ETA: 4s - loss: 0.1553 - acc: 0.9820
 6400/60000 [==>...........................] - ETA: 4s - loss: 0.1542 - acc: 0.9819
 7072/60000 [==>...........................] - ETA: 4s - loss: 0.1563 - acc: 0.9818
 7744/60000 [==>...........................] - ETA: 4s - loss: 0.1556 - acc: 0.9819
 8416/60000 [===>..........................] - ETA: 4s - loss: 0.1553 - acc: 0.9819
 9088/60000 [===>..........................] - ETA: 4s - loss: 0.1546 - acc: 0.9823
 9728/60000 [===>..........................] - ETA: 4s - loss: 0.1549 - acc: 0.9822
10336/60000 [====>.........................] - ETA: 4s - loss: 0.1551 - acc: 0.9819
11008/60000 [====>.........................] - ETA: 3s - loss: 0.1547 - acc: 0.9817
11648/60000 [====>.........................] - ETA: 3s - loss: 0.1565 - acc: 0.9812
12288/60000 [=====>........................] - ETA: 3s - loss: 0.1566 - acc: 0.9813
12960/60000 [=====>........................] - ETA: 3s - loss: 0.1566 - acc: 0.9813
13664/60000 [=====>........................] - ETA: 3s - loss: 0.1579 - acc: 0.9810
14272/60000 [======>.......................] - ETA: 3s - loss: 0.1572 - acc: 0.9814
14912/60000 [======>.......................] - ETA: 3s - loss: 0.1569 - acc: 0.9813
15584/60000 [======>.......................] - ETA: 3s - loss: 0.1566 - acc: 0.9815
16288/60000 [=======>......................] - ETA: 3s - loss: 0.1562 - acc: 0.9814
16928/60000 [=======>......................] - ETA: 3s - loss: 0.1554 - acc: 0.9817
17568/60000 [=======>......................] - ETA: 3s - loss: 0.1552 - acc: 0.9817
18240/60000 [========>.....................] - ETA: 3s - loss: 0.1557 - acc: 0.9814
18912/60000 [========>.....................] - ETA: 3s - loss: 0.1572 - acc: 0.9810
19520/60000 [========>.....................] - ETA: 3s - loss: 0.1574 - acc: 0.9810
20160/60000 [=========>....................] - ETA: 3s - loss: 0.1567 - acc: 0.9812
20832/60000 [=========>....................] - ETA: 3s - loss: 0.1563 - acc: 0.9813
21504/60000 [=========>....................] - ETA: 3s - loss: 0.1573 - acc: 0.9808
22048/60000 [==========>...................] - ETA: 3s - loss: 0.1570 - acc: 0.9809
22656/60000 [==========>...................] - ETA: 3s - loss: 0.1568 - acc: 0.9809
23328/60000 [==========>...................] - ETA: 2s - loss: 0.1572 - acc: 0.9808
23936/60000 [==========>...................] - ETA: 2s - loss: 0.1574 - acc: 0.9808
24512/60000 [===========>..................] - ETA: 2s - loss: 0.1576 - acc: 0.9807
25120/60000 [===========>..................] - ETA: 2s - loss: 0.1568 - acc: 0.9809
25792/60000 [===========>..................] - ETA: 2s - loss: 0.1561 - acc: 0.9813
26368/60000 [============>.................] - ETA: 2s - loss: 0.1557 - acc: 0.9814
26816/60000 [============>.................] - ETA: 2s - loss: 0.1556 - acc: 0.9815
27392/60000 [============>.................] - ETA: 2s - loss: 0.1561 - acc: 0.9815
28064/60000 [=============>................] - ETA: 2s - loss: 0.1564 - acc: 0.9814
28736/60000 [=============>................] - ETA: 2s - loss: 0.1563 - acc: 0.9813
29312/60000 [=============>................] - ETA: 2s - loss: 0.1563 - acc: 0.9813
29920/60000 [=============>................] - ETA: 2s - loss: 0.1559 - acc: 0.9815
30592/60000 [==============>...............] - ETA: 2s - loss: 0.1565 - acc: 0.9813
31264/60000 [==============>...............] - ETA: 2s - loss: 0.1561 - acc: 0.9814
31840/60000 [==============>...............] - ETA: 2s - loss: 0.1556 - acc: 0.9814
32480/60000 [===============>..............] - ETA: 2s - loss: 0.1556 - acc: 0.9814
33152/60000 [===============>..............] - ETA: 2s - loss: 0.1560 - acc: 0.9813
33824/60000 [===============>..............] - ETA: 2s - loss: 0.1562 - acc: 0.9812
34400/60000 [================>.............] - ETA: 2s - loss: 0.1563 - acc: 0.9812
35104/60000 [================>.............] - ETA: 2s - loss: 0.1565 - acc: 0.9812
35712/60000 [================>.............] - ETA: 1s - loss: 0.1568 - acc: 0.9810
36352/60000 [=================>............] - ETA: 1s - loss: 0.1569 - acc: 0.9809
36928/60000 [=================>............] - ETA: 1s - loss: 0.1567 - acc: 0.9809
37600/60000 [=================>............] - ETA: 1s - loss: 0.1569 - acc: 0.9808
38208/60000 [==================>...........] - ETA: 1s - loss: 0.1571 - acc: 0.9807
38880/60000 [==================>...........] - ETA: 1s - loss: 0.1567 - acc: 0.9808
39424/60000 [==================>...........] - ETA: 1s - loss: 0.1566 - acc: 0.9807
40096/60000 [===================>..........] - ETA: 1s - loss: 0.1567 - acc: 0.9807
40736/60000 [===================>..........] - ETA: 1s - loss: 0.1566 - acc: 0.9808
41376/60000 [===================>..........] - ETA: 1s - loss: 0.1567 - acc: 0.9808
41952/60000 [===================>..........] - ETA: 1s - loss: 0.1569 - acc: 0.9807
42624/60000 [====================>.........] - ETA: 1s - loss: 0.1579 - acc: 0.9804
43296/60000 [====================>.........] - ETA: 1s - loss: 0.1577 - acc: 0.9804
43936/60000 [====================>.........] - ETA: 1s - loss: 0.1576 - acc: 0.9805
44544/60000 [=====================>........] - ETA: 1s - loss: 0.1577 - acc: 0.9805
45216/60000 [=====================>........] - ETA: 1s - loss: 0.1581 - acc: 0.9802
45856/60000 [=====================>........] - ETA: 1s - loss: 0.1582 - acc: 0.9801
46496/60000 [======================>.......] - ETA: 1s - loss: 0.1588 - acc: 0.9799
47136/60000 [======================>.......] - ETA: 1s - loss: 0.1588 - acc: 0.9799
47776/60000 [======================>.......] - ETA: 0s - loss: 0.1585 - acc: 0.9800
48416/60000 [=======================>......] - ETA: 0s - loss: 0.1584 - acc: 0.9800
49056/60000 [=======================>......] - ETA: 0s - loss: 0.1585 - acc: 0.9800
49696/60000 [=======================>......] - ETA: 0s - loss: 0.1583 - acc: 0.9802
50336/60000 [========================>.....] - ETA: 0s - loss: 0.1582 - acc: 0.9802
51008/60000 [========================>.....] - ETA: 0s - loss: 0.1584 - acc: 0.9801
51648/60000 [========================>.....] - ETA: 0s - loss: 0.1585 - acc: 0.9801
52288/60000 [=========================>....] - ETA: 0s - loss: 0.1586 - acc: 0.9800
52960/60000 [=========================>....] - ETA: 0s - loss: 0.1586 - acc: 0.9800
53664/60000 [=========================>....] - ETA: 0s - loss: 0.1585 - acc: 0.9800
54240/60000 [==========================>...] - ETA: 0s - loss: 0.1585 - acc: 0.9800
54880/60000 [==========================>...] - ETA: 0s - loss: 0.1586 - acc: 0.9800
55520/60000 [==========================>...] - ETA: 0s - loss: 0.1585 - acc: 0.9800
56192/60000 [===========================>..] - ETA: 0s - loss: 0.1584 - acc: 0.9801
56832/60000 [===========================>..] - ETA: 0s - loss: 0.1583 - acc: 0.9802
57440/60000 [===========================>..] - ETA: 0s - loss: 0.1583 - acc: 0.9801
58112/60000 [============================>.] - ETA: 0s - loss: 0.1584 - acc: 0.9801
58752/60000 [============================>.] - ETA: 0s - loss: 0.1582 - acc: 0.9802
59360/60000 [============================>.] - ETA: 0s - loss: 0.1585 - acc: 0.9802
59936/60000 [============================>.] - ETA: 0s - loss: 0.1586 - acc: 0.9802
60000/60000 [==============================] - 5s 81us/step - loss: 0.1586 - acc: 0.9802
Epoch 9/10

   32/60000 [..............................] - ETA: 11s - loss: 0.1147 - acc: 1.0000
  608/60000 [..............................] - ETA: 5s - loss: 0.1525 - acc: 0.9836 
 1248/60000 [..............................] - ETA: 5s - loss: 0.1493 - acc: 0.9840
 1920/60000 [..............................] - ETA: 4s - loss: 0.1487 - acc: 0.9859
 2560/60000 [>.............................] - ETA: 4s - loss: 0.1521 - acc: 0.9832
 3200/60000 [>.............................] - ETA: 4s - loss: 0.1507 - acc: 0.9841
 3776/60000 [>.............................] - ETA: 4s - loss: 0.1558 - acc: 0.9812
 4448/60000 [=>............................] - ETA: 4s - loss: 0.1523 - acc: 0.9827
 5120/60000 [=>............................] - ETA: 4s - loss: 0.1511 - acc: 0.9830
 5696/60000 [=>............................] - ETA: 4s - loss: 0.1519 - acc: 0.9830
 6272/60000 [==>...........................] - ETA: 4s - loss: 0.1495 - acc: 0.9837
 6912/60000 [==>...........................] - ETA: 4s - loss: 0.1519 - acc: 0.9826
 7552/60000 [==>...........................] - ETA: 4s - loss: 0.1510 - acc: 0.9831
 8192/60000 [===>..........................] - ETA: 4s - loss: 0.1513 - acc: 0.9825
 8832/60000 [===>..........................] - ETA: 4s - loss: 0.1505 - acc: 0.9828
 9536/60000 [===>..........................] - ETA: 4s - loss: 0.1499 - acc: 0.9831
10208/60000 [====>.........................] - ETA: 4s - loss: 0.1507 - acc: 0.9827
10848/60000 [====>.........................] - ETA: 4s - loss: 0.1501 - acc: 0.9829
11456/60000 [====>.........................] - ETA: 3s - loss: 0.1510 - acc: 0.9830
12160/60000 [=====>........................] - ETA: 3s - loss: 0.1507 - acc: 0.9828
12768/60000 [=====>........................] - ETA: 3s - loss: 0.1498 - acc: 0.9829
13376/60000 [=====>........................] - ETA: 3s - loss: 0.1488 - acc: 0.9833
14048/60000 [======>.......................] - ETA: 3s - loss: 0.1494 - acc: 0.9830
14720/60000 [======>.......................] - ETA: 3s - loss: 0.1491 - acc: 0.9832
15392/60000 [======>.......................] - ETA: 3s - loss: 0.1497 - acc: 0.9830
16000/60000 [=======>......................] - ETA: 3s - loss: 0.1492 - acc: 0.9831
16672/60000 [=======>......................] - ETA: 3s - loss: 0.1485 - acc: 0.9833
17376/60000 [=======>......................] - ETA: 3s - loss: 0.1488 - acc: 0.9831
18080/60000 [========>.....................] - ETA: 3s - loss: 0.1480 - acc: 0.9835
18656/60000 [========>.....................] - ETA: 3s - loss: 0.1480 - acc: 0.9834
19296/60000 [========>.....................] - ETA: 3s - loss: 0.1486 - acc: 0.9829
19936/60000 [========>.....................] - ETA: 3s - loss: 0.1490 - acc: 0.9828
20608/60000 [=========>....................] - ETA: 3s - loss: 0.1486 - acc: 0.9830
21216/60000 [=========>....................] - ETA: 3s - loss: 0.1481 - acc: 0.9833
21824/60000 [=========>....................] - ETA: 3s - loss: 0.1489 - acc: 0.9831
22496/60000 [==========>...................] - ETA: 3s - loss: 0.1498 - acc: 0.9829
23168/60000 [==========>...................] - ETA: 2s - loss: 0.1496 - acc: 0.9830
23744/60000 [==========>...................] - ETA: 2s - loss: 0.1499 - acc: 0.9830
24416/60000 [===========>..................] - ETA: 2s - loss: 0.1502 - acc: 0.9829
25024/60000 [===========>..................] - ETA: 2s - loss: 0.1500 - acc: 0.9829
25664/60000 [===========>..................] - ETA: 2s - loss: 0.1502 - acc: 0.9828
26144/60000 [============>.................] - ETA: 2s - loss: 0.1502 - acc: 0.9827
26752/60000 [============>.................] - ETA: 2s - loss: 0.1509 - acc: 0.9824
27328/60000 [============>.................] - ETA: 2s - loss: 0.1504 - acc: 0.9826
27936/60000 [============>.................] - ETA: 2s - loss: 0.1506 - acc: 0.9825
28448/60000 [=============>................] - ETA: 2s - loss: 0.1502 - acc: 0.9827
29088/60000 [=============>................] - ETA: 2s - loss: 0.1500 - acc: 0.9828
29664/60000 [=============>................] - ETA: 2s - loss: 0.1497 - acc: 0.9829
30272/60000 [==============>...............] - ETA: 2s - loss: 0.1498 - acc: 0.9829
30816/60000 [==============>...............] - ETA: 2s - loss: 0.1494 - acc: 0.9830
31424/60000 [==============>...............] - ETA: 2s - loss: 0.1495 - acc: 0.9830
32000/60000 [===============>..............] - ETA: 2s - loss: 0.1495 - acc: 0.9829
32576/60000 [===============>..............] - ETA: 2s - loss: 0.1492 - acc: 0.9831
33120/60000 [===============>..............] - ETA: 2s - loss: 0.1495 - acc: 0.9829
33696/60000 [===============>..............] - ETA: 2s - loss: 0.1497 - acc: 0.9828
34272/60000 [================>.............] - ETA: 2s - loss: 0.1501 - acc: 0.9827
34816/60000 [================>.............] - ETA: 2s - loss: 0.1501 - acc: 0.9827
35360/60000 [================>.............] - ETA: 2s - loss: 0.1505 - acc: 0.9825
35936/60000 [================>.............] - ETA: 2s - loss: 0.1506 - acc: 0.9824
36480/60000 [=================>............] - ETA: 1s - loss: 0.1503 - acc: 0.9825
37088/60000 [=================>............] - ETA: 1s - loss: 0.1503 - acc: 0.9825
37696/60000 [=================>............] - ETA: 1s - loss: 0.1502 - acc: 0.9824
38304/60000 [==================>...........] - ETA: 1s - loss: 0.1502 - acc: 0.9824
38912/60000 [==================>...........] - ETA: 1s - loss: 0.1503 - acc: 0.9822
39456/60000 [==================>...........] - ETA: 1s - loss: 0.1503 - acc: 0.9823
40064/60000 [===================>..........] - ETA: 1s - loss: 0.1508 - acc: 0.9820
40576/60000 [===================>..........] - ETA: 1s - loss: 0.1509 - acc: 0.9820
41216/60000 [===================>..........] - ETA: 1s - loss: 0.1509 - acc: 0.9819
41792/60000 [===================>..........] - ETA: 1s - loss: 0.1510 - acc: 0.9820
42368/60000 [====================>.........] - ETA: 1s - loss: 0.1509 - acc: 0.9820
42912/60000 [====================>.........] - ETA: 1s - loss: 0.1513 - acc: 0.9819
43488/60000 [====================>.........] - ETA: 1s - loss: 0.1518 - acc: 0.9817
44096/60000 [=====================>........] - ETA: 1s - loss: 0.1520 - acc: 0.9815
44704/60000 [=====================>........] - ETA: 1s - loss: 0.1519 - acc: 0.9816
45248/60000 [=====================>........] - ETA: 1s - loss: 0.1520 - acc: 0.9816
45856/60000 [=====================>........] - ETA: 1s - loss: 0.1520 - acc: 0.9817
46400/60000 [======================>.......] - ETA: 1s - loss: 0.1520 - acc: 0.9817
47008/60000 [======================>.......] - ETA: 1s - loss: 0.1521 - acc: 0.9817
47552/60000 [======================>.......] - ETA: 1s - loss: 0.1519 - acc: 0.9818
48096/60000 [=======================>......] - ETA: 1s - loss: 0.1521 - acc: 0.9816
48736/60000 [=======================>......] - ETA: 0s - loss: 0.1522 - acc: 0.9816
49312/60000 [=======================>......] - ETA: 0s - loss: 0.1523 - acc: 0.9815
49888/60000 [=======================>......] - ETA: 0s - loss: 0.1525 - acc: 0.9815
50368/60000 [========================>.....] - ETA: 0s - loss: 0.1526 - acc: 0.9815
50880/60000 [========================>.....] - ETA: 0s - loss: 0.1527 - acc: 0.9813
51392/60000 [========================>.....] - ETA: 0s - loss: 0.1527 - acc: 0.9813
51872/60000 [========================>.....] - ETA: 0s - loss: 0.1527 - acc: 0.9814
52320/60000 [=========================>....] - ETA: 0s - loss: 0.1526 - acc: 0.9814
52832/60000 [=========================>....] - ETA: 0s - loss: 0.1526 - acc: 0.9814
53344/60000 [=========================>....] - ETA: 0s - loss: 0.1526 - acc: 0.9814
53824/60000 [=========================>....] - ETA: 0s - loss: 0.1527 - acc: 0.9813
54304/60000 [==========================>...] - ETA: 0s - loss: 0.1527 - acc: 0.9813
54816/60000 [==========================>...] - ETA: 0s - loss: 0.1527 - acc: 0.9813
55328/60000 [==========================>...] - ETA: 0s - loss: 0.1526 - acc: 0.9814
55808/60000 [==========================>...] - ETA: 0s - loss: 0.1526 - acc: 0.9813
56288/60000 [===========================>..] - ETA: 0s - loss: 0.1529 - acc: 0.9812
56736/60000 [===========================>..] - ETA: 0s - loss: 0.1530 - acc: 0.9811
57184/60000 [===========================>..] - ETA: 0s - loss: 0.1532 - acc: 0.9811
57600/60000 [===========================>..] - ETA: 0s - loss: 0.1532 - acc: 0.9811
58048/60000 [============================>.] - ETA: 0s - loss: 0.1530 - acc: 0.9811
58496/60000 [============================>.] - ETA: 0s - loss: 0.1531 - acc: 0.9811
58976/60000 [============================>.] - ETA: 0s - loss: 0.1535 - acc: 0.9809
59392/60000 [============================>.] - ETA: 0s - loss: 0.1535 - acc: 0.9809
59904/60000 [============================>.] - ETA: 0s - loss: 0.1538 - acc: 0.9809
60000/60000 [==============================] - 5s 90us/step - loss: 0.1537 - acc: 0.9809
Epoch 10/10

   32/60000 [..............................] - ETA: 9s - loss: 0.1267 - acc: 1.0000
  544/60000 [..............................] - ETA: 6s - loss: 0.1191 - acc: 0.9963
 1024/60000 [..............................] - ETA: 6s - loss: 0.1332 - acc: 0.9902
 1472/60000 [..............................] - ETA: 6s - loss: 0.1383 - acc: 0.9885
 1984/60000 [..............................] - ETA: 6s - loss: 0.1373 - acc: 0.9884
 2528/60000 [>.............................] - ETA: 5s - loss: 0.1419 - acc: 0.9881
 3040/60000 [>.............................] - ETA: 5s - loss: 0.1397 - acc: 0.9888
 3520/60000 [>.............................] - ETA: 5s - loss: 0.1389 - acc: 0.9886
 4096/60000 [=>............................] - ETA: 5s - loss: 0.1412 - acc: 0.9875
 4608/60000 [=>............................] - ETA: 5s - loss: 0.1405 - acc: 0.9878
 5024/60000 [=>............................] - ETA: 5s - loss: 0.1409 - acc: 0.9875
 5504/60000 [=>............................] - ETA: 5s - loss: 0.1404 - acc: 0.9876
 6048/60000 [==>...........................] - ETA: 5s - loss: 0.1404 - acc: 0.9871
 6528/60000 [==>...........................] - ETA: 5s - loss: 0.1408 - acc: 0.9867
 7072/60000 [==>...........................] - ETA: 5s - loss: 0.1407 - acc: 0.9864
 7584/60000 [==>...........................] - ETA: 5s - loss: 0.1400 - acc: 0.9863
 8096/60000 [===>..........................] - ETA: 5s - loss: 0.1405 - acc: 0.9863
 8672/60000 [===>..........................] - ETA: 5s - loss: 0.1417 - acc: 0.9858
 9216/60000 [===>..........................] - ETA: 5s - loss: 0.1417 - acc: 0.9856
 9760/60000 [===>..........................] - ETA: 5s - loss: 0.1427 - acc: 0.9852
10304/60000 [====>.........................] - ETA: 5s - loss: 0.1425 - acc: 0.9851
10848/60000 [====>.........................] - ETA: 4s - loss: 0.1430 - acc: 0.9848
11360/60000 [====>.........................] - ETA: 4s - loss: 0.1436 - acc: 0.9847
11872/60000 [====>.........................] - ETA: 4s - loss: 0.1434 - acc: 0.9846
12448/60000 [=====>........................] - ETA: 4s - loss: 0.1434 - acc: 0.9847
12992/60000 [=====>........................] - ETA: 4s - loss: 0.1434 - acc: 0.9846
13536/60000 [=====>........................] - ETA: 4s - loss: 0.1431 - acc: 0.9849
14208/60000 [======>.......................] - ETA: 4s - loss: 0.1444 - acc: 0.9844
14848/60000 [======>.......................] - ETA: 4s - loss: 0.1445 - acc: 0.9846
15456/60000 [======>.......................] - ETA: 4s - loss: 0.1454 - acc: 0.9842
16064/60000 [=======>......................] - ETA: 4s - loss: 0.1450 - acc: 0.9843
16640/60000 [=======>......................] - ETA: 4s - loss: 0.1451 - acc: 0.9843
17280/60000 [=======>......................] - ETA: 4s - loss: 0.1446 - acc: 0.9844
17952/60000 [=======>......................] - ETA: 4s - loss: 0.1439 - acc: 0.9847
18592/60000 [========>.....................] - ETA: 3s - loss: 0.1441 - acc: 0.9847
19200/60000 [========>.....................] - ETA: 3s - loss: 0.1442 - acc: 0.9847
19840/60000 [========>.....................] - ETA: 3s - loss: 0.1445 - acc: 0.9845
20512/60000 [=========>....................] - ETA: 3s - loss: 0.1450 - acc: 0.9842
21216/60000 [=========>....................] - ETA: 3s - loss: 0.1456 - acc: 0.9838
21696/60000 [=========>....................] - ETA: 3s - loss: 0.1462 - acc: 0.9835
22176/60000 [==========>...................] - ETA: 3s - loss: 0.1462 - acc: 0.9835
22624/60000 [==========>...................] - ETA: 3s - loss: 0.1460 - acc: 0.9835
23232/60000 [==========>...................] - ETA: 3s - loss: 0.1452 - acc: 0.9838
23840/60000 [==========>...................] - ETA: 3s - loss: 0.1451 - acc: 0.9837
24416/60000 [===========>..................] - ETA: 3s - loss: 0.1462 - acc: 0.9835
24992/60000 [===========>..................] - ETA: 3s - loss: 0.1465 - acc: 0.9834
25568/60000 [===========>..................] - ETA: 3s - loss: 0.1468 - acc: 0.9832
26208/60000 [============>.................] - ETA: 3s - loss: 0.1471 - acc: 0.9831
26752/60000 [============>.................] - ETA: 3s - loss: 0.1472 - acc: 0.9830
27264/60000 [============>.................] - ETA: 3s - loss: 0.1475 - acc: 0.9829
27808/60000 [============>.................] - ETA: 3s - loss: 0.1474 - acc: 0.9828
28320/60000 [=============>................] - ETA: 2s - loss: 0.1477 - acc: 0.9828
28928/60000 [=============>................] - ETA: 2s - loss: 0.1477 - acc: 0.9829
29536/60000 [=============>................] - ETA: 2s - loss: 0.1480 - acc: 0.9827
30176/60000 [==============>...............] - ETA: 2s - loss: 0.1475 - acc: 0.9829
30816/60000 [==============>...............] - ETA: 2s - loss: 0.1478 - acc: 0.9829
31488/60000 [==============>...............] - ETA: 2s - loss: 0.1484 - acc: 0.9827
32128/60000 [===============>..............] - ETA: 2s - loss: 0.1486 - acc: 0.9826
32800/60000 [===============>..............] - ETA: 2s - loss: 0.1484 - acc: 0.9826
33408/60000 [===============>..............] - ETA: 2s - loss: 0.1486 - acc: 0.9824
34112/60000 [================>.............] - ETA: 2s - loss: 0.1492 - acc: 0.9820
34720/60000 [================>.............] - ETA: 2s - loss: 0.1491 - acc: 0.9821
35392/60000 [================>.............] - ETA: 2s - loss: 0.1491 - acc: 0.9821
36032/60000 [=================>............] - ETA: 2s - loss: 0.1490 - acc: 0.9822
36672/60000 [=================>............] - ETA: 2s - loss: 0.1489 - acc: 0.9822
37344/60000 [=================>............] - ETA: 2s - loss: 0.1490 - acc: 0.9822
37984/60000 [=================>............] - ETA: 1s - loss: 0.1488 - acc: 0.9823
38624/60000 [==================>...........] - ETA: 1s - loss: 0.1488 - acc: 0.9824
39296/60000 [==================>...........] - ETA: 1s - loss: 0.1488 - acc: 0.9824
39872/60000 [==================>...........] - ETA: 1s - loss: 0.1487 - acc: 0.9824
40544/60000 [===================>..........] - ETA: 1s - loss: 0.1487 - acc: 0.9823
41152/60000 [===================>..........] - ETA: 1s - loss: 0.1487 - acc: 0.9824
41824/60000 [===================>..........] - ETA: 1s - loss: 0.1487 - acc: 0.9824
42496/60000 [====================>.........] - ETA: 1s - loss: 0.1491 - acc: 0.9821
43136/60000 [====================>.........] - ETA: 1s - loss: 0.1492 - acc: 0.9821
43808/60000 [====================>.........] - ETA: 1s - loss: 0.1492 - acc: 0.9822
44448/60000 [=====================>........] - ETA: 1s - loss: 0.1489 - acc: 0.9822
45120/60000 [=====================>........] - ETA: 1s - loss: 0.1489 - acc: 0.9822
45760/60000 [=====================>........] - ETA: 1s - loss: 0.1493 - acc: 0.9820
46368/60000 [======================>.......] - ETA: 1s - loss: 0.1492 - acc: 0.9821
47008/60000 [======================>.......] - ETA: 1s - loss: 0.1491 - acc: 0.9821
47648/60000 [======================>.......] - ETA: 1s - loss: 0.1491 - acc: 0.9821
48352/60000 [=======================>......] - ETA: 1s - loss: 0.1489 - acc: 0.9822
48960/60000 [=======================>......] - ETA: 0s - loss: 0.1489 - acc: 0.9822
49600/60000 [=======================>......] - ETA: 0s - loss: 0.1492 - acc: 0.9821
50272/60000 [========================>.....] - ETA: 0s - loss: 0.1491 - acc: 0.9821
50912/60000 [========================>.....] - ETA: 0s - loss: 0.1491 - acc: 0.9820
51488/60000 [========================>.....] - ETA: 0s - loss: 0.1491 - acc: 0.9820
52128/60000 [=========================>....] - ETA: 0s - loss: 0.1488 - acc: 0.9821
52736/60000 [=========================>....] - ETA: 0s - loss: 0.1487 - acc: 0.9822
53408/60000 [=========================>....] - ETA: 0s - loss: 0.1490 - acc: 0.9820
54016/60000 [==========================>...] - ETA: 0s - loss: 0.1489 - acc: 0.9820
54560/60000 [==========================>...] - ETA: 0s - loss: 0.1492 - acc: 0.9819
55104/60000 [==========================>...] - ETA: 0s - loss: 0.1493 - acc: 0.9819
55648/60000 [==========================>...] - ETA: 0s - loss: 0.1494 - acc: 0.9819
56160/60000 [===========================>..] - ETA: 0s - loss: 0.1495 - acc: 0.9820
56704/60000 [===========================>..] - ETA: 0s - loss: 0.1495 - acc: 0.9819
57280/60000 [===========================>..] - ETA: 0s - loss: 0.1495 - acc: 0.9820
57824/60000 [===========================>..] - ETA: 0s - loss: 0.1494 - acc: 0.9820
58368/60000 [============================>.] - ETA: 0s - loss: 0.1497 - acc: 0.9819
58912/60000 [============================>.] - ETA: 0s - loss: 0.1499 - acc: 0.9818
59488/60000 [============================>.] - ETA: 0s - loss: 0.1501 - acc: 0.9817
60000/60000 [==============================] - 5s 88us/step - loss: 0.1503 - acc: 0.9817

   32/10000 [..............................] - ETA: 14s
 1504/10000 [===>..........................] - ETA: 0s 
 3008/10000 [========>.....................] - ETA: 0s
 4864/10000 [=============>................] - ETA: 0s
 6656/10000 [==================>...........] - ETA: 0s
 8064/10000 [=======================>......] - ETA: 0s
 9376/10000 [===========================>..] - ETA: 0s
10000/10000 [==============================] - 0s 37us/step

test loss 0.17645125699043274
test accuracy 0.9722

   32/60000 [..............................] - ETA: 3s
 1984/60000 [..............................] - ETA: 1s
 3520/60000 [>.............................] - ETA: 1s
 5120/60000 [=>............................] - ETA: 1s
 6560/60000 [==>...........................] - ETA: 1s
 7968/60000 [==>...........................] - ETA: 1s
 9440/60000 [===>..........................] - ETA: 1s
10880/60000 [====>.........................] - ETA: 1s
12416/60000 [=====>........................] - ETA: 1s
14016/60000 [======>.......................] - ETA: 1s
15296/60000 [======>.......................] - ETA: 1s
16768/60000 [=======>......................] - ETA: 1s
18304/60000 [========>.....................] - ETA: 1s
19808/60000 [========>.....................] - ETA: 1s
21216/60000 [=========>....................] - ETA: 1s
22848/60000 [==========>...................] - ETA: 1s
24448/60000 [===========>..................] - ETA: 1s
25920/60000 [===========>..................] - ETA: 1s
27232/60000 [============>.................] - ETA: 1s
28544/60000 [=============>................] - ETA: 1s
29696/60000 [=============>................] - ETA: 1s
31264/60000 [==============>...............] - ETA: 0s
32864/60000 [===============>..............] - ETA: 0s
34336/60000 [================>.............] - ETA: 0s
36192/60000 [=================>............] - ETA: 0s
37888/60000 [=================>............] - ETA: 0s
39712/60000 [==================>...........] - ETA: 0s
41088/60000 [===================>..........] - ETA: 0s
42656/60000 [====================>.........] - ETA: 0s
44128/60000 [=====================>........] - ETA: 0s
45536/60000 [=====================>........] - ETA: 0s
46944/60000 [======================>.......] - ETA: 0s
48448/60000 [=======================>......] - ETA: 0s
49920/60000 [=======================>......] - ETA: 0s
51360/60000 [========================>.....] - ETA: 0s
52928/60000 [=========================>....] - ETA: 0s
54400/60000 [==========================>...] - ETA: 0s
56288/60000 [===========================>..] - ETA: 0s
57984/60000 [===========================>..] - ETA: 0s
59872/60000 [============================>.] - ETA: 0s
60000/60000 [==============================] - 2s 33us/step

train loss 0.14990439019203186
train accuracy 0.9825833333333334

进程已结束,退出代码0
 

你可能感兴趣的:(keras,FCN,mnist手写数字识别,实例,添加隐藏层,添加正则化L2,防止过拟合)