keras交叉熵

import numpy as np
from keras.datasets import mnist  # 导入数据集
from keras.utils import np_utils  # Keras里面提供的一个numpy的工具包
from keras.models import Sequential
from keras.layers import Dense
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)
# 转成60000行-1表示列数不确定,会自动判断,255归一化
x_train = x_train.reshape(x_train.shape[0], -1)/255.0
x_test = x_test.reshape(x_test.shape[0], -1)/255.0

# 换one hot格式 10个类
y_train = np_utils.to_categorical(y_train, num_classes=10)
y_test = np_utils.to_categorical(y_test, num_classes=10)

# 创建模型,输入784个神经元,输出10个神经元 偏置设成1
model = Sequential([
    Dense(units=10, input_dim=784, bias_initializer='one', activation='softmax')
                   ])
# 定义优化器,loss function,训练过程中计算准确率
sgd = SGD(lr=0.2)
model.compile(
    optimizer=sgd,
    loss='categorical_crossentropy',  # 使用交叉熵收敛速度比较快
    metrics=['accuracy'],
)

# 训练模型(用的更多) 32张图片,每一次训练32张,60000/32次,
# epochs为训练周期,60000张全都训练一次叫一个周期。
model.fit(x_train, y_train, batch_size=32, epochs=10)
# 评估模型
loss, accuracy = model.evaluate(x_test, y_test)

print('\ntest loss', loss)
print('accuracy', accuracy)

# 保存模型
model.save('model.h5')
Epoch 1/10
   1/1875 [..............................] - ETA: 7s - loss: 2.2846 - accuracy: 0.2188
  35/1875 [..............................] - ETA: 2s - loss: 1.2078 - accuracy: 0.6562
  72/1875 [>.............................] - ETA: 2s - loss: 0.9108 - accuracy: 0.7513
 114/1875 [>.............................] - ETA: 2s - loss: 0.7555 - accuracy: 0.7922
 155/1875 [=>............................] - ETA: 2s - loss: 0.6781 - accuracy: 0.8125
 184/1875 [=>............................] - ETA: 2s - loss: 0.6457 - accuracy: 0.8205
 227/1875 [==>...........................] - ETA: 2s - loss: 0.6059 - accuracy: 0.8323
 272/1875 [===>..........................] - ETA: 2s - loss: 0.5735 - accuracy: 0.8394
 314/1875 [====>.........................] - ETA: 2s - loss: 0.5510 - accuracy: 0.8447
 355/1875 [====>.........................] - ETA: 1s - loss: 0.5307 - accuracy: 0.8496
 397/1875 [=====>........................] - ETA: 1s - loss: 0.5145 - accuracy: 0.8547
 441/1875 [======>.......................] - ETA: 1s - loss: 0.4978 - accuracy: 0.8596
 487/1875 [======>.......................] - ETA: 1s - loss: 0.4858 - accuracy: 0.8630
 526/1875 [=======>......................] - ETA: 1s - loss: 0.4789 - accuracy: 0.8645
 566/1875 [========>.....................] - ETA: 1s - loss: 0.4696 - accuracy: 0.8668
 609/1875 [========>.....................] - ETA: 1s - loss: 0.4644 - accuracy: 0.8679
 658/1875 [=========>....................] - ETA: 1s - loss: 0.4559 - accuracy: 0.8703
 702/1875 [==========>...................] - ETA: 1s - loss: 0.4507 - accuracy: 0.8713
 742/1875 [==========>...................] - ETA: 1s - loss: 0.4449 - accuracy: 0.8731
 784/1875 [===========>..................] - ETA: 1s - loss: 0.4404 - accuracy: 0.8743
 829/1875 [============>.................] - ETA: 1s - loss: 0.4364 - accuracy: 0.8748
 871/1875 [============>.................] - ETA: 1s - loss: 0.4312 - accuracy: 0.8762
 915/1875 [=============>................] - ETA: 1s - loss: 0.4268 - accuracy: 0.8776
 958/1875 [==============>...............] - ETA: 1s - loss: 0.4223 - accuracy: 0.8791
 999/1875 [==============>...............] - ETA: 1s - loss: 0.4197 - accuracy: 0.8802
1044/1875 [===============>..............] - ETA: 1s - loss: 0.4175 - accuracy: 0.8813
1090/1875 [================>.............] - ETA: 0s - loss: 0.4132 - accuracy: 0.8824
1133/1875 [=================>............] - ETA: 0s - loss: 0.4097 - accuracy: 0.8837
1165/1875 [=================>............] - ETA: 0s - loss: 0.4081 - accuracy: 0.8841
1199/1875 [==================>...........] - ETA: 0s - loss: 0.4063 - accuracy: 0.8849
1239/1875 [==================>...........] - ETA: 0s - loss: 0.4028 - accuracy: 0.8858
1282/1875 [===================>..........] - ETA: 0s - loss: 0.3995 - accuracy: 0.8869
1330/1875 [====================>.........] - ETA: 0s - loss: 0.3973 - accuracy: 0.8874
1366/1875 [====================>.........] - ETA: 0s - loss: 0.3954 - accuracy: 0.8878
1411/1875 [=====================>........] - ETA: 0s - loss: 0.3954 - accuracy: 0.8876
1454/1875 [======================>.......] - ETA: 0s - loss: 0.3932 - accuracy: 0.8884
1504/1875 [=======================>......] - ETA: 0s - loss: 0.3909 - accuracy: 0.8891
1547/1875 [=======================>......] - ETA: 0s - loss: 0.3890 - accuracy: 0.8897
1586/1875 [========================>.....] - ETA: 0s - loss: 0.3869 - accuracy: 0.8905
1631/1875 [=========================>....] - ETA: 0s - loss: 0.3854 - accuracy: 0.8910
1676/1875 [=========================>....] - ETA: 0s - loss: 0.3829 - accuracy: 0.8916
1719/1875 [==========================>...] - ETA: 0s - loss: 0.3817 - accuracy: 0.8920
1764/1875 [===========================>..] - ETA: 0s - loss: 0.3804 - accuracy: 0.8923
1806/1875 [===========================>..] - ETA: 0s - loss: 0.3791 - accuracy: 0.8925
1848/1875 [============================>.] - ETA: 0s - loss: 0.3778 - accuracy: 0.8930
1875/1875 [==============================] - 2s 1ms/step - loss: 0.3771 - accuracy: 0.8933
Epoch 2/10
   1/1875 [..............................] - ETA: 0s - loss: 0.2805 - accuracy: 0.9062
  41/1875 [..............................] - ETA: 2s - loss: 0.3407 - accuracy: 0.9017
  87/1875 [>.............................] - ETA: 2s - loss: 0.3377 - accuracy: 0.9080
 122/1875 [>.............................] - ETA: 2s - loss: 0.3289 - accuracy: 0.9111
 160/1875 [=>............................] - ETA: 2s - loss: 0.3314 - accuracy: 0.9119
 194/1875 [==>...........................] - ETA: 2s - loss: 0.3138 - accuracy: 0.9161
 237/1875 [==>...........................] - ETA: 2s - loss: 0.3112 - accuracy: 0.9146
 283/1875 [===>..........................] - ETA: 1s - loss: 0.3060 - accuracy: 0.9160
 326/1875 [====>.........................] - ETA: 1s - loss: 0.3027 - accuracy: 0.9161
 364/1875 [====>.........................] - ETA: 1s - loss: 0.3021 - accuracy: 0.9159
 408/1875 [=====>........................] - ETA: 1s - loss: 0.3043 - accuracy: 0.9154
 456/1875 [======>.......................] - ETA: 1s - loss: 0.3083 - accuracy: 0.9135
 502/1875 [=======>......................] - ETA: 1s - loss: 0.3070 - accuracy: 0.9124
 542/1875 [=======>......................] - ETA: 1s - loss: 0.3062 - accuracy: 0.9120
 584/1875 [========>.....................] - ETA: 1s - loss: 0.3089 - accuracy: 0.9117
 632/1875 [=========>....................] - ETA: 1s - loss: 0.3064 - accuracy: 0.9123
 672/1875 [=========>....................] - ETA: 1s - loss: 0.3072 - accuracy: 0.9116
 703/1875 [==========>...................] - ETA: 1s - loss: 0.3056 - accuracy: 0.9123
 744/1875 [==========>...................] - ETA: 1s - loss: 0.3059 - accuracy: 0.9127
 787/1875 [===========>..................] - ETA: 1s - loss: 0.3057 - accuracy: 0.9128
 829/1875 [============>.................] - ETA: 1s - loss: 0.3059 - accuracy: 0.9127
 867/1875 [============>.................] - ETA: 1s - loss: 0.3055 - accuracy: 0.9127
 907/1875 [=============>................] - ETA: 1s - loss: 0.3045 - accuracy: 0.9126
 947/1875 [==============>...............] - ETA: 1s - loss: 0.3034 - accuracy: 0.9131
 988/1875 [==============>...............] - ETA: 1s - loss: 0.3046 - accuracy: 0.9129
1030/1875 [===============>..............] - ETA: 1s - loss: 0.3043 - accuracy: 0.9131
1075/1875 [================>.............] - ETA: 0s - loss: 0.3038 - accuracy: 0.9128
1111/1875 [================>.............] - ETA: 0s - loss: 0.3032 - accuracy: 0.9129
1144/1875 [=================>............] - ETA: 0s - loss: 0.3031 - accuracy: 0.9130
1188/1875 [==================>...........] - ETA: 0s - loss: 0.3025 - accuracy: 0.9130
1227/1875 [==================>...........] - ETA: 0s - loss: 0.3010 - accuracy: 0.9135
1266/1875 [===================>..........] - ETA: 0s - loss: 0.3027 - accuracy: 0.9132
1295/1875 [===================>..........] - ETA: 0s - loss: 0.3030 - accuracy: 0.9133
1327/1875 [====================>.........] - ETA: 0s - loss: 0.3039 - accuracy: 0.9133
1373/1875 [====================>.........] - ETA: 0s - loss: 0.3031 - accuracy: 0.9138
1416/1875 [=====================>........] - ETA: 0s - loss: 0.3036 - accuracy: 0.9137
1457/1875 [======================>.......] - ETA: 0s - loss: 0.3034 - accuracy: 0.9137
1490/1875 [======================>.......] - ETA: 0s - loss: 0.3031 - accuracy: 0.9136
1527/1875 [=======================>......] - ETA: 0s - loss: 0.3038 - accuracy: 0.9135
1567/1875 [========================>.....] - ETA: 0s - loss: 0.3043 - accuracy: 0.9134
1606/1875 [========================>.....] - ETA: 0s - loss: 0.3050 - accuracy: 0.9133
1643/1875 [=========================>....] - ETA: 0s - loss: 0.3041 - accuracy: 0.9135
1684/1875 [=========================>....] - ETA: 0s - loss: 0.3046 - accuracy: 0.9134
1730/1875 [==========================>...] - ETA: 0s - loss: 0.3048 - accuracy: 0.9133
1771/1875 [===========================>..] - ETA: 0s - loss: 0.3041 - accuracy: 0.9134
1812/1875 [===========================>..] - ETA: 0s - loss: 0.3039 - accuracy: 0.9135
1846/1875 [============================>.] - ETA: 0s - loss: 0.3035 - accuracy: 0.9136
1875/1875 [==============================] - 2s 1ms/step - loss: 0.3029 - accuracy: 0.9136
Epoch 3/10
   1/1875 [..............................] - ETA: 0s - loss: 0.1570 - accuracy: 0.9375
  44/1875 [..............................] - ETA: 2s - loss: 0.2599 - accuracy: 0.9219
  85/1875 [>.............................] - ETA: 2s - loss: 0.2816 - accuracy: 0.9151
 126/1875 [=>............................] - ETA: 2s - loss: 0.2910 - accuracy: 0.9142
 163/1875 [=>............................] - ETA: 2s - loss: 0.2908 - accuracy: 0.9160
 206/1875 [==>...........................] - ETA: 2s - loss: 0.2883 - accuracy: 0.9169
 246/1875 [==>...........................] - ETA: 1s - loss: 0.2899 - accuracy: 0.9151
 289/1875 [===>..........................] - ETA: 1s - loss: 0.2821 - accuracy: 0.9171
 328/1875 [====>.........................] - ETA: 1s - loss: 0.2831 - accuracy: 0.9175
 371/1875 [====>.........................] - ETA: 1s - loss: 0.2830 - accuracy: 0.9181
 401/1875 [=====>........................] - ETA: 1s - loss: 0.2847 - accuracy: 0.9175
 438/1875 [======>.......................] - ETA: 1s - loss: 0.2848 - accuracy: 0.9175
 479/1875 [======>.......................] - ETA: 1s - loss: 0.2847 - accuracy: 0.9168
 511/1875 [=======>......................] - ETA: 1s - loss: 0.2824 - accuracy: 0.9177
 544/1875 [=======>......................] - ETA: 1s - loss: 0.2839 - accuracy: 0.9175
 577/1875 [========>.....................] - ETA: 1s - loss: 0.2858 - accuracy: 0.9172
 623/1875 [========>.....................] - ETA: 1s - loss: 0.2880 - accuracy: 0.9172
 668/1875 [=========>....................] - ETA: 1s - loss: 0.2872 - accuracy: 0.9170
 705/1875 [==========>...................] - ETA: 1s - loss: 0.2867 - accuracy: 0.9170
 747/1875 [==========>...................] - ETA: 1s - loss: 0.2860 - accuracy: 0.9172
 780/1875 [===========>..................] - ETA: 1s - loss: 0.2857 - accuracy: 0.9170
 812/1875 [===========>..................] - ETA: 1s - loss: 0.2866 - accuracy: 0.9168
 839/1875 [============>.................] - ETA: 1s - loss: 0.2858 - accuracy: 0.9171
 871/1875 [============>.................] - ETA: 1s - loss: 0.2869 - accuracy: 0.9169
 905/1875 [=============>................] - ETA: 1s - loss: 0.2850 - accuracy: 0.9175
 938/1875 [==============>...............] - ETA: 1s - loss: 0.2862 - accuracy: 0.9168
 968/1875 [==============>...............] - ETA: 1s - loss: 0.2865 - accuracy: 0.9169
 999/1875 [==============>...............] - ETA: 1s - loss: 0.2861 - accuracy: 0.9170
1028/1875 [===============>..............] - ETA: 1s - loss: 0.2861 - accuracy: 0.9170
1053/1875 [===============>..............] - ETA: 1s - loss: 0.2874 - accuracy: 0.9165
1094/1875 [================>.............] - ETA: 1s - loss: 0.2869 - accuracy: 0.9170
1139/1875 [=================>............] - ETA: 1s - loss: 0.2866 - accuracy: 0.9170
1178/1875 [=================>............] - ETA: 0s - loss: 0.2860 - accuracy: 0.9172
1209/1875 [==================>...........] - ETA: 0s - loss: 0.2867 - accuracy: 0.9173
1241/1875 [==================>...........] - ETA: 0s - loss: 0.2888 - accuracy: 0.9168
1276/1875 [===================>..........] - ETA: 0s - loss: 0.2896 - accuracy: 0.9170
1310/1875 [===================>..........] - ETA: 0s - loss: 0.2913 - accuracy: 0.9168
1345/1875 [====================>.........] - ETA: 0s - loss: 0.2904 - accuracy: 0.9172
1372/1875 [====================>.........] - ETA: 0s - loss: 0.2896 - accuracy: 0.9174
1409/1875 [=====================>........] - ETA: 0s - loss: 0.2915 - accuracy: 0.9169
1437/1875 [=====================>........] - ETA: 0s - loss: 0.2914 - accuracy: 0.9168
1475/1875 [======================>.......] - ETA: 0s - loss: 0.2914 - accuracy: 0.9167
1512/1875 [=======================>......] - ETA: 0s - loss: 0.2918 - accuracy: 0.9168
1548/1875 [=======================>......] - ETA: 0s - loss: 0.2912 - accuracy: 0.9171
1582/1875 [========================>.....] - ETA: 0s - loss: 0.2912 - accuracy: 0.9170
1615/1875 [========================>.....] - ETA: 0s - loss: 0.2905 - accuracy: 0.9172
1651/1875 [=========================>....] - ETA: 0s - loss: 0.2918 - accuracy: 0.9170
1689/1875 [==========================>...] - ETA: 0s - loss: 0.2909 - accuracy: 0.9171
1725/1875 [==========================>...] - ETA: 0s - loss: 0.2910 - accuracy: 0.9170
1753/1875 [===========================>..] - ETA: 0s - loss: 0.2910 - accuracy: 0.9170
1780/1875 [===========================>..] - ETA: 0s - loss: 0.2905 - accuracy: 0.9171
1820/1875 [============================>.] - ETA: 0s - loss: 0.2906 - accuracy: 0.9172
1864/1875 [============================>.] - ETA: 0s - loss: 0.2903 - accuracy: 0.9174
1875/1875 [==============================] - 3s 1ms/step - loss: 0.2898 - accuracy: 0.9175
Epoch 4/10
   1/1875 [..............................] - ETA: 0s - loss: 0.4618 - accuracy: 0.8438
  38/1875 [..............................] - ETA: 2s - loss: 0.2553 - accuracy: 0.9252
  74/1875 [>.............................] - ETA: 2s - loss: 0.2641 - accuracy: 0.9257
 109/1875 [>.............................] - ETA: 2s - loss: 0.2856 - accuracy: 0.9197
 154/1875 [=>............................] - ETA: 2s - loss: 0.2822 - accuracy: 0.9219
 197/1875 [==>...........................] - ETA: 2s - loss: 0.2860 - accuracy: 0.9205
 222/1875 [==>...........................] - ETA: 2s - loss: 0.2820 - accuracy: 0.9217
 254/1875 [===>..........................] - ETA: 2s - loss: 0.2813 - accuracy: 0.9231
 289/1875 [===>..........................] - ETA: 2s - loss: 0.2800 - accuracy: 0.9225
 329/1875 [====>.........................] - ETA: 2s - loss: 0.2859 - accuracy: 0.9208
 372/1875 [====>.........................] - ETA: 2s - loss: 0.2869 - accuracy: 0.9204
 412/1875 [=====>........................] - ETA: 1s - loss: 0.2864 - accuracy: 0.9205
 451/1875 [======>.......................] - ETA: 1s - loss: 0.2834 - accuracy: 0.9209
 496/1875 [======>.......................] - ETA: 1s - loss: 0.2826 - accuracy: 0.9215
 537/1875 [=======>......................] - ETA: 1s - loss: 0.2769 - accuracy: 0.9231
 575/1875 [========>.....................] - ETA: 1s - loss: 0.2753 - accuracy: 0.9235
 613/1875 [========>.....................] - ETA: 1s - loss: 0.2754 - accuracy: 0.9231
 639/1875 [=========>....................] - ETA: 1s - loss: 0.2762 - accuracy: 0.9233
 679/1875 [=========>....................] - ETA: 1s - loss: 0.2773 - accuracy: 0.9225
 724/1875 [==========>...................] - ETA: 1s - loss: 0.2786 - accuracy: 0.9217
 773/1875 [===========>..................] - ETA: 1s - loss: 0.2801 - accuracy: 0.9213
 807/1875 [===========>..................] - ETA: 1s - loss: 0.2805 - accuracy: 0.9210
 840/1875 [============>.................] - ETA: 1s - loss: 0.2791 - accuracy: 0.9214
 878/1875 [=============>................] - ETA: 1s - loss: 0.2776 - accuracy: 0.9215
 923/1875 [=============>................] - ETA: 1s - loss: 0.2749 - accuracy: 0.9225
 968/1875 [==============>...............] - ETA: 1s - loss: 0.2758 - accuracy: 0.9221
1008/1875 [===============>..............] - ETA: 1s - loss: 0.2762 - accuracy: 0.9221
1052/1875 [===============>..............] - ETA: 1s - loss: 0.2770 - accuracy: 0.9221
1097/1875 [================>.............] - ETA: 0s - loss: 0.2770 - accuracy: 0.9223
1141/1875 [=================>............] - ETA: 0s - loss: 0.2777 - accuracy: 0.9221
1179/1875 [=================>............] - ETA: 0s - loss: 0.2785 - accuracy: 0.9219
1221/1875 [==================>...........] - ETA: 0s - loss: 0.2797 - accuracy: 0.9215
1267/1875 [===================>..........] - ETA: 0s - loss: 0.2790 - accuracy: 0.9216
1311/1875 [===================>..........] - ETA: 0s - loss: 0.2793 - accuracy: 0.9215
1357/1875 [====================>.........] - ETA: 0s - loss: 0.2797 - accuracy: 0.9212
1397/1875 [=====================>........] - ETA: 0s - loss: 0.2788 - accuracy: 0.9217
1441/1875 [======================>.......] - ETA: 0s - loss: 0.2800 - accuracy: 0.9213
1480/1875 [======================>.......] - ETA: 0s - loss: 0.2805 - accuracy: 0.9213
1521/1875 [=======================>......] - ETA: 0s - loss: 0.2802 - accuracy: 0.9213
1562/1875 [=======================>......] - ETA: 0s - loss: 0.2807 - accuracy: 0.9211
1603/1875 [========================>.....] - ETA: 0s - loss: 0.2812 - accuracy: 0.9211
1645/1875 [=========================>....] - ETA: 0s - loss: 0.2826 - accuracy: 0.9209
1688/1875 [==========================>...] - ETA: 0s - loss: 0.2824 - accuracy: 0.9209
1734/1875 [==========================>...] - ETA: 0s - loss: 0.2819 - accuracy: 0.9211
1774/1875 [===========================>..] - ETA: 0s - loss: 0.2829 - accuracy: 0.9209
1820/1875 [============================>.] - ETA: 0s - loss: 0.2830 - accuracy: 0.9210
1862/1875 [============================>.] - ETA: 0s - loss: 0.2825 - accuracy: 0.9211
1875/1875 [==============================] - 2s 1ms/step - loss: 0.2824 - accuracy: 0.9211
Epoch 5/10
   1/1875 [..............................] - ETA: 0s - loss: 0.2651 - accuracy: 0.8438
  45/1875 [..............................] - ETA: 2s - loss: 0.2710 - accuracy: 0.9278
  84/1875 [>.............................] - ETA: 2s - loss: 0.2773 - accuracy: 0.9252
 125/1875 [=>............................] - ETA: 2s - loss: 0.2847 - accuracy: 0.9270
 169/1875 [=>............................] - ETA: 2s - loss: 0.2944 - accuracy: 0.9260
 216/1875 [==>...........................] - ETA: 1s - loss: 0.2885 - accuracy: 0.9266
 259/1875 [===>..........................] - ETA: 1s - loss: 0.2879 - accuracy: 0.9254
 298/1875 [===>..........................] - ETA: 1s - loss: 0.2808 - accuracy: 0.9266
 344/1875 [====>.........................] - ETA: 1s - loss: 0.2800 - accuracy: 0.9255
 391/1875 [=====>........................] - ETA: 1s - loss: 0.2771 - accuracy: 0.9269
 430/1875 [=====>........................] - ETA: 1s - loss: 0.2749 - accuracy: 0.9273
 470/1875 [======>.......................] - ETA: 1s - loss: 0.2732 - accuracy: 0.9278
 513/1875 [=======>......................] - ETA: 1s - loss: 0.2758 - accuracy: 0.9270
 558/1875 [=======>......................] - ETA: 1s - loss: 0.2764 - accuracy: 0.9259
 593/1875 [========>.....................] - ETA: 1s - loss: 0.2732 - accuracy: 0.9263
 626/1875 [=========>....................] - ETA: 1s - loss: 0.2741 - accuracy: 0.9259
 667/1875 [=========>....................] - ETA: 1s - loss: 0.2748 - accuracy: 0.9257
 712/1875 [==========>...................] - ETA: 1s - loss: 0.2745 - accuracy: 0.9262
 759/1875 [===========>..................] - ETA: 1s - loss: 0.2719 - accuracy: 0.9265
 803/1875 [===========>..................] - ETA: 1s - loss: 0.2734 - accuracy: 0.9262
 841/1875 [============>.................] - ETA: 1s - loss: 0.2721 - accuracy: 0.9265
 883/1875 [=============>................] - ETA: 1s - loss: 0.2727 - accuracy: 0.9263
 928/1875 [=============>................] - ETA: 1s - loss: 0.2731 - accuracy: 0.9259
 967/1875 [==============>...............] - ETA: 1s - loss: 0.2721 - accuracy: 0.9261
1013/1875 [===============>..............] - ETA: 1s - loss: 0.2723 - accuracy: 0.9256
1054/1875 [===============>..............] - ETA: 0s - loss: 0.2730 - accuracy: 0.9254
1097/1875 [================>.............] - ETA: 0s - loss: 0.2726 - accuracy: 0.9255
1140/1875 [=================>............] - ETA: 0s - loss: 0.2705 - accuracy: 0.9258
1186/1875 [=================>............] - ETA: 0s - loss: 0.2731 - accuracy: 0.9252
1227/1875 [==================>...........] - ETA: 0s - loss: 0.2725 - accuracy: 0.9252
1269/1875 [===================>..........] - ETA: 0s - loss: 0.2741 - accuracy: 0.9250
1308/1875 [===================>..........] - ETA: 0s - loss: 0.2750 - accuracy: 0.9250
1354/1875 [====================>.........] - ETA: 0s - loss: 0.2750 - accuracy: 0.9249
1398/1875 [=====================>........] - ETA: 0s - loss: 0.2751 - accuracy: 0.9248
1436/1875 [=====================>........] - ETA: 0s - loss: 0.2756 - accuracy: 0.9244
1477/1875 [======================>.......] - ETA: 0s - loss: 0.2765 - accuracy: 0.9241
1518/1875 [=======================>......] - ETA: 0s - loss: 0.2766 - accuracy: 0.9240
1559/1875 [=======================>......] - ETA: 0s - loss: 0.2785 - accuracy: 0.9234
1601/1875 [========================>.....] - ETA: 0s - loss: 0.2789 - accuracy: 0.9232
1635/1875 [=========================>....] - ETA: 0s - loss: 0.2783 - accuracy: 0.9232
1678/1875 [=========================>....] - ETA: 0s - loss: 0.2775 - accuracy: 0.9232
1724/1875 [==========================>...] - ETA: 0s - loss: 0.2776 - accuracy: 0.9232
1769/1875 [===========================>..] - ETA: 0s - loss: 0.2785 - accuracy: 0.9229
1808/1875 [===========================>..] - ETA: 0s - loss: 0.2784 - accuracy: 0.9228
1850/1875 [============================>.] - ETA: 0s - loss: 0.2780 - accuracy: 0.9228
1875/1875 [==============================] - 2s 1ms/step - loss: 0.2781 - accuracy: 0.9228
Epoch 6/10
   1/1875 [..............................] - ETA: 1s - loss: 0.2837 - accuracy: 0.9375
  42/1875 [..............................] - ETA: 2s - loss: 0.2570 - accuracy: 0.9189
  80/1875 [>.............................] - ETA: 2s - loss: 0.2579 - accuracy: 0.9230
 112/1875 [>.............................] - ETA: 2s - loss: 0.2717 - accuracy: 0.9194
 150/1875 [=>............................] - ETA: 2s - loss: 0.2602 - accuracy: 0.9223
 186/1875 [=>............................] - ETA: 2s - loss: 0.2621 - accuracy: 0.9234
 228/1875 [==>...........................] - ETA: 2s - loss: 0.2624 - accuracy: 0.9235
 275/1875 [===>..........................] - ETA: 2s - loss: 0.2640 - accuracy: 0.9240
 314/1875 [====>.........................] - ETA: 1s - loss: 0.2632 - accuracy: 0.9253
 357/1875 [====>.........................] - ETA: 1s - loss: 0.2655 - accuracy: 0.9253
 397/1875 [=====>........................] - ETA: 1s - loss: 0.2663 - accuracy: 0.9247
 444/1875 [======>.......................] - ETA: 1s - loss: 0.2667 - accuracy: 0.9257
 490/1875 [======>.......................] - ETA: 1s - loss: 0.2673 - accuracy: 0.9263
 530/1875 [=======>......................] - ETA: 1s - loss: 0.2692 - accuracy: 0.9259
 571/1875 [========>.....................] - ETA: 1s - loss: 0.2669 - accuracy: 0.9262
 617/1875 [========>.....................] - ETA: 1s - loss: 0.2673 - accuracy: 0.9262
 663/1875 [=========>....................] - ETA: 1s - loss: 0.2675 - accuracy: 0.9263
 706/1875 [==========>...................] - ETA: 1s - loss: 0.2673 - accuracy: 0.9261
 743/1875 [==========>...................] - ETA: 1s - loss: 0.2666 - accuracy: 0.9261
 783/1875 [===========>..................] - ETA: 1s - loss: 0.2683 - accuracy: 0.9257
 832/1875 [============>.................] - ETA: 1s - loss: 0.2687 - accuracy: 0.9253
 869/1875 [============>.................] - ETA: 1s - loss: 0.2675 - accuracy: 0.9256
 910/1875 [=============>................] - ETA: 1s - loss: 0.2673 - accuracy: 0.9257
 948/1875 [==============>...............] - ETA: 1s - loss: 0.2678 - accuracy: 0.9257
 992/1875 [==============>...............] - ETA: 1s - loss: 0.2690 - accuracy: 0.9255
1035/1875 [===============>..............] - ETA: 1s - loss: 0.2684 - accuracy: 0.9258
1062/1875 [===============>..............] - ETA: 1s - loss: 0.2706 - accuracy: 0.9254
1067/1875 [================>.............] - ETA: 1s - loss: 0.2710 - accuracy: 0.9254
1086/1875 [================>.............] - ETA: 1s - loss: 0.2715 - accuracy: 0.9252
1131/1875 [=================>............] - ETA: 0s - loss: 0.2723 - accuracy: 0.9249
1175/1875 [=================>............] - ETA: 0s - loss: 0.2728 - accuracy: 0.9245
1214/1875 [==================>...........] - ETA: 0s - loss: 0.2739 - accuracy: 0.9244
1259/1875 [===================>..........] - ETA: 0s - loss: 0.2730 - accuracy: 0.9243
1300/1875 [===================>..........] - ETA: 0s - loss: 0.2730 - accuracy: 0.9244
1341/1875 [====================>.........] - ETA: 0s - loss: 0.2725 - accuracy: 0.9244
1387/1875 [=====================>........] - ETA: 0s - loss: 0.2721 - accuracy: 0.9247
1428/1875 [=====================>........] - ETA: 0s - loss: 0.2716 - accuracy: 0.9246
1471/1875 [======================>.......] - ETA: 0s - loss: 0.2724 - accuracy: 0.9243
1511/1875 [=======================>......] - ETA: 0s - loss: 0.2716 - accuracy: 0.9244
1559/1875 [=======================>......] - ETA: 0s - loss: 0.2725 - accuracy: 0.9240
1603/1875 [========================>.....] - ETA: 0s - loss: 0.2735 - accuracy: 0.9240
1644/1875 [=========================>....] - ETA: 0s - loss: 0.2732 - accuracy: 0.9241
1683/1875 [=========================>....] - ETA: 0s - loss: 0.2739 - accuracy: 0.9243
1725/1875 [==========================>...] - ETA: 0s - loss: 0.2736 - accuracy: 0.9242
1774/1875 [===========================>..] - ETA: 0s - loss: 0.2737 - accuracy: 0.9241
1818/1875 [============================>.] - ETA: 0s - loss: 0.2737 - accuracy: 0.9240
1857/1875 [============================>.] - ETA: 0s - loss: 0.2740 - accuracy: 0.9239
1875/1875 [==============================] - 2s 1ms/step - loss: 0.2739 - accuracy: 0.9239
Epoch 7/10
   1/1875 [..............................] - ETA: 0s - loss: 0.0794 - accuracy: 0.9688
  44/1875 [..............................] - ETA: 2s - loss: 0.2840 - accuracy: 0.9226
  90/1875 [>.............................] - ETA: 1s - loss: 0.2659 - accuracy: 0.9285
 132/1875 [=>............................] - ETA: 1s - loss: 0.2825 - accuracy: 0.9228
 171/1875 [=>............................] - ETA: 1s - loss: 0.2733 - accuracy: 0.9256
 212/1875 [==>...........................] - ETA: 1s - loss: 0.2769 - accuracy: 0.9260
 254/1875 [===>..........................] - ETA: 1s - loss: 0.2788 - accuracy: 0.9263
 302/1875 [===>..........................] - ETA: 1s - loss: 0.2793 - accuracy: 0.9251
 348/1875 [====>.........................] - ETA: 1s - loss: 0.2778 - accuracy: 0.9246
 389/1875 [=====>........................] - ETA: 1s - loss: 0.2762 - accuracy: 0.9251
 431/1875 [=====>........................] - ETA: 1s - loss: 0.2728 - accuracy: 0.9258
 473/1875 [======>.......................] - ETA: 1s - loss: 0.2745 - accuracy: 0.9259
 519/1875 [=======>......................] - ETA: 1s - loss: 0.2740 - accuracy: 0.9264
 564/1875 [========>.....................] - ETA: 1s - loss: 0.2742 - accuracy: 0.9257
 606/1875 [========>.....................] - ETA: 1s - loss: 0.2718 - accuracy: 0.9266
 648/1875 [=========>....................] - ETA: 1s - loss: 0.2704 - accuracy: 0.9264
 696/1875 [==========>...................] - ETA: 1s - loss: 0.2710 - accuracy: 0.9267
 740/1875 [==========>...................] - ETA: 1s - loss: 0.2697 - accuracy: 0.9274
 783/1875 [===========>..................] - ETA: 1s - loss: 0.2703 - accuracy: 0.9271
 822/1875 [============>.................] - ETA: 1s - loss: 0.2698 - accuracy: 0.9268
 864/1875 [============>.................] - ETA: 1s - loss: 0.2721 - accuracy: 0.9261
 910/1875 [=============>................] - ETA: 1s - loss: 0.2721 - accuracy: 0.9260
 953/1875 [==============>...............] - ETA: 1s - loss: 0.2741 - accuracy: 0.9256
 995/1875 [==============>...............] - ETA: 1s - loss: 0.2736 - accuracy: 0.9254
1037/1875 [===============>..............] - ETA: 0s - loss: 0.2743 - accuracy: 0.9249
1085/1875 [================>.............] - ETA: 0s - loss: 0.2753 - accuracy: 0.9245
1130/1875 [=================>............] - ETA: 0s - loss: 0.2754 - accuracy: 0.9247
1165/1875 [=================>............] - ETA: 0s - loss: 0.2743 - accuracy: 0.9250
1208/1875 [==================>...........] - ETA: 0s - loss: 0.2729 - accuracy: 0.9252
1251/1875 [===================>..........] - ETA: 0s - loss: 0.2717 - accuracy: 0.9255
1298/1875 [===================>..........] - ETA: 0s - loss: 0.2704 - accuracy: 0.9258
1339/1875 [====================>.........] - ETA: 0s - loss: 0.2698 - accuracy: 0.9256
1380/1875 [=====================>........] - ETA: 0s - loss: 0.2708 - accuracy: 0.9252
1421/1875 [=====================>........] - ETA: 0s - loss: 0.2710 - accuracy: 0.9251
1468/1875 [======================>.......] - ETA: 0s - loss: 0.2718 - accuracy: 0.9250
1512/1875 [=======================>......] - ETA: 0s - loss: 0.2716 - accuracy: 0.9248
1551/1875 [=======================>......] - ETA: 0s - loss: 0.2707 - accuracy: 0.9249
1595/1875 [========================>.....] - ETA: 0s - loss: 0.2709 - accuracy: 0.9250
1640/1875 [=========================>....] - ETA: 0s - loss: 0.2721 - accuracy: 0.9247
1686/1875 [=========================>....] - ETA: 0s - loss: 0.2716 - accuracy: 0.9249
1730/1875 [==========================>...] - ETA: 0s - loss: 0.2725 - accuracy: 0.9246
1774/1875 [===========================>..] - ETA: 0s - loss: 0.2722 - accuracy: 0.9246
1817/1875 [============================>.] - ETA: 0s - loss: 0.2719 - accuracy: 0.9247
1857/1875 [============================>.] - ETA: 0s - loss: 0.2719 - accuracy: 0.9246
1875/1875 [==============================] - 2s 1ms/step - loss: 0.2726 - accuracy: 0.9243
Epoch 8/10
   1/1875 [..............................] - ETA: 0s - loss: 0.3007 - accuracy: 0.9375
  39/1875 [..............................] - ETA: 2s - loss: 0.2450 - accuracy: 0.9351
  81/1875 [>.............................] - ETA: 2s - loss: 0.2586 - accuracy: 0.9336
 120/1875 [>.............................] - ETA: 2s - loss: 0.2449 - accuracy: 0.9339
 166/1875 [=>............................] - ETA: 2s - loss: 0.2472 - accuracy: 0.9332
 210/1875 [==>...........................] - ETA: 1s - loss: 0.2642 - accuracy: 0.9274
 251/1875 [===>..........................] - ETA: 1s - loss: 0.2653 - accuracy: 0.9278
 292/1875 [===>..........................] - ETA: 1s - loss: 0.2651 - accuracy: 0.9268
 333/1875 [====>.........................] - ETA: 1s - loss: 0.2615 - accuracy: 0.9283
 380/1875 [=====>........................] - ETA: 1s - loss: 0.2608 - accuracy: 0.9280
 424/1875 [=====>........................] - ETA: 1s - loss: 0.2615 - accuracy: 0.9284
 467/1875 [======>.......................] - ETA: 1s - loss: 0.2598 - accuracy: 0.9288
 502/1875 [=======>......................] - ETA: 1s - loss: 0.2602 - accuracy: 0.9293
 549/1875 [=======>......................] - ETA: 1s - loss: 0.2616 - accuracy: 0.9287
 593/1875 [========>.....................] - ETA: 1s - loss: 0.2636 - accuracy: 0.9278
 635/1875 [=========>....................] - ETA: 1s - loss: 0.2657 - accuracy: 0.9277
 675/1875 [=========>....................] - ETA: 1s - loss: 0.2662 - accuracy: 0.9277
 717/1875 [==========>...................] - ETA: 1s - loss: 0.2636 - accuracy: 0.9280
 764/1875 [===========>..................] - ETA: 1s - loss: 0.2647 - accuracy: 0.9278
 802/1875 [===========>..................] - ETA: 1s - loss: 0.2663 - accuracy: 0.9270
 845/1875 [============>.................] - ETA: 1s - loss: 0.2687 - accuracy: 0.9262
 886/1875 [=============>................] - ETA: 1s - loss: 0.2664 - accuracy: 0.9264
 934/1875 [=============>................] - ETA: 1s - loss: 0.2685 - accuracy: 0.9259
 979/1875 [==============>...............] - ETA: 1s - loss: 0.2705 - accuracy: 0.9252
1017/1875 [===============>..............] - ETA: 1s - loss: 0.2698 - accuracy: 0.9252
1062/1875 [===============>..............] - ETA: 0s - loss: 0.2693 - accuracy: 0.9251
1108/1875 [================>.............] - ETA: 0s - loss: 0.2686 - accuracy: 0.9249
1155/1875 [=================>............] - ETA: 0s - loss: 0.2681 - accuracy: 0.9249
1192/1875 [==================>...........] - ETA: 0s - loss: 0.2669 - accuracy: 0.9250
1236/1875 [==================>...........] - ETA: 0s - loss: 0.2675 - accuracy: 0.9250
1279/1875 [===================>..........] - ETA: 0s - loss: 0.2673 - accuracy: 0.9246
1327/1875 [====================>.........] - ETA: 0s - loss: 0.2677 - accuracy: 0.9246
1368/1875 [====================>.........] - ETA: 0s - loss: 0.2674 - accuracy: 0.9247
1408/1875 [=====================>........] - ETA: 0s - loss: 0.2681 - accuracy: 0.9245
1454/1875 [======================>.......] - ETA: 0s - loss: 0.2673 - accuracy: 0.9247
1487/1875 [======================>.......] - ETA: 0s - loss: 0.2673 - accuracy: 0.9247
1523/1875 [=======================>......] - ETA: 0s - loss: 0.2682 - accuracy: 0.9245
1561/1875 [=======================>......] - ETA: 0s - loss: 0.2683 - accuracy: 0.9246
1608/1875 [========================>.....] - ETA: 0s - loss: 0.2677 - accuracy: 0.9248
1651/1875 [=========================>....] - ETA: 0s - loss: 0.2675 - accuracy: 0.9250
1690/1875 [==========================>...] - ETA: 0s - loss: 0.2679 - accuracy: 0.9250
1736/1875 [==========================>...] - ETA: 0s - loss: 0.2674 - accuracy: 0.9250
1778/1875 [===========================>..] - ETA: 0s - loss: 0.2692 - accuracy: 0.9246
1826/1875 [============================>.] - ETA: 0s - loss: 0.2696 - accuracy: 0.9247
1869/1875 [============================>.] - ETA: 0s - loss: 0.2701 - accuracy: 0.9245
1875/1875 [==============================] - 2s 1ms/step - loss: 0.2702 - accuracy: 0.9245
Epoch 9/10
   1/1875 [..............................] - ETA: 0s - loss: 0.3696 - accuracy: 0.9375
  44/1875 [..............................] - ETA: 2s - loss: 0.2621 - accuracy: 0.9325
  86/1875 [>.............................] - ETA: 2s - loss: 0.2426 - accuracy: 0.9371
 124/1875 [>.............................] - ETA: 2s - loss: 0.2464 - accuracy: 0.9360
 168/1875 [=>............................] - ETA: 2s - loss: 0.2477 - accuracy: 0.9334
 214/1875 [==>...........................] - ETA: 1s - loss: 0.2494 - accuracy: 0.9312
 255/1875 [===>..........................] - ETA: 1s - loss: 0.2470 - accuracy: 0.9311
 297/1875 [===>..........................] - ETA: 1s - loss: 0.2475 - accuracy: 0.9311
 343/1875 [====>.........................] - ETA: 1s - loss: 0.2517 - accuracy: 0.9303
 390/1875 [=====>........................] - ETA: 1s - loss: 0.2538 - accuracy: 0.9298
 417/1875 [=====>........................] - ETA: 1s - loss: 0.2531 - accuracy: 0.9300
 458/1875 [======>.......................] - ETA: 1s - loss: 0.2546 - accuracy: 0.9295
 496/1875 [======>.......................] - ETA: 1s - loss: 0.2553 - accuracy: 0.9296
 541/1875 [=======>......................] - ETA: 1s - loss: 0.2564 - accuracy: 0.9305
 590/1875 [========>.....................] - ETA: 1s - loss: 0.2596 - accuracy: 0.9297
 627/1875 [=========>....................] - ETA: 1s - loss: 0.2616 - accuracy: 0.9292
 669/1875 [=========>....................] - ETA: 1s - loss: 0.2636 - accuracy: 0.9288
 713/1875 [==========>...................] - ETA: 1s - loss: 0.2626 - accuracy: 0.9287
 763/1875 [===========>..................] - ETA: 1s - loss: 0.2625 - accuracy: 0.9286
 806/1875 [===========>..................] - ETA: 1s - loss: 0.2626 - accuracy: 0.9286
 846/1875 [============>.................] - ETA: 1s - loss: 0.2628 - accuracy: 0.9286
 891/1875 [=============>................] - ETA: 1s - loss: 0.2623 - accuracy: 0.9288
 936/1875 [=============>................] - ETA: 1s - loss: 0.2613 - accuracy: 0.9288
 979/1875 [==============>...............] - ETA: 1s - loss: 0.2598 - accuracy: 0.9290
1019/1875 [===============>..............] - ETA: 1s - loss: 0.2597 - accuracy: 0.9289
1065/1875 [================>.............] - ETA: 0s - loss: 0.2603 - accuracy: 0.9286
1111/1875 [================>.............] - ETA: 0s - loss: 0.2616 - accuracy: 0.9284
1156/1875 [=================>............] - ETA: 0s - loss: 0.2624 - accuracy: 0.9278
1193/1875 [==================>...........] - ETA: 0s - loss: 0.2623 - accuracy: 0.9277
1237/1875 [==================>...........] - ETA: 0s - loss: 0.2626 - accuracy: 0.9273
1285/1875 [===================>..........] - ETA: 0s - loss: 0.2637 - accuracy: 0.9271
1328/1875 [====================>.........] - ETA: 0s - loss: 0.2643 - accuracy: 0.9269
1374/1875 [====================>.........] - ETA: 0s - loss: 0.2644 - accuracy: 0.9269
1414/1875 [=====================>........] - ETA: 0s - loss: 0.2658 - accuracy: 0.9265
1460/1875 [======================>.......] - ETA: 0s - loss: 0.2669 - accuracy: 0.9262
1491/1875 [======================>.......] - ETA: 0s - loss: 0.2667 - accuracy: 0.9262
1532/1875 [=======================>......] - ETA: 0s - loss: 0.2666 - accuracy: 0.9263
1580/1875 [========================>.....] - ETA: 0s - loss: 0.2668 - accuracy: 0.9260
1618/1875 [========================>.....] - ETA: 0s - loss: 0.2670 - accuracy: 0.9259
1662/1875 [=========================>....] - ETA: 0s - loss: 0.2664 - accuracy: 0.9260
1706/1875 [==========================>...] - ETA: 0s - loss: 0.2667 - accuracy: 0.9258
1755/1875 [===========================>..] - ETA: 0s - loss: 0.2669 - accuracy: 0.9258
1786/1875 [===========================>..] - ETA: 0s - loss: 0.2670 - accuracy: 0.9257
1829/1875 [============================>.] - ETA: 0s - loss: 0.2669 - accuracy: 0.9257
1872/1875 [============================>.] - ETA: 0s - loss: 0.2675 - accuracy: 0.9257
1875/1875 [==============================] - 2s 1ms/step - loss: 0.2674 - accuracy: 0.9257
Epoch 10/10
   1/1875 [..............................] - ETA: 1s - loss: 0.0655 - accuracy: 0.9688
  46/1875 [..............................] - ETA: 2s - loss: 0.2540 - accuracy: 0.9293
  94/1875 [>.............................] - ETA: 1s - loss: 0.2598 - accuracy: 0.9299
 131/1875 [=>............................] - ETA: 2s - loss: 0.2618 - accuracy: 0.9282
 172/1875 [=>............................] - ETA: 2s - loss: 0.2585 - accuracy: 0.9299
 218/1875 [==>...........................] - ETA: 1s - loss: 0.2571 - accuracy: 0.9292
 266/1875 [===>..........................] - ETA: 1s - loss: 0.2511 - accuracy: 0.9296
 305/1875 [===>..........................] - ETA: 1s - loss: 0.2552 - accuracy: 0.9293
 347/1875 [====>.........................] - ETA: 1s - loss: 0.2612 - accuracy: 0.9271
 392/1875 [=====>........................] - ETA: 1s - loss: 0.2649 - accuracy: 0.9265
 439/1875 [======>.......................] - ETA: 1s - loss: 0.2645 - accuracy: 0.9267
 469/1875 [======>.......................] - ETA: 1s - loss: 0.2594 - accuracy: 0.9277
 508/1875 [=======>......................] - ETA: 1s - loss: 0.2589 - accuracy: 0.9278
 553/1875 [=======>......................] - ETA: 1s - loss: 0.2605 - accuracy: 0.9275
 599/1875 [========>.....................] - ETA: 1s - loss: 0.2612 - accuracy: 0.9275
 642/1875 [=========>....................] - ETA: 1s - loss: 0.2606 - accuracy: 0.9274
 680/1875 [=========>....................] - ETA: 1s - loss: 0.2633 - accuracy: 0.9271
 723/1875 [==========>...................] - ETA: 1s - loss: 0.2619 - accuracy: 0.9274
 766/1875 [===========>..................] - ETA: 1s - loss: 0.2612 - accuracy: 0.9275
 813/1875 [============>.................] - ETA: 1s - loss: 0.2634 - accuracy: 0.9271
 857/1875 [============>.................] - ETA: 1s - loss: 0.2660 - accuracy: 0.9270
 897/1875 [=============>................] - ETA: 1s - loss: 0.2662 - accuracy: 0.9272
 941/1875 [==============>...............] - ETA: 1s - loss: 0.2675 - accuracy: 0.9270
 983/1875 [==============>...............] - ETA: 1s - loss: 0.2681 - accuracy: 0.9271
1028/1875 [===============>..............] - ETA: 0s - loss: 0.2683 - accuracy: 0.9269
1074/1875 [================>.............] - ETA: 0s - loss: 0.2692 - accuracy: 0.9268
1117/1875 [================>.............] - ETA: 0s - loss: 0.2700 - accuracy: 0.9264
1158/1875 [=================>............] - ETA: 0s - loss: 0.2705 - accuracy: 0.9261
1204/1875 [==================>...........] - ETA: 0s - loss: 0.2693 - accuracy: 0.9263
1251/1875 [===================>..........] - ETA: 0s - loss: 0.2685 - accuracy: 0.9262
1288/1875 [===================>..........] - ETA: 0s - loss: 0.2686 - accuracy: 0.9261
1328/1875 [====================>.........] - ETA: 0s - loss: 0.2677 - accuracy: 0.9260
1370/1875 [====================>.........] - ETA: 0s - loss: 0.2665 - accuracy: 0.9263
1417/1875 [=====================>........] - ETA: 0s - loss: 0.2670 - accuracy: 0.9264
1460/1875 [======================>.......] - ETA: 0s - loss: 0.2677 - accuracy: 0.9260
1498/1875 [======================>.......] - ETA: 0s - loss: 0.2670 - accuracy: 0.9261
1543/1875 [=======================>......] - ETA: 0s - loss: 0.2669 - accuracy: 0.9261
1588/1875 [========================>.....] - ETA: 0s - loss: 0.2678 - accuracy: 0.9259
1632/1875 [=========================>....] - ETA: 0s - loss: 0.2669 - accuracy: 0.9262
1674/1875 [=========================>....] - ETA: 0s - loss: 0.2661 - accuracy: 0.9264
1715/1875 [==========================>...] - ETA: 0s - loss: 0.2667 - accuracy: 0.9262
1757/1875 [===========================>..] - ETA: 0s - loss: 0.2665 - accuracy: 0.9263
1804/1875 [===========================>..] - ETA: 0s - loss: 0.2663 - accuracy: 0.9264
1848/1875 [============================>.] - ETA: 0s - loss: 0.2657 - accuracy: 0.9266
1875/1875 [==============================] - 2s 1ms/step - loss: 0.2657 - accuracy: 0.9265
  1/313 [..............................] - ETA: 0s - loss: 0.2607 - accuracy: 0.9688
 32/313 [==>...........................] - ETA: 0s - loss: 0.2978 - accuracy: 0.9131
 49/313 [===>..........................] - ETA: 0s - loss: 0.3345 - accuracy: 0.9005
 79/313 [======>.......................] - ETA: 0s - loss: 0.3608 - accuracy: 0.8964
111/313 [=========>....................] - ETA: 0s - loss: 0.3356 - accuracy: 0.9046
144/313 [============>.................] - ETA: 0s - loss: 0.3485 - accuracy: 0.9010
194/313 [=================>............] - ETA: 0s - loss: 0.3273 - accuracy: 0.9091
243/313 [======================>.......] - ETA: 0s - loss: 0.2934 - accuracy: 0.9185
292/313 [==========================>...] - ETA: 0s - loss: 0.2782 - accuracy: 0.9237
313/313 [==============================] - 0s 1ms/step - loss: 0.2806 - accuracy: 0.9219

test loss 0.2805584669113159
accuracy 0.9218999743461609

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值