DL之VGG16:基于VGG16迁移技术实现猫狗分类识别(图片数据量调整→保存h5模型)

DL之VGG16:基于VGG16迁移技术实现猫狗分类识别(图片数据量调整→保存h5模型)


相关文章
DL之VGG16:基于VGG16迁移技术实现猫狗分类识别(图片数据量调整→保存h5模型)
DL之VGG16:基于VGG16迁移技术实现猫狗分类识别(图片数据量调整→保存h5模型)实现

基于VGG16迁移技术实现猫狗分类识别(图片数据量调整→保存h5模型)

设计思路

输出结果

Using TensorFlow backend.
F:\Program Files\Python\Python36\lib\site-packages\tensorflow\python\framework\dtypes.py:526: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
F:\Program Files\Python\Python36\lib\site-packages\tensorflow\python\framework\dtypes.py:527: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint32 = np.dtype([("qint32", np.int32, 1)])
F:\Program Files\Python\Python36\lib\site-packages\tensorflow\python\framework\dtypes.py:532: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  np_resource = np.dtype([("resource", np.ubyte, 1)])

None
2020-11-22 13:40:03.693339: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
Found 17500 images belonging to 2 classes.
Found 7500 images belonging to 2 classes.
-------------显示网络结构--------------------
_________________________________________________________________
Layer (type)                 Output Shape              Param #
=================================================================
input_2 (InputLayer)         (None, 4, 4, 512)         0
_________________________________________________________________
flatten_1 (Flatten)          (None, 8192)              0
_________________________________________________________________
dense_1 (Dense)              (None, 256)               2097408
_________________________________________________________________
activation_1 (Activation)    (None, 256)               0
_________________________________________________________________
dropout_1 (Dropout)          (None, 256)               0
_________________________________________________________________
dense_2 (Dense)              (None, 1)                 257
_________________________________________________________________
activation_2 (Activation)    (None, 1)                 0
=================================================================
Total params: 2,097,665
Trainable params: 2,097,665
Non-trainable params: 0
_________________________________________________________________
None

1488/1488 4s 2ms/step - loss: 0.0139 - acc: 0.9966 - val_loss: 1.0130 - val_acc: 0.8762

2000/2000 6s 3ms/step - loss: 0.0122 - acc: 0.9950 - val_loss: 0.7943 - val_acc: 0.9125

4000/4000 10s 2ms/step - loss: 0.0216 - acc: 0.9945 - val_loss: 0.9137 - val_acc: 0.8812

6000/6000 15s 2ms/step - loss: 0.0262 - acc: 0.9933 - val_loss: 0.6805 - val_acc: 0.8988

6992/6992 20s 3ms/step - loss: 0.0395 - acc: 0.9894 - val_loss: 0.6387 - val_acc: 0.8975

99980/99980 237s 2ms/step - loss: 0.0598 - acc: 0.9922 - val_loss: 1.2305 - val_acc: 0.9100

核心代码

def VGG16(include_top=True,
          weights='imagenet',
          input_tensor=None,
          input_shape=None,
          pooling=None,
          classes=1000,
          **kwargs):
    """Instantiates the VGG16 architecture.

    Optionally loads weights pre-trained on ImageNet.
    Note that the data format convention used by the model is
    the one specified in your Keras config at `~/.keras/keras.json`.

    # Arguments
        include_top: whether to include the 3 fully-connected
            layers at the top of the network.
        weights: one of `None` (random initialization),
              'imagenet' (pre-training on ImageNet),
              or the path to the weights file to be loaded.
        input_tensor: optional Keras tensor
            (i.e. output of `layers.Input()`)
            to use as image input for the model.
        input_shape: optional shape tuple, only to be specified
            if `include_top` is False (otherwise the input shape
            has to be `(224, 224, 3)`
            (with `channels_last` data format)
            or `(3, 224, 224)` (with `channels_first` data format).
            It should have exactly 3 input channels,
            and width and height should be no smaller than 32.
            E.g. `(200, 200, 3)` would be one valid value.
        pooling: Optional pooling mode for feature extraction
            when `include_top` is `False`.
            - `None` means that the output of the model will be
                the 4D tensor output of the
                last convolutional block.
            - `avg` means that global average pooling
                will be applied to the output of the
                last convolutional block, and thus
                the output of the model will be a 2D tensor.
            - `max` means that global max pooling will
                be applied.
        classes: optional number of classes to classify images
            into, only to be specified if `include_top` is True, and
            if no `weights` argument is specified.

    # Returns
        A Keras model instance.

    # Raises
        ValueError: in case of invalid argument for `weights`,
            or invalid input shape.
    """
    backend, layers, models, keras_utils = get_submodules_from_kwargs(kwargs)

    if not (weights in {'imagenet', None} or os.path.exists(weights)):
        raise ValueError('The `weights` argument should be either '
                         '`None` (random initialization), `imagenet` '
                         '(pre-training on ImageNet), '
                         'or the path to the weights file to be loaded.')

    if weights == 'imagenet' and include_top and classes != 1000:
        raise ValueError('If using `weights` as `"imagenet"` with `include_top`'
                         ' as true, `classes` should be 1000')
    # Determine proper input shape
    input_shape = _obtain_input_shape(input_shape,
                                      default_size=224,
                                      min_size=32,
                                      data_format=backend.image_data_format(),
                                      require_flatten=include_top,
                                      weights=weights)

    if input_tensor is None:
        img_input = layers.Input(shape=input_shape)
    else:
        if not backend.is_keras_tensor(input_tensor):
            img_input = layers.Input(tensor=input_tensor, shape=input_shape)
        else:
            img_input = input_tensor
    # Block 1
    x = layers.Conv2D(64, (3, 3),
                      activation='relu',
                      padding='same',
                      name='block1_conv1')(img_input)
    x = layers.Conv2D(64, (3, 3),
                      activation='relu',
                      padding='same',
                      name='block1_conv2')(x)
    x = layers.MaxPooling2D((2, 2), strides=(2, 2), name='block1_pool')(x)

    # Block 2
    x = layers.Conv2D(128, (3, 3),
                      activation='relu',
                      padding='same',
                      name='block2_conv1')(x)
    x = layers.Conv2D(128, (3, 3),
                      activation='relu',
                      padding='same',
                      name='block2_conv2')(x)
    x = layers.MaxPooling2D((2, 2), strides=(2, 2), name='block2_pool')(x)

    # Block 3
    x = layers.Conv2D(256, (3, 3),
                      activation='relu',
                      padding='same',
                      name='block3_conv1')(x)
    x = layers.Conv2D(256, (3, 3),
                      activation='relu',
                      padding='same',
                      name='block3_conv2')(x)
    x = layers.Conv2D(256, (3, 3),
                      activation='relu',
                      padding='same',
                      name='block3_conv3')(x)
    x = layers.MaxPooling2D((2, 2), strides=(2, 2), name='block3_pool')(x)

    # Block 4
    x = layers.Conv2D(512, (3, 3),
                      activation='relu',
                      padding='same',
                      name='block4_conv1')(x)
    x = layers.Conv2D(512, (3, 3),
                      activation='relu',
                      padding='same',
                      name='block4_conv2')(x)
    x = layers.Conv2D(512, (3, 3),
                      activation='relu',
                      padding='same',
                      name='block4_conv3')(x)
    x = layers.MaxPooling2D((2, 2), strides=(2, 2), name='block4_pool')(x)

    # Block 5
    x = layers.Conv2D(512, (3, 3),
                      activation='relu',
                      padding='same',
                      name='block5_conv1')(x)
    x = layers.Conv2D(512, (3, 3),
                      activation='relu',
                      padding='same',
                      name='block5_conv2')(x)
    x = layers.Conv2D(512, (3, 3),
                      activation='relu',
                      padding='same',
                      name='block5_conv3')(x)
    x = layers.MaxPooling2D((2, 2), strides=(2, 2), name='block5_pool')(x)

    if include_top:
        # Classification block
        x = layers.Flatten(name='flatten')(x)
        x = layers.Dense(4096, activation='relu', name='fc1')(x)
        x = layers.Dense(4096, activation='relu', name='fc2')(x)
        x = layers.Dense(classes, activation='softmax', name='predictions')(x)
    else:
        if pooling == 'avg':
            x = layers.GlobalAveragePooling2D()(x)
        elif pooling == 'max':
            x = layers.GlobalMaxPooling2D()(x)

    # Ensure that the model takes into account
    # any potential predecessors of `input_tensor`.
    if input_tensor is not None:
        inputs = keras_utils.get_source_inputs(input_tensor)
    else:
        inputs = img_input
    # Create model.
    model = models.Model(inputs, x, name='vgg16')

    # Load weights.
    if weights == 'imagenet':
        if include_top:
            weights_path = keras_utils.get_file(
                'vgg16_weights_tf_dim_ordering_tf_kernels.h5',
                WEIGHTS_PATH,
                cache_subdir='models',
                file_hash='64373286793e3c8b2b4e3219cbf3544b')
        else:
            weights_path = keras_utils.get_file(
                'vgg16_weights_tf_dim_ordering_tf_kernels_notop.h5',
                WEIGHTS_PATH_NO_TOP,
                cache_subdir='models',
                file_hash='6d6bbae143d832006294945121d1f1fc')
        model.load_weights(weights_path)
        if backend.backend() == 'theano':
            keras_utils.convert_all_kernels_in_model(model)
    elif weights is not None:
        model.load_weights(weights)

    return model

input_node = Input(shape=feature_size)
z = input_node
z = Flatten()(z)
z = Dense(256)(z)
z = Activation('relu')(z)
z = Dropout(0.5)(z)
z = Dense(1)(z)
z = Activation('sigmoid')(z)

 448/2000 [=====>........................] - ETA: 4s - loss: 0.0556 - acc: 0.9866
 464/2000 [=====>........................] - ETA: 4s - loss: 0.0537 - acc: 0.9871
 496/2000 [======>.......................] - ETA: 4s - loss: 0.0505 - acc: 0.9879
 528/2000 [======>.......................] - ETA: 3s - loss: 0.0475 - acc: 0.9886
 560/2000 [=======>......................] - ETA: 3s - loss: 0.0448 - acc: 0.9893
 592/2000 [=======>......................] - ETA: 3s - loss: 0.0425 - acc: 0.9899
 624/2000 [========>.....................] - ETA: 3s - loss: 0.0422 - acc: 0.9888
 656/2000 [========>.....................] - ETA: 3s - loss: 0.0414 - acc: 0.9878
 688/2000 [=========>....................] - ETA: 3s - loss: 0.0394 - acc: 0.9884
 720/2000 [=========>....................] - ETA: 3s - loss: 0.0378 - acc: 0.9889
 752/2000 [==========>...................] - ETA: 3s - loss: 0.0368 - acc: 0.9894
 784/2000 [==========>...................] - ETA: 3s - loss: 0.0353 - acc: 0.9898
 816/2000 [===========>..................] - ETA: 3s - loss: 0.0339 - acc: 0.9902
 832/2000 [===========>..................] - ETA: 3s - loss: 0.0333 - acc: 0.9904
 864/2000 [===========>..................] - ETA: 3s - loss: 0.0321 - acc: 0.9907
 896/2000 [============>.................] - ETA: 2s - loss: 0.0310 - acc: 0.9911
 928/2000 [============>.................] - ETA: 2s - loss: 0.0299 - acc: 0.9914
 960/2000 [=============>................] - ETA: 2s - loss: 0.0289 - acc: 0.9917
 992/2000 [=============>................] - ETA: 2s - loss: 0.0281 - acc: 0.9919
1024/2000 [==============>...............] - ETA: 2s - loss: 0.0286 - acc: 0.9912
1056/2000 [==============>...............] - ETA: 2s - loss: 0.0278 - acc: 0.9915
1088/2000 [===============>..............] - ETA: 2s - loss: 0.0301 - acc: 0.9908
1104/2000 [===============>..............] - ETA: 2s - loss: 0.0329 - acc: 0.9891
1120/2000 [===============>..............] - ETA: 2s - loss: 0.0325 - acc: 0.9893
1136/2000 [================>.............] - ETA: 2s - loss: 0.0320 - acc: 0.9894
1168/2000 [================>.............] - ETA: 2s - loss: 0.0312 - acc: 0.9897
1200/2000 [=================>............] - ETA: 2s - loss: 0.0318 - acc: 0.9892
1232/2000 [=================>............] - ETA: 2s - loss: 0.0360 - acc: 0.9886
1264/2000 [=================>............] - ETA: 2s - loss: 0.0431 - acc: 0.9881
1296/2000 [==================>...........] - ETA: 1s - loss: 0.0424 - acc: 0.9884
1328/2000 [==================>...........] - ETA: 1s - loss: 0.0414 - acc: 0.9887
1360/2000 [===================>..........] - ETA: 1s - loss: 0.0409 - acc: 0.9890
1392/2000 [===================>..........] - ETA: 1s - loss: 0.0400 - acc: 0.9892
1424/2000 [====================>.........] - ETA: 1s - loss: 0.0399 - acc: 0.9888
1456/2000 [====================>.........] - ETA: 1s - loss: 0.0390 - acc: 0.9890
1488/2000 [=====================>........] - ETA: 1s - loss: 0.0382 - acc: 0.9892
1520/2000 [=====================>........] - ETA: 1s - loss: 0.0374 - acc: 0.9895
1552/2000 [======================>.......] - ETA: 1s - loss: 0.0366 - acc: 0.9897
1584/2000 [======================>.......] - ETA: 1s - loss: 0.0376 - acc: 0.9893
1616/2000 [=======================>......] - ETA: 1s - loss: 0.0370 - acc: 0.9895
1648/2000 [=======================>......] - ETA: 0s - loss: 0.0364 - acc: 0.9897
1680/2000 [========================>.....] - ETA: 0s - loss: 0.0357 - acc: 0.9899
1712/2000 [========================>.....] - ETA: 0s - loss: 0.0351 - acc: 0.9901
1744/2000 [=========================>....] - ETA: 0s - loss: 0.0346 - acc: 0.9903
1776/2000 [=========================>....] - ETA: 0s - loss: 0.0340 - acc: 0.9904
1808/2000 [==========================>...] - ETA: 0s - loss: 0.0334 - acc: 0.9906
1840/2000 [==========================>...] - ETA: 0s - loss: 0.0336 - acc: 0.9902
1872/2000 [===========================>..] - ETA: 0s - loss: 0.0332 - acc: 0.9904
1904/2000 [===========================>..] - ETA: 0s - loss: 0.0327 - acc: 0.9905
1936/2000 [============================>.] - ETA: 0s - loss: 0.0321 - acc: 0.9907
1968/2000 [============================>.] - ETA: 0s - loss: 0.0325 - acc: 0.9903
2000/2000 [==============================] - 6s 3ms/step - loss: 0.0345 - acc: 0.9895 - val_loss: 0.7680 - val_acc: 0.9025
Epoch 36/50

  16/2000 [..............................] - ETA: 9s - loss: 4.0149e-04 - acc: 1.0000
  32/2000 [..............................] - ETA: 8s - loss: 3.0761e-04 - acc: 1.0000
  64/2000 [..............................] - ETA: 7s - loss: 0.0675 - acc: 0.9688
  96/2000 [>.............................] - ETA: 6s - loss: 0.0459 - acc: 0.9792
 128/2000 [>.............................] - ETA: 6s - loss: 0.0418 - acc: 0.9844
 160/2000 [=>............................] - ETA: 5s - loss: 0.0335 - acc: 0.9875
 192/2000 [=>............................] - ETA: 5s - loss: 0.0285 - acc: 0.9896
 224/2000 [==>...........................] - ETA: 5s - loss: 0.0250 - acc: 0.9911
 256/2000 [==>...........................] - ETA: 5s - loss: 0.0219 - acc: 0.9922
 288/2000 [===>..........................] - ETA: 4s - loss: 0.0418 - acc: 0.9861
 320/2000 [===>..........................] - ETA: 4s - loss: 0.0403 - acc: 0.9844
 352/2000 [====>.........................] - ETA: 4s - loss: 0.0374 - acc: 0.9858
 384/2000 [====>.........................] - ETA: 4s - loss: 0.0353 - acc: 0.9870
 416/2000 [=====>........................] - ETA: 4s - loss: 0.0326 - acc: 0.9880
 448/2000 [=====>........................] - ETA: 4s - loss: 0.0314 - acc: 0.9888
 480/2000 [======>.......................] - ETA: 4s - loss: 0.0294 - acc: 0.9896
 496/2000 [======>.......................] - ETA: 4s - loss: 0.0284 - acc: 0.9899
 512/2000 [======>.......................] - ETA: 4s - loss: 0.0275 - acc: 0.9902
 544/2000 [=======>......................] - ETA: 4s - loss: 0.0260 - acc: 0.9908
 560/2000 [=======>......................] - ETA: 4s - loss: 0.0253 - acc: 0.9911
 576/2000 [=======>......................] - ETA: 4s - loss: 0.0253 - acc: 0.9913
 608/2000 [========>.....................] - ETA: 3s - loss: 0.0241 - acc: 0.9918
 640/2000 [========>.....................] - ETA: 3s - loss: 0.0229 - acc: 0.9922
 672/2000 [=========>....................] - ETA: 3s - loss: 0.0219 - acc: 0.9926
 704/2000 [=========>....................] - ETA: 3s - loss: 0.0211 - acc: 0.9929
 736/2000 [==========>...................] - ETA: 3s - loss: 0.0202 - acc: 0.9932
 768/2000 [==========>...................] - ETA: 3s - loss: 0.0193 - acc: 0.9935
 800/2000 [===========>..................] - ETA: 3s - loss: 0.0186 - acc: 0.9938
 832/2000 [===========>..................] - ETA: 3s - loss: 0.0180 - acc: 0.9940
 864/2000 [===========>..................] - ETA: 3s - loss: 0.0174 - acc: 0.9942
 896/2000 [============>.................] - ETA: 3s - loss: 0.0167 - acc: 0.9944
 928/2000 [============>.................] - ETA: 2s - loss: 0.0162 - acc: 0.9946
 960/2000 [=============>................] - ETA: 2s - loss: 0.0157 - acc: 0.9948
 992/2000 [=============>................] - ETA: 2s - loss: 0.0152 - acc: 0.9950
1024/2000 [==============>...............] - ETA: 2s - loss: 0.0148 - acc: 0.9951
1056/2000 [==============>...............] - ETA: 2s - loss: 0.0144 - acc: 0.9953
1088/2000 [===============>..............] - ETA: 2s - loss: 0.0156 - acc: 0.9945
1120/2000 [===============>..............] - ETA: 2s - loss: 0.0152 - acc: 0.9946
1152/2000 [================>.............] - ETA: 2s - loss: 0.0148 - acc: 0.9948
1184/2000 [================>.............] - ETA: 2s - loss: 0.0149 - acc: 0.9949
1216/2000 [=================>............] - ETA: 2s - loss: 0.0146 - acc: 0.9951
1248/2000 [=================>............] - ETA: 2s - loss: 0.0142 - acc: 0.9952
1280/2000 [==================>...........] - ETA: 1s - loss: 0.0138 - acc: 0.9953
1312/2000 [==================>...........] - ETA: 1s - loss: 0.0135 - acc: 0.9954
1344/2000 [===================>..........] - ETA: 1s - loss: 0.0132 - acc: 0.9955
1376/2000 [===================>..........] - ETA: 1s - loss: 0.0129 - acc: 0.9956
1408/2000 [====================>.........] - ETA: 1s - loss: 0.0131 - acc: 0.9957
1440/2000 [====================>.........] - ETA: 1s - loss: 0.0130 - acc: 0.9958
1472/2000 [=====================>........] - ETA: 1s - loss: 0.0129 - acc: 0.9959
1504/2000 [=====================>........] - ETA: 1s - loss: 0.0126 - acc: 0.9960
1536/2000 [======================>.......] - ETA: 1s - loss: 0.0124 - acc: 0.9961
1568/2000 [======================>.......] - ETA: 1s - loss: 0.0121 - acc: 0.9962
1600/2000 [=======================>......] - ETA: 1s - loss: 0.0119 - acc: 0.9962
1632/2000 [=======================>......] - ETA: 0s - loss: 0.0117 - acc: 0.9963
1664/2000 [=======================>......] - ETA: 0s - loss: 0.0115 - acc: 0.9964
1696/2000 [========================>.....] - ETA: 0s - loss: 0.0120 - acc: 0.9965
1728/2000 [========================>.....] - ETA: 0s - loss: 0.0125 - acc: 0.9959
1760/2000 [=========================>....] - ETA: 0s - loss: 0.0144 - acc: 0.9949
1792/2000 [=========================>....] - ETA: 0s - loss: 0.0163 - acc: 0.9939
1824/2000 [==========================>...] - ETA: 0s - loss: 0.0161 - acc: 0.9940
1856/2000 [==========================>...] - ETA: 0s - loss: 0.0158 - acc: 0.9941
1888/2000 [===========================>..] - ETA: 0s - loss: 0.0156 - acc: 0.9942
1920/2000 [===========================>..] - ETA: 0s - loss: 0.0154 - acc: 0.9943
1952/2000 [============================>.] - ETA: 0s - loss: 0.0152 - acc: 0.9944
1984/2000 [============================>.] - ETA: 0s - loss: 0.0149 - acc: 0.9945
2000/2000 [==============================] - 6s 3ms/step - loss: 0.0148 - acc: 0.9945 - val_loss: 0.7079 - val_acc: 0.9025
Epoch 37/50

  16/2000 [..............................] - ETA: 4s - loss: 0.0014 - acc: 1.0000
  48/2000 [..............................] - ETA: 4s - loss: 5.2435e-04 - acc: 1.0000
  80/2000 [>.............................] - ETA: 4s - loss: 3.4611e-04 - acc: 1.0000
 112/2000 [>.............................] - ETA: 4s - loss: 3.5527e-04 - acc: 1.0000
 144/2000 [=>............................] - ETA: 4s - loss: 3.4414e-04 - acc: 1.0000
 176/2000 [=>............................] - ETA: 3s - loss: 0.0080 - acc: 0.9943
 208/2000 [==>...........................] - ETA: 3s - loss: 0.0068 - acc: 0.9952
 240/2000 [==>...........................] - ETA: 3s - loss: 0.0099 - acc: 0.9917
 272/2000 [===>..........................] - ETA: 3s - loss: 0.0106 - acc: 0.9926
 304/2000 [===>..........................] - ETA: 3s - loss: 0.0095 - acc: 0.9934
 336/2000 [====>.........................] - ETA: 3s - loss: 0.0121 - acc: 0.9911
 368/2000 [====>.........................] - ETA: 3s - loss: 0.0113 - acc: 0.9918
 400/2000 [=====>........................] - ETA: 3s - loss: 0.0104 - acc: 0.9925
 432/2000 [=====>........................] - ETA: 3s - loss: 0.0096 - acc: 0.9931
 464/2000 [=====>........................] - ETA: 3s - loss: 0.0089 - acc: 0.9935
 496/2000 [======>.......................] - ETA: 3s - loss: 0.0085 - acc: 0.9940
 528/2000 [======>.......................] - ETA: 3s - loss: 0.0080 - acc: 0.9943
 560/2000 [=======>......................] - ETA: 3s - loss: 0.0077 - acc: 0.9946
 592/2000 [=======>......................] - ETA: 3s - loss: 0.0076 - acc: 0.9949
 624/2000 [========>.....................] - ETA: 3s - loss: 0.0074 - acc: 0.9952
 656/2000 [========>.....................] - ETA: 3s - loss: 0.0074 - acc: 0.9954
 688/2000 [=========>....................] - ETA: 3s - loss: 0.0074 - acc: 0.9956
 704/2000 [=========>....................] - ETA: 3s - loss: 0.0072 - acc: 0.9957
 736/2000 [==========>...................] - ETA: 2s - loss: 0.0077 - acc: 0.9959
 768/2000 [==========>...................] - ETA: 2s - loss: 0.0073 - acc: 0.9961
 800/2000 [===========>..................] - ETA: 2s - loss: 0.0070 - acc: 0.9962
 832/2000 [===========>..................] - ETA: 2s - loss: 0.0083 - acc: 0.9952
 864/2000 [===========>..................] - ETA: 2s - loss: 0.0094 - acc: 0.9942
 896/2000 [============>.................] - ETA: 2s - loss: 0.0103 - acc: 0.9933
 928/2000 [============>.................] - ETA: 2s - loss: 0.0114 - acc: 0.9925
 960/2000 [=============>................] - ETA: 2s - loss: 0.0145 - acc: 0.9917
 992/2000 [=============>................] - ETA: 2s - loss: 0.0143 - acc: 0.9919
1008/2000 [==============>...............] - ETA: 2s - loss: 0.0141 - acc: 0.9921
1040/2000 [==============>...............] - ETA: 2s - loss: 0.0137 - acc: 0.9923
1072/2000 [===============>..............] - ETA: 2s - loss: 0.0133 - acc: 0.9925
1104/2000 [===============>..............] - ETA: 2s - loss: 0.0131 - acc: 0.9928
1136/2000 [================>.............] - ETA: 2s - loss: 0.0127 - acc: 0.9930
1168/2000 [================>.............] - ETA: 2s - loss: 0.0135 - acc: 0.9923
1200/2000 [=================>............] - ETA: 1s - loss: 0.0135 - acc: 0.9925
1232/2000 [=================>............] - ETA: 1s - loss: 0.0216 - acc: 0.9911
1264/2000 [=================>............] - ETA: 1s - loss: 0.0211 - acc: 0.9913
1296/2000 [==================>...........] - ETA: 1s - loss: 0.0207 - acc: 0.9915
1328/2000 [==================>...........] - ETA: 1s - loss: 0.0202 - acc: 0.9917
1360/2000 [===================>..........] - ETA: 1s - loss: 0.0197 - acc: 0.9919
1392/2000 [===================>..........] - ETA: 1s - loss: 0.0193 - acc: 0.9921
1424/2000 [====================>.........] - ETA: 1s - loss: 0.0188 - acc: 0.9923
1456/2000 [====================>.........] - ETA: 1s - loss: 0.0240 - acc: 0.9918
1488/2000 [=====================>........] - ETA: 1s - loss: 0.0234 - acc: 0.9919
1520/2000 [=====================>........] - ETA: 1s - loss: 0.0231 - acc: 0.9921
1552/2000 [======================>.......] - ETA: 1s - loss: 0.0227 - acc: 0.9923
1584/2000 [======================>.......] - ETA: 1s - loss: 0.0223 - acc: 0.9924
1616/2000 [=======================>......] - ETA: 0s - loss: 0.0220 - acc: 0.9926
1648/2000 [=======================>......] - ETA: 0s - loss: 0.0216 - acc: 0.9927
1680/2000 [========================>.....] - ETA: 0s - loss: 0.0212 - acc: 0.9929
1712/2000 [========================>.....] - ETA: 0s - loss: 0.0208 - acc: 0.9930
1744/2000 [=========================>....] - ETA: 0s - loss: 0.0205 - acc: 0.9931
1776/2000 [=========================>....] - ETA: 0s - loss: 0.0202 - acc: 0.9932
1808/2000 [==========================>...] - ETA: 0s - loss: 0.0200 - acc: 0.9934
1840/2000 [==========================>...] - ETA: 0s - loss: 0.0196 - acc: 0.9935
1872/2000 [===========================>..] - ETA: 0s - loss: 0.0230 - acc: 0.9931
1904/2000 [===========================>..] - ETA: 0s - loss: 0.0228 - acc: 0.9932
1936/2000 [============================>.] - ETA: 0s - loss: 0.0224 - acc: 0.9933
1968/2000 [============================>.] - ETA: 0s - loss: 0.0220 - acc: 0.9934
2000/2000 [==============================] - 5s 3ms/step - loss: 0.0217 - acc: 0.9935 - val_loss: 0.7360 - val_acc: 0.9062
Epoch 38/50

  16/2000 [..............................] - ETA: 5s - loss: 5.3922e-04 - acc: 1.0000
  48/2000 [..............................] - ETA: 5s - loss: 0.0154 - acc: 0.9792
  80/2000 [>.............................] - ETA: 4s - loss: 0.0177 - acc: 0.9875
 112/2000 [>.............................] - ETA: 4s - loss: 0.0394 - acc: 0.9821
 144/2000 [=>............................] - ETA: 4s - loss: 0.0348 - acc: 0.9861
 176/2000 [=>............................] - ETA: 4s - loss: 0.0285 - acc: 0.9886
 208/2000 [==>...........................] - ETA: 4s - loss: 0.0243 - acc: 0.9904
 240/2000 [==>...........................] - ETA: 4s - loss: 0.0212 - acc: 0.9917
 272/2000 [===>..........................] - ETA: 4s - loss: 0.0187 - acc: 0.9926
 304/2000 [===>..........................] - ETA: 4s - loss: 0.0168 - acc: 0.9934
 336/2000 [====>.........................] - ETA: 4s - loss: 0.0188 - acc: 0.9911
 368/2000 [====>.........................] - ETA: 3s - loss: 0.0171 - acc: 0.9918
 400/2000 [=====>........................] - ETA: 3s - loss: 0.0158 - acc: 0.9925
 432/2000 [=====>........................] - ETA: 3s - loss: 0.0147 - acc: 0.9931
 464/2000 [=====>........................] - ETA: 3s - loss: 0.0151 - acc: 0.9914
 496/2000 [======>.......................] - ETA: 3s - loss: 0.0230 - acc: 0.9879
 528/2000 [======>.......................] - ETA: 3s - loss: 0.0225 - acc: 0.9886
 560/2000 [=======>......................] - ETA: 3s - loss: 0.0213 - acc: 0.9893
 592/2000 [=======>......................] - ETA: 3s - loss: 0.0205 - acc: 0.9899
 624/2000 [========>.....................] - ETA: 3s - loss: 0.0270 - acc: 0.9872
 656/2000 [========>.....................] - ETA: 3s - loss: 0.0257 - acc: 0.9878
 688/2000 [=========>....................] - ETA: 3s - loss: 0.0245 - acc: 0.9884
 720/2000 [=========>....................] - ETA: 3s - loss: 0.0234 - acc: 0.9889
 752/2000 [==========>...................] - ETA: 2s - loss: 0.0276 - acc: 0.9867
 784/2000 [==========>...................] - ETA: 2s - loss: 0.0264 - acc: 0.9872
 816/2000 [===========>..................] - ETA: 2s - loss: 0.0256 - acc: 0.9877
 848/2000 [===========>..................] - ETA: 2s - loss: 0.0247 - acc: 0.9882
 880/2000 [============>.................] - ETA: 2s - loss: 0.0238 - acc: 0.9886
 912/2000 [============>.................] - ETA: 2s - loss: 0.0230 - acc: 0.9890
 944/2000 [=============>................] - ETA: 2s - loss: 0.0222 - acc: 0.9894
 976/2000 [=============>................] - ETA: 2s - loss: 0.0215 - acc: 0.9898
1008/2000 [==============>...............] - ETA: 2s - loss: 0.0208 - acc: 0.9901
1040/2000 [==============>...............] - ETA: 2s - loss: 0.0202 - acc: 0.9904
1072/2000 [===============>..............] - ETA: 2s - loss: 0.0196 - acc: 0.9907
1104/2000 [===============>..............] - ETA: 2s - loss: 0.0190 - acc: 0.9909
1136/2000 [================>.............] - ETA: 2s - loss: 0.0193 - acc: 0.9912
1168/2000 [================>.............] - ETA: 2s - loss: 0.0193 - acc: 0.9914
1200/2000 [=================>............] - ETA: 1s - loss: 0.0189 - acc: 0.9917
1232/2000 [=================>............] - ETA: 1s - loss: 0.0184 - acc: 0.9919
1264/2000 [=================>............] - ETA: 1s - loss: 0.0185 - acc: 0.9921
1296/2000 [==================>...........] - ETA: 1s - loss: 0.0181 - acc: 0.9923
1328/2000 [==================>...........] - ETA: 1s - loss: 0.0177 - acc: 0.9925
1360/2000 [===================>..........] - ETA: 1s - loss: 0.0173 - acc: 0.9926
1376/2000 [===================>..........] - ETA: 1s - loss: 0.0171 - acc: 0.9927
1408/2000 [====================>.........] - ETA: 1s - loss: 0.0167 - acc: 0.9929
1440/2000 [====================>.........] - ETA: 1s - loss: 0.0163 - acc: 0.9931
1472/2000 [=====================>........] - ETA: 1s - loss: 0.0160 - acc: 0.9932
1504/2000 [=====================>........] - ETA: 1s - loss: 0.0156 - acc: 0.9934
1520/2000 [=====================>........] - ETA: 1s - loss: 0.0155 - acc: 0.9934
1552/2000 [======================>.......] - ETA: 1s - loss: 0.0152 - acc: 0.9936
1584/2000 [======================>.......] - ETA: 1s - loss: 0.0149 - acc: 0.9937
1616/2000 [=======================>......] - ETA: 0s - loss: 0.0147 - acc: 0.9938
1648/2000 [=======================>......] - ETA: 0s - loss: 0.0170 - acc: 0.9933
1680/2000 [========================>.....] - ETA: 0s - loss: 0.0167 - acc: 0.9935
1712/2000 [========================>.....] - ETA: 0s - loss: 0.0164 - acc: 0.9936
1744/2000 [=========================>....] - ETA: 0s - loss: 0.0161 - acc: 0.9937
1776/2000 [=========================>....] - ETA: 0s - loss: 0.0158 - acc: 0.9938
1808/2000 [==========================>...] - ETA: 0s - loss: 0.0155 - acc: 0.9939
1840/2000 [==========================>...] - ETA: 0s - loss: 0.0171 - acc: 0.9935
1872/2000 [===========================>..] - ETA: 0s - loss: 0.0168 - acc: 0.9936
1904/2000 [===========================>..] - ETA: 0s - loss: 0.0170 - acc: 0.9932
1936/2000 [============================>.] - ETA: 0s - loss: 0.0167 - acc: 0.9933
1968/2000 [============================>.] - ETA: 0s - loss: 0.0165 - acc: 0.9934
2000/2000 [==============================] - 5s 3ms/step - loss: 0.0162 - acc: 0.9935 - val_loss: 0.7347 - val_acc: 0.9050
Epoch 39/50

  16/2000 [..............................] - ETA: 4s - loss: 3.9777e-05 - acc: 1.0000
  48/2000 [..............................] - ETA: 4s - loss: 8.0089e-04 - acc: 1.0000
  80/2000 [>.............................] - ETA: 4s - loss: 4.9251e-04 - acc: 1.0000
 112/2000 [>.............................] - ETA: 4s - loss: 0.0033 - acc: 1.0000
 144/2000 [=>............................] - ETA: 4s - loss: 0.0026 - acc: 1.0000
 176/2000 [=>............................] - ETA: 4s - loss: 0.0021 - acc: 1.0000
 208/2000 [==>...........................] - ETA: 4s - loss: 0.0018 - acc: 1.0000
 240/2000 [==>...........................] - ETA: 4s - loss: 0.0094 - acc: 0.9958
 272/2000 [===>..........................] - ETA: 4s - loss: 0.0089 - acc: 0.9963
 304/2000 [===>..........................] - ETA: 4s - loss: 0.0080 - acc: 0.9967
 336/2000 [====>.........................] - ETA: 3s - loss: 0.0117 - acc: 0.9940
 368/2000 [====>.........................] - ETA: 3s - loss: 0.0107 - acc: 0.9946
 400/2000 [=====>........................] - ETA: 3s - loss: 0.0099 - acc: 0.9950
 432/2000 [=====>........................] - ETA: 3s - loss: 0.0101 - acc: 0.9954
 464/2000 [=====>........................] - ETA: 3s - loss: 0.0101 - acc: 0.9957
 496/2000 [======>.......................] - ETA: 3s - loss: 0.0111 - acc: 0.9960
 528/2000 [======>.......................] - ETA: 3s - loss: 0.0107 - acc: 0.9962
 560/2000 [=======>......................] - ETA: 3s - loss: 0.0104 - acc: 0.9964
 592/2000 [=======>......................] - ETA: 3s - loss: 0.0098 - acc: 0.9966
 624/2000 [========>.....................] - ETA: 3s - loss: 0.0111 - acc: 0.9952
 656/2000 [========>.....................] - ETA: 3s - loss: 0.0106 - acc: 0.9954
 688/2000 [=========>....................] - ETA: 3s - loss: 0.0106 - acc: 0.9956
 720/2000 [=========>....................] - ETA: 3s - loss: 0.0102 - acc: 0.9958
 736/2000 [==========>...................] - ETA: 3s - loss: 0.0099 - acc: 0.9959
 752/2000 [==========>...................] - ETA: 3s - loss: 0.0097 - acc: 0.9960
 784/2000 [==========>...................] - ETA: 3s - loss: 0.0094 - acc: 0.9962
 816/2000 [===========>..................] - ETA: 3s - loss: 0.0100 - acc: 0.9951
 848/2000 [===========>..................] - ETA: 2s - loss: 0.0097 - acc: 0.9953
 880/2000 [============>.................] - ETA: 2s - loss: 0.0093 - acc: 0.9955
 912/2000 [============>.................] - ETA: 2s - loss: 0.0090 - acc: 0.9956
 944/2000 [=============>................] - ETA: 2s - loss: 0.0087 - acc: 0.9958
 976/2000 [=============>................] - ETA: 2s - loss: 0.0084 - acc: 0.9959
1008/2000 [==============>...............] - ETA: 2s - loss: 0.0082 - acc: 0.9960
1040/2000 [==============>...............] - ETA: 2s - loss: 0.0088 - acc: 0.9962
1072/2000 [===============>..............] - ETA: 2s - loss: 0.0086 - acc: 0.9963
1104/2000 [===============>..............] - ETA: 2s - loss: 0.0087 - acc: 0.9964
1120/2000 [===============>..............] - ETA: 2s - loss: 0.0086 - acc: 0.9964
1152/2000 [================>.............] - ETA: 2s - loss: 0.0084 - acc: 0.9965
1184/2000 [================>.............] - ETA: 2s - loss: 0.0083 - acc: 0.9966
1216/2000 [=================>............] - ETA: 2s - loss: 0.0099 - acc: 0.9959
1248/2000 [=================>............] - ETA: 2s - loss: 0.0097 - acc: 0.9960
1264/2000 [=================>............] - ETA: 1s - loss: 0.0096 - acc: 0.9960
1280/2000 [==================>...........] - ETA: 1s - loss: 0.0094 - acc: 0.9961
1312/2000 [==================>...........] - ETA: 1s - loss: 0.0103 - acc: 0.9954
1344/2000 [===================>..........] - ETA: 1s - loss: 0.0125 - acc: 0.9940
1360/2000 [===================>..........] - ETA: 1s - loss: 0.0124 - acc: 0.9941
1392/2000 [===================>..........] - ETA: 1s - loss: 0.0122 - acc: 0.9943
1424/2000 [====================>.........] - ETA: 1s - loss: 0.0119 - acc: 0.9944
1456/2000 [====================>.........] - ETA: 1s - loss: 0.0116 - acc: 0.9945
1488/2000 [=====================>........] - ETA: 1s - loss: 0.0114 - acc: 0.9946
1520/2000 [=====================>........] - ETA: 1s - loss: 0.0122 - acc: 0.9941
1552/2000 [======================>.......] - ETA: 1s - loss: 0.0136 - acc: 0.9936
1584/2000 [======================>.......] - ETA: 1s - loss: 0.0133 - acc: 0.9937
1600/2000 [=======================>......] - ETA: 1s - loss: 0.0133 - acc: 0.9938
1632/2000 [=======================>......] - ETA: 0s - loss: 0.0131 - acc: 0.9939
1664/2000 [=======================>......] - ETA: 0s - loss: 0.0129 - acc: 0.9940
1680/2000 [========================>.....] - ETA: 0s - loss: 0.0128 - acc: 0.9940
1712/2000 [========================>.....] - ETA: 0s - loss: 0.0129 - acc: 0.9942
1728/2000 [========================>.....] - ETA: 0s - loss: 0.0128 - acc: 0.9942
1744/2000 [=========================>....] - ETA: 0s - loss: 0.0127 - acc: 0.9943
1760/2000 [=========================>....] - ETA: 0s - loss: 0.0126 - acc: 0.9943
1776/2000 [=========================>....] - ETA: 0s - loss: 0.0144 - acc: 0.9938
1792/2000 [=========================>....] - ETA: 0s - loss: 0.0142 - acc: 0.9939
1824/2000 [==========================>...] - ETA: 0s - loss: 0.0140 - acc: 0.9940
1840/2000 [==========================>...] - ETA: 0s - loss: 0.0139 - acc: 0.9940
1872/2000 [===========================>..] - ETA: 0s - loss: 0.0137 - acc: 0.9941
1904/2000 [===========================>..] - ETA: 0s - loss: 0.0135 - acc: 0.9942
1920/2000 [===========================>..] - ETA: 0s - loss: 0.0133 - acc: 0.9943
1936/2000 [============================>.] - ETA: 0s - loss: 0.0132 - acc: 0.9943
1952/2000 [============================>.] - ETA: 0s - loss: 0.0142 - acc: 0.9939
1968/2000 [============================>.] - ETA: 0s - loss: 0.0161 - acc: 0.9934
2000/2000 [==============================] - 6s 3ms/step - loss: 0.0158 - acc: 0.9935 - val_loss: 0.7254 - val_acc: 0.9100
Epoch 40/50

  16/2000 [..............................] - ETA: 5s - loss: 1.1826e-07 - acc: 1.0000
  32/2000 [..............................] - ETA: 6s - loss: 0.1459 - acc: 0.9688
  64/2000 [..............................] - ETA: 5s - loss: 0.0735 - acc: 0.9844
  80/2000 [>.............................] - ETA: 5s - loss: 0.0588 - acc: 0.9875
 112/2000 [>.............................] - ETA: 5s - loss: 0.0422 - acc: 0.9911
 144/2000 [=>............................] - ETA: 5s - loss: 0.0329 - acc: 0.9931
 176/2000 [=>............................] - ETA: 5s - loss: 0.0269 - acc: 0.9943
 192/2000 [=>............................] - ETA: 5s - loss: 0.0247 - acc: 0.9948
 208/2000 [==>...........................] - ETA: 5s - loss: 0.0229 - acc: 0.9952
 240/2000 [==>...........................] - ETA: 5s - loss: 0.0199 - acc: 0.9958
 256/2000 [==>...........................] - ETA: 5s - loss: 0.0186 - acc: 0.9961
 288/2000 [===>..........................] - ETA: 5s - loss: 0.0166 - acc: 0.9965
 304/2000 [===>..........................] - ETA: 5s - loss: 0.0192 - acc: 0.9934
 336/2000 [====>.........................] - ETA: 4s - loss: 0.0176 - acc: 0.9940
 368/2000 [====>.........................] - ETA: 4s - loss: 0.0161 - acc: 0.9946
 400/2000 [=====>........................] - ETA: 4s - loss: 0.0191 - acc: 0.9925
 432/2000 [=====>........................] - ETA: 4s - loss: 0.0195 - acc: 0.9907
 448/2000 [=====>........................] - ETA: 4s - loss: 0.0188 - acc: 0.9911
 480/2000 [======>.......................] - ETA: 4s - loss: 0.0176 - acc: 0.9917
 512/2000 [======>.......................] - ETA: 4s - loss: 0.0165 - acc: 0.9922
 544/2000 [=======>......................] - ETA: 4s - loss: 0.0156 - acc: 0.9926
 576/2000 [=======>......................] - ETA: 4s - loss: 0.0211 - acc: 0.9896
 608/2000 [========>.....................] - ETA: 4s - loss: 0.0281 - acc: 0.9885
 640/2000 [========>.....................] - ETA: 4s - loss: 0.0328 - acc: 0.9875
 672/2000 [=========>....................] - ETA: 3s - loss: 0.0312 - acc: 0.9881
 688/2000 [=========>....................] - ETA: 3s - loss: 0.0311 - acc: 0.9884
 704/2000 [=========>....................] - ETA: 3s - loss: 0.0304 - acc: 0.9886
 736/2000 [==========>...................] - ETA: 3s - loss: 0.0307 - acc: 0.9878
 752/2000 [==========>...................] - ETA: 3s - loss: 0.0301 - acc: 0.9880
 768/2000 [==========>...................] - ETA: 3s - loss: 0.0359 - acc: 0.9870
 800/2000 [===========>..................] - ETA: 3s - loss: 0.0345 - acc: 0.9875
 832/2000 [===========>..................] - ETA: 3s - loss: 0.0332 - acc: 0.9880
 864/2000 [===========>..................] - ETA: 3s - loss: 0.0319 - acc: 0.9884
 896/2000 [============>.................] - ETA: 3s - loss: 0.0318 - acc: 0.9877
 928/2000 [============>.................] - ETA: 3s - loss: 0.0307 - acc: 0.9881
 944/2000 [=============>................] - ETA: 3s - loss: 0.0302 - acc: 0.9883
 960/2000 [=============>................] - ETA: 3s - loss: 0.0297 - acc: 0.9885
 976/2000 [=============>................] - ETA: 3s - loss: 0.0293 - acc: 0.9887
1008/2000 [==============>...............] - ETA: 2s - loss: 0.0284 - acc: 0.9891
1040/2000 [==============>...............] - ETA: 2s - loss: 0.0275 - acc: 0.9894
1072/2000 [===============>..............] - ETA: 2s - loss: 0.0267 - acc: 0.9897
1104/2000 [===============>..............] - ETA: 2s - loss: 0.0385 - acc: 0.9891
1136/2000 [================>.............] - ETA: 2s - loss: 0.0377 - acc: 0.9894
1168/2000 [================>.............] - ETA: 2s - loss: 0.0367 - acc: 0.9897
1200/2000 [=================>............] - ETA: 2s - loss: 0.0357 - acc: 0.9900
1232/2000 [=================>............] - ETA: 2s - loss: 0.0348 - acc: 0.9903
1264/2000 [=================>............] - ETA: 2s - loss: 0.0339 - acc: 0.9905
1296/2000 [==================>...........] - ETA: 2s - loss: 0.0331 - acc: 0.9907
1328/2000 [==================>...........] - ETA: 1s - loss: 0.0323 - acc: 0.9910
1360/2000 [===================>..........] - ETA: 1s - loss: 0.0315 - acc: 0.9912
1376/2000 [===================>..........] - ETA: 1s - loss: 0.0312 - acc: 0.9913
1392/2000 [===================>..........] - ETA: 1s - loss: 0.0308 - acc: 0.9914
1408/2000 [====================>.........] - ETA: 1s - loss: 0.0305 - acc: 0.9915
1424/2000 [====================>.........] - ETA: 1s - loss: 0.0301 - acc: 0.9916
1440/2000 [====================>.........] - ETA: 1s - loss: 0.0298 - acc: 0.9917
1472/2000 [=====================>........] - ETA: 1s - loss: 0.0292 - acc: 0.9918
1488/2000 [=====================>........] - ETA: 1s - loss: 0.0289 - acc: 0.9919
1504/2000 [=====================>........] - ETA: 1s - loss: 0.0286 - acc: 0.9920
1536/2000 [======================>.......] - ETA: 1s - loss: 0.0280 - acc: 0.9922
1552/2000 [======================>.......] - ETA: 1s - loss: 0.0277 - acc: 0.9923
1584/2000 [======================>.......] - ETA: 1s - loss: 0.0271 - acc: 0.9924
1616/2000 [=======================>......] - ETA: 1s - loss: 0.0266 - acc: 0.9926
1648/2000 [=======================>......] - ETA: 1s - loss: 0.0261 - acc: 0.9927
1680/2000 [========================>.....] - ETA: 0s - loss: 0.0256 - acc: 0.9929
1696/2000 [========================>.....] - ETA: 0s - loss: 0.0254 - acc: 0.9929
1712/2000 [========================>.....] - ETA: 0s - loss: 0.0290 - acc: 0.9924
1728/2000 [========================>.....] - ETA: 0s - loss: 0.0316 - acc: 0.9919
1744/2000 [=========================>....] - ETA: 0s - loss: 0.0315 - acc: 0.9920
1760/2000 [=========================>....] - ETA: 0s - loss: 0.0313 - acc: 0.9920
1776/2000 [=========================>....] - ETA: 0s - loss: 0.0310 - acc: 0.9921
1808/2000 [==========================>...] - ETA: 0s - loss: 0.0305 - acc: 0.9923
1840/2000 [==========================>...] - ETA: 0s - loss: 0.0300 - acc: 0.9924
1856/2000 [==========================>...] - ETA: 0s - loss: 0.0299 - acc: 0.9925
1872/2000 [===========================>..] - ETA: 0s - loss: 0.0297 - acc: 0.9925
1888/2000 [===========================>..] - ETA: 0s - loss: 0.0295 - acc: 0.9926
1904/2000 [===========================>..] - ETA: 0s - loss: 0.0292 - acc: 0.9926
1936/2000 [============================>.] - ETA: 0s - loss: 0.0287 - acc: 0.9928
1952/2000 [============================>.] - ETA: 0s - loss: 0.0285 - acc: 0.9928
1984/2000 [============================>.] - ETA: 0s - loss: 0.0281 - acc: 0.9929
2000/2000 [==============================] - 7s 3ms/step - loss: 0.0279 - acc: 0.9930 - val_loss: 0.7294 - val_acc: 0.9100
Epoch 41/50

  16/2000 [..............................] - ETA: 5s - loss: 2.9561e-04 - acc: 1.0000
  32/2000 [..............................] - ETA: 6s - loss: 1.4786e-04 - acc: 1.0000
  64/2000 [..............................] - ETA: 5s - loss: 1.9173e-04 - acc: 1.0000
  80/2000 [>.............................] - ETA: 6s - loss: 1.5967e-04 - acc: 1.0000
 112/2000 [>.............................] - ETA: 6s - loss: 1.1718e-04 - acc: 1.0000
 144/2000 [=>............................] - ETA: 6s - loss: 9.7984e-05 - acc: 1.0000
 176/2000 [=>............................] - ETA: 6s - loss: 8.3259e-05 - acc: 1.0000
 192/2000 [=>............................] - ETA: 6s - loss: 1.5098e-04 - acc: 1.0000
 224/2000 [==>...........................] - ETA: 5s - loss: 3.8021e-04 - acc: 1.0000
 256/2000 [==>...........................] - ETA: 5s - loss: 3.3717e-04 - acc: 1.0000
 288/2000 [===>..........................] - ETA: 5s - loss: 3.0129e-04 - acc: 1.0000
 320/2000 [===>..........................] - ETA: 5s - loss: 2.9784e-04 - acc: 1.0000
 336/2000 [====>.........................] - ETA: 5s - loss: 2.9014e-04 - acc: 1.0000
 368/2000 [====>.........................] - ETA: 5s - loss: 9.6448e-04 - acc: 1.0000
 400/2000 [=====>........................] - ETA: 5s - loss: 8.8825e-04 - acc: 1.0000
 432/2000 [=====>........................] - ETA: 4s - loss: 8.7217e-04 - acc: 1.0000
 464/2000 [=====>........................] - ETA: 4s - loss: 8.1262e-04 - acc: 1.0000
 496/2000 [======>.......................] - ETA: 4s - loss: 7.6102e-04 - acc: 1.0000
 528/2000 [======>.......................] - ETA: 4s - loss: 7.2564e-04 - acc: 1.0000
 560/2000 [=======>......................] - ETA: 4s - loss: 6.8419e-04 - acc: 1.0000
 592/2000 [=======>......................] - ETA: 4s - loss: 6.5613e-04 - acc: 1.0000
 624/2000 [========>.....................] - ETA: 4s - loss: 6.3286e-04 - acc: 1.0000
 656/2000 [========>.....................] - ETA: 4s - loss: 0.0011 - acc: 1.0000
 688/2000 [=========>....................] - ETA: 3s - loss: 0.0040 - acc: 0.9985
 720/2000 [=========>....................] - ETA: 3s - loss: 0.0066 - acc: 0.9972
 752/2000 [==========>...................] - ETA: 3s - loss: 0.0127 - acc: 0.9960
 784/2000 [==========>...................] - ETA: 3s - loss: 0.0122 - acc: 0.9962
 816/2000 [===========>..................] - ETA: 3s - loss: 0.0118 - acc: 0.9963
 848/2000 [===========>..................] - ETA: 3s - loss: 0.0114 - acc: 0.9965
 880/2000 [============>.................] - ETA: 3s - loss: 0.0110 - acc: 0.9966
 912/2000 [============>.................] - ETA: 3s - loss: 0.0106 - acc: 0.9967
 944/2000 [=============>................] - ETA: 3s - loss: 0.0130 - acc: 0.9958
 976/2000 [=============>................] - ETA: 2s - loss: 0.0143 - acc: 0.9949
1008/2000 [==============>...............] - ETA: 2s - loss: 0.0163 - acc: 0.9940
1040/2000 [==============>...............] - ETA: 2s - loss: 0.0158 - acc: 0.9942
1072/2000 [===============>..............] - ETA: 2s - loss: 0.0153 - acc: 0.9944
1104/2000 [===============>..............] - ETA: 2s - loss: 0.0149 - acc: 0.9946
1136/2000 [================>.............] - ETA: 2s - loss: 0.0145 - acc: 0.9947
1168/2000 [================>.............] - ETA: 2s - loss: 0.0142 - acc: 0.9949
1200/2000 [=================>............] - ETA: 2s - loss: 0.0139 - acc: 0.9950
1232/2000 [=================>............] - ETA: 2s - loss: 0.0137 - acc: 0.9951
1264/2000 [=================>............] - ETA: 2s - loss: 0.0133 - acc: 0.9953
1296/2000 [==================>...........] - ETA: 2s - loss: 0.0130 - acc: 0.9954
1328/2000 [==================>...........] - ETA: 1s - loss: 0.0129 - acc: 0.9955
1360/2000 [===================>..........] - ETA: 1s - loss: 0.0126 - acc: 0.9956
1392/2000 [===================>..........] - ETA: 1s - loss: 0.0125 - acc: 0.9957
1424/2000 [====================>.........] - ETA: 1s - loss: 0.0123 - acc: 0.9958
1456/2000 [====================>.........] - ETA: 1s - loss: 0.0120 - acc: 0.9959
1488/2000 [=====================>........] - ETA: 1s - loss: 0.0119 - acc: 0.9960
1520/2000 [=====================>........] - ETA: 1s - loss: 0.0117 - acc: 0.9961
1552/2000 [======================>.......] - ETA: 1s - loss: 0.0129 - acc: 0.9955
1584/2000 [======================>.......] - ETA: 1s - loss: 0.0127 - acc: 0.9956
1616/2000 [=======================>......] - ETA: 1s - loss: 0.0125 - acc: 0.9957
1648/2000 [=======================>......] - ETA: 1s - loss: 0.0123 - acc: 0.9958
1680/2000 [========================>.....] - ETA: 0s - loss: 0.0121 - acc: 0.9958
1696/2000 [========================>.....] - ETA: 0s - loss: 0.0120 - acc: 0.9959
1728/2000 [========================>.....] - ETA: 0s - loss: 0.0120 - acc: 0.9959
1760/2000 [=========================>....] - ETA: 0s - loss: 0.0118 - acc: 0.9960
1792/2000 [=========================>....] - ETA: 0s - loss: 0.0116 - acc: 0.9961
1824/2000 [==========================>...] - ETA: 0s - loss: 0.0114 - acc: 0.9962
1856/2000 [==========================>...] - ETA: 0s - loss: 0.0112 - acc: 0.9962
1888/2000 [===========================>..] - ETA: 0s - loss: 0.0115 - acc: 0.9958
1920/2000 [===========================>..] - ETA: 0s - loss: 0.0192 - acc: 0.9943
1952/2000 [============================>.] - ETA: 0s - loss: 0.0198 - acc: 0.9939
1984/2000 [============================>.] - ETA: 0s - loss: 0.0195 - acc: 0.9940
2000/2000 [==============================] - 6s 3ms/step - loss: 0.0194 - acc: 0.9940 - val_loss: 0.7656 - val_acc: 0.9025
Epoch 42/50

  16/2000 [..............................] - ETA: 5s - loss: 0.0010 - acc: 1.0000
  48/2000 [..............................] - ETA: 5s - loss: 7.5196e-04 - acc: 1.0000
  80/2000 [>.............................] - ETA: 4s - loss: 0.0011 - acc: 1.0000
 112/2000 [>.............................] - ETA: 4s - loss: 7.9277e-04 - acc: 1.0000
 128/2000 [>.............................] - ETA: 5s - loss: 0.0049 - acc: 1.0000
 144/2000 [=>............................] - ETA: 5s - loss: 0.0043 - acc: 1.0000
 176/2000 [=>............................] - ETA: 5s - loss: 0.0037 - acc: 1.0000
 208/2000 [==>...........................] - ETA: 5s - loss: 0.0037 - acc: 1.0000
 240/2000 [==>...........................] - ETA: 5s - loss: 0.0032 - acc: 1.0000
 272/2000 [===>..........................] - ETA: 4s - loss: 0.0029 - acc: 1.0000
 304/2000 [===>..........................] - ETA: 4s - loss: 0.0026 - acc: 1.0000
 320/2000 [===>..........................] - ETA: 4s - loss: 0.0024 - acc: 1.0000
 352/2000 [====>.........................] - ETA: 4s - loss: 0.0023 - acc: 1.0000
 368/2000 [====>.........................] - ETA: 4s - loss: 0.0023 - acc: 1.0000
 400/2000 [=====>........................] - ETA: 4s - loss: 0.0021 - acc: 1.0000
 432/2000 [=====>........................] - ETA: 4s - loss: 0.0020 - acc: 1.0000
 464/2000 [=====>........................] - ETA: 4s - loss: 0.0019 - acc: 1.0000
 496/2000 [======>.......................] - ETA: 4s - loss: 0.0018 - acc: 1.0000
 528/2000 [======>.......................] - ETA: 4s - loss: 0.0087 - acc: 0.9981
 560/2000 [=======>......................] - ETA: 4s - loss: 0.0111 - acc: 0.9964
 592/2000 [=======>......................] - ETA: 3s - loss: 0.0105 - acc: 0.9966
 624/2000 [========>.....................] - ETA: 3s - loss: 0.0100 - acc: 0.9968
 656/2000 [========>.....................] - ETA: 3s - loss: 0.0095 - acc: 0.9970
 688/2000 [=========>....................] - ETA: 3s - loss: 0.0091 - acc: 0.9971
 720/2000 [=========>....................] - ETA: 3s - loss: 0.0087 - acc: 0.9972
 752/2000 [==========>...................] - ETA: 3s - loss: 0.0086 - acc: 0.9973
 784/2000 [==========>...................] - ETA: 3s - loss: 0.0085 - acc: 0.9974
 816/2000 [===========>..................] - ETA: 3s - loss: 0.0082 - acc: 0.9975
 848/2000 [===========>..................] - ETA: 3s - loss: 0.0079 - acc: 0.9976
 880/2000 [============>.................] - ETA: 3s - loss: 0.0104 - acc: 0.9966
 912/2000 [============>.................] - ETA: 2s - loss: 0.0101 - acc: 0.9967
 944/2000 [=============>................] - ETA: 2s - loss: 0.0110 - acc: 0.9958
 976/2000 [=============>................] - ETA: 2s - loss: 0.0140 - acc: 0.9939
1008/2000 [==============>...............] - ETA: 2s - loss: 0.0138 - acc: 0.9940
1040/2000 [==============>...............] - ETA: 2s - loss: 0.0134 - acc: 0.9942
1072/2000 [===============>..............] - ETA: 2s - loss: 0.0130 - acc: 0.9944
1104/2000 [===============>..............] - ETA: 2s - loss: 0.0127 - acc: 0.9946
1136/2000 [================>.............] - ETA: 2s - loss: 0.0126 - acc: 0.9947
1168/2000 [================>.............] - ETA: 2s - loss: 0.0123 - acc: 0.9949
1200/2000 [=================>............] - ETA: 2s - loss: 0.0121 - acc: 0.9950
1232/2000 [=================>............] - ETA: 2s - loss: 0.0119 - acc: 0.9951
1264/2000 [=================>............] - ETA: 1s - loss: 0.0116 - acc: 0.9953
1296/2000 [==================>...........] - ETA: 1s - loss: 0.0113 - acc: 0.9954
1328/2000 [==================>...........] - ETA: 1s - loss: 0.0110 - acc: 0.9955
1360/2000 [===================>..........] - ETA: 1s - loss: 0.0108 - acc: 0.9956
1392/2000 [===================>..........] - ETA: 1s - loss: 0.0106 - acc: 0.9957
1408/2000 [====================>.........] - ETA: 1s - loss: 0.0105 - acc: 0.9957
1440/2000 [====================>.........] - ETA: 1s - loss: 0.0105 - acc: 0.9958
1456/2000 [====================>.........] - ETA: 1s - loss: 0.0105 - acc: 0.9959
1488/2000 [=====================>........] - ETA: 1s - loss: 0.0103 - acc: 0.9960
1520/2000 [=====================>........] - ETA: 1s - loss: 0.0101 - acc: 0.9961
1552/2000 [======================>.......] - ETA: 1s - loss: 0.0100 - acc: 0.9961
1584/2000 [======================>.......] - ETA: 1s - loss: 0.0098 - acc: 0.9962
1616/2000 [=======================>......] - ETA: 1s - loss: 0.0096 - acc: 0.9963
1648/2000 [=======================>......] - ETA: 0s - loss: 0.0096 - acc: 0.9964
1664/2000 [=======================>......] - ETA: 0s - loss: 0.0095 - acc: 0.9964
1696/2000 [========================>.....] - ETA: 0s - loss: 0.0094 - acc: 0.9965
1728/2000 [========================>.....] - ETA: 0s - loss: 0.0092 - acc: 0.9965
1760/2000 [=========================>....] - ETA: 0s - loss: 0.0091 - acc: 0.9966
1776/2000 [=========================>....] - ETA: 0s - loss: 0.0090 - acc: 0.9966
1808/2000 [==========================>...] - ETA: 0s - loss: 0.0096 - acc: 0.9961
1840/2000 [==========================>...] - ETA: 0s - loss: 0.0095 - acc: 0.9962
1872/2000 [===========================>..] - ETA: 0s - loss: 0.0098 - acc: 0.9957
1904/2000 [===========================>..] - ETA: 0s - loss: 0.0096 - acc: 0.9958
1936/2000 [============================>.] - ETA: 0s - loss: 0.0110 - acc: 0.9954
1968/2000 [============================>.] - ETA: 0s - loss: 0.0120 - acc: 0.9949
2000/2000 [==============================] - 6s 3ms/step - loss: 0.0122 - acc: 0.9950 - val_loss: 0.7119 - val_acc: 0.9087
Epoch 43/50

  16/2000 [..............................] - ETA: 5s - loss: 6.3571e-04 - acc: 1.0000
  32/2000 [..............................] - ETA: 6s - loss: 0.0106 - acc: 1.0000
  48/2000 [..............................] - ETA: 6s - loss: 0.0071 - acc: 1.0000
  80/2000 [>.............................] - ETA: 5s - loss: 0.0743 - acc: 0.9875
 112/2000 [>.............................] - ETA: 5s - loss: 0.0531 - acc: 0.9911
 144/2000 [=>............................] - ETA: 5s - loss: 0.0417 - acc: 0.9931
 176/2000 [=>............................] - ETA: 5s - loss: 0.0341 - acc: 0.9943
 208/2000 [==>...........................] - ETA: 4s - loss: 0.0289 - acc: 0.9952
 240/2000 [==>...........................] - ETA: 4s - loss: 0.0251 - acc: 0.9958
 272/2000 [===>..........................] - ETA: 4s - loss: 0.0223 - acc: 0.9963
 304/2000 [===>..........................] - ETA: 4s - loss: 0.0205 - acc: 0.9967
 336/2000 [====>.........................] - ETA: 4s - loss: 0.0187 - acc: 0.9970
 368/2000 [====>.........................] - ETA: 4s - loss: 0.0170 - acc: 0.9973
 384/2000 [====>.........................] - ETA: 4s - loss: 0.0163 - acc: 0.9974
 400/2000 [=====>........................] - ETA: 4s - loss: 0.0179 - acc: 0.9950
 416/2000 [=====>........................] - ETA: 4s - loss: 0.0173 - acc: 0.9952
 448/2000 [=====>........................] - ETA: 4s - loss: 0.0160 - acc: 0.9955
 464/2000 [=====>........................] - ETA: 4s - loss: 0.0162 - acc: 0.9957
 480/2000 [======>.......................] - ETA: 4s - loss: 0.0156 - acc: 0.9958
 496/2000 [======>.......................] - ETA: 4s - loss: 0.0153 - acc: 0.9960
 528/2000 [======>.......................] - ETA: 4s - loss: 0.0144 - acc: 0.9962
 560/2000 [=======>......................] - ETA: 4s - loss: 0.0135 - acc: 0.9964
 576/2000 [=======>......................] - ETA: 4s - loss: 0.0132 - acc: 0.9965
 608/2000 [========>.....................] - ETA: 4s - loss: 0.0128 - acc: 0.9967
 640/2000 [========>.....................] - ETA: 4s - loss: 0.0123 - acc: 0.9969
 672/2000 [=========>....................] - ETA: 3s - loss: 0.0117 - acc: 0.9970
 688/2000 [=========>....................] - ETA: 3s - loss: 0.0114 - acc: 0.9971
 704/2000 [=========>....................] - ETA: 3s - loss: 0.0111 - acc: 0.9972
 736/2000 [==========>...................] - ETA: 3s - loss: 0.0107 - acc: 0.9973
 752/2000 [==========>...................] - ETA: 3s - loss: 0.0104 - acc: 0.9973
 784/2000 [==========>...................] - ETA: 3s - loss: 0.0101 - acc: 0.9974
 816/2000 [===========>..................] - ETA: 3s - loss: 0.0097 - acc: 0.9975
 832/2000 [===========>..................] - ETA: 3s - loss: 0.0095 - acc: 0.9976
 864/2000 [===========>..................] - ETA: 3s - loss: 0.0098 - acc: 0.9977
 896/2000 [============>.................] - ETA: 3s - loss: 0.0095 - acc: 0.9978
 928/2000 [============>.................] - ETA: 3s - loss: 0.0092 - acc: 0.9978
 960/2000 [=============>................] - ETA: 3s - loss: 0.0090 - acc: 0.9979
 992/2000 [=============>................] - ETA: 3s - loss: 0.0091 - acc: 0.9980
1024/2000 [==============>...............] - ETA: 2s - loss: 0.0088 - acc: 0.9980
1040/2000 [==============>...............] - ETA: 2s - loss: 0.0087 - acc: 0.9981
1072/2000 [===============>..............] - ETA: 2s - loss: 0.0084 - acc: 0.9981
1104/2000 [===============>..............] - ETA: 2s - loss: 0.0093 - acc: 0.9973
1136/2000 [================>.............] - ETA: 2s - loss: 0.0090 - acc: 0.9974
1168/2000 [================>.............] - ETA: 2s - loss: 0.0088 - acc: 0.9974
1200/2000 [=================>............] - ETA: 2s - loss: 0.0085 - acc: 0.9975
1232/2000 [=================>............] - ETA: 2s - loss: 0.0083 - acc: 0.9976
1264/2000 [=================>............] - ETA: 2s - loss: 0.0092 - acc: 0.9968
1280/2000 [==================>...........] - ETA: 2s - loss: 0.0099 - acc: 0.9969
1296/2000 [==================>...........] - ETA: 2s - loss: 0.0098 - acc: 0.9969
1328/2000 [==================>...........] - ETA: 1s - loss: 0.0176 - acc: 0.9962
1360/2000 [===================>..........] - ETA: 1s - loss: 0.0173 - acc: 0.9963
1392/2000 [===================>..........] - ETA: 1s - loss: 0.0171 - acc: 0.9964
1424/2000 [====================>.........] - ETA: 1s - loss: 0.0167 - acc: 0.9965
1456/2000 [====================>.........] - ETA: 1s - loss: 0.0163 - acc: 0.9966
1488/2000 [=====================>........] - ETA: 1s - loss: 0.0187 - acc: 0.9960
1520/2000 [=====================>........] - ETA: 1s - loss: 0.0225 - acc: 0.9954
1552/2000 [======================>.......] - ETA: 1s - loss: 0.0221 - acc: 0.9955
1584/2000 [======================>.......] - ETA: 1s - loss: 0.0216 - acc: 0.9956
1616/2000 [=======================>......] - ETA: 1s - loss: 0.0216 - acc: 0.9957
1648/2000 [=======================>......] - ETA: 1s - loss: 0.0211 - acc: 0.9958
1680/2000 [========================>.....] - ETA: 0s - loss: 0.0212 - acc: 0.9952
1712/2000 [========================>.....] - ETA: 0s - loss: 0.0208 - acc: 0.9953
1744/2000 [=========================>....] - ETA: 0s - loss: 0.0205 - acc: 0.9954
1776/2000 [=========================>....] - ETA: 0s - loss: 0.0207 - acc: 0.9955
1792/2000 [=========================>....] - ETA: 0s - loss: 0.0207 - acc: 0.9955
1824/2000 [==========================>...] - ETA: 0s - loss: 0.0203 - acc: 0.9956
1856/2000 [==========================>...] - ETA: 0s - loss: 0.0214 - acc: 0.9946
1872/2000 [===========================>..] - ETA: 0s - loss: 0.0264 - acc: 0.9936
1904/2000 [===========================>..] - ETA: 0s - loss: 0.0260 - acc: 0.9937
1936/2000 [============================>.] - ETA: 0s - loss: 0.0281 - acc: 0.9933
1968/2000 [============================>.] - ETA: 0s - loss: 0.0276 - acc: 0.9934
2000/2000 [==============================] - 6s 3ms/step - loss: 0.0272 - acc: 0.9935 - val_loss: 0.6954 - val_acc: 0.9113
Epoch 44/50

  16/2000 [..............................] - ETA: 4s - loss: 0.0734 - acc: 0.9375
  48/2000 [..............................] - ETA: 4s - loss: 0.1275 - acc: 0.9375
  80/2000 [>.............................] - ETA: 4s - loss: 0.0768 - acc: 0.9625
 112/2000 [>.............................] - ETA: 4s - loss: 0.0549 - acc: 0.9732
 144/2000 [=>............................] - ETA: 4s - loss: 0.0836 - acc: 0.9722
 176/2000 [=>............................] - ETA: 4s - loss: 0.0684 - acc: 0.9773
 208/2000 [==>...........................] - ETA: 4s - loss: 0.0579 - acc: 0.9808
 240/2000 [==>...........................] - ETA: 4s - loss: 0.0516 - acc: 0.9833
 272/2000 [===>..........................] - ETA: 4s - loss: 0.0477 - acc: 0.9853
 304/2000 [===>..........................] - ETA: 3s - loss: 0.0429 - acc: 0.9868
 336/2000 [====>.........................] - ETA: 3s - loss: 0.0389 - acc: 0.9881
 368/2000 [====>.........................] - ETA: 3s - loss: 0.0355 - acc: 0.9891
 400/2000 [=====>........................] - ETA: 3s - loss: 0.0327 - acc: 0.9900
 432/2000 [=====>........................] - ETA: 3s - loss: 0.0303 - acc: 0.9907
 464/2000 [=====>........................] - ETA: 3s - loss: 0.0285 - acc: 0.9914
 496/2000 [======>.......................] - ETA: 3s - loss: 0.0413 - acc: 0.9899
 528/2000 [======>.......................] - ETA: 3s - loss: 0.0389 - acc: 0.9905
 560/2000 [=======>......................] - ETA: 3s - loss: 0.0368 - acc: 0.9911
 592/2000 [=======>......................] - ETA: 3s - loss: 0.0348 - acc: 0.9916
 624/2000 [========>.....................] - ETA: 3s - loss: 0.0330 - acc: 0.9920
 656/2000 [========>.....................] - ETA: 3s - loss: 0.0314 - acc: 0.9924
 688/2000 [=========>....................] - ETA: 3s - loss: 0.0304 - acc: 0.9927
 720/2000 [=========>....................] - ETA: 3s - loss: 0.0291 - acc: 0.9931
 752/2000 [==========>...................] - ETA: 2s - loss: 0.0279 - acc: 0.9934
 784/2000 [==========>...................] - ETA: 2s - loss: 0.0267 - acc: 0.9936
 816/2000 [===========>..................] - ETA: 2s - loss: 0.0257 - acc: 0.9939
 848/2000 [===========>..................] - ETA: 2s - loss: 0.0247 - acc: 0.9941
 880/2000 [============>.................] - ETA: 2s - loss: 0.0238 - acc: 0.9943
 912/2000 [============>.................] - ETA: 2s - loss: 0.0230 - acc: 0.9945
 944/2000 [=============>................] - ETA: 2s - loss: 0.0224 - acc: 0.9947
 976/2000 [=============>................] - ETA: 2s - loss: 0.0216 - acc: 0.9949
1008/2000 [==============>...............] - ETA: 2s - loss: 0.0209 - acc: 0.9950
1040/2000 [==============>...............] - ETA: 2s - loss: 0.0203 - acc: 0.9952
1072/2000 [===============>..............] - ETA: 2s - loss: 0.0197 - acc: 0.9953
1104/2000 [===============>..............] - ETA: 2s - loss: 0.0191 - acc: 0.9955
1136/2000 [================>.............] - ETA: 2s - loss: 0.0186 - acc: 0.9956
1168/2000 [================>.............] - ETA: 2s - loss: 0.0181 - acc: 0.9957
1200/2000 [=================>............] - ETA: 1s - loss: 0.0176 - acc: 0.9958
1216/2000 [=================>............] - ETA: 1s - loss: 0.0174 - acc: 0.9959
1248/2000 [=================>............] - ETA: 1s - loss: 0.0170 - acc: 0.9960
1280/2000 [==================>...........] - ETA: 1s - loss: 0.0166 - acc: 0.9961
1312/2000 [==================>...........] - ETA: 1s - loss: 0.0179 - acc: 0.9954
1344/2000 [===================>..........] - ETA: 1s - loss: 0.0175 - acc: 0.9955
1376/2000 [===================>..........] - ETA: 1s - loss: 0.0171 - acc: 0.9956
1392/2000 [===================>..........] - ETA: 1s - loss: 0.0169 - acc: 0.9957
1424/2000 [====================>.........] - ETA: 1s - loss: 0.0165 - acc: 0.9958
1440/2000 [====================>.........] - ETA: 1s - loss: 0.0163 - acc: 0.9958
1472/2000 [=====================>........] - ETA: 1s - loss: 0.0160 - acc: 0.9959
1504/2000 [=====================>........] - ETA: 1s - loss: 0.0156 - acc: 0.9960
1536/2000 [======================>.......] - ETA: 1s - loss: 0.0154 - acc: 0.9961
1568/2000 [======================>.......] - ETA: 1s - loss: 0.0151 - acc: 0.9962
1600/2000 [=======================>......] - ETA: 1s - loss: 0.0148 - acc: 0.9962
1616/2000 [=======================>......] - ETA: 0s - loss: 0.0146 - acc: 0.9963
1632/2000 [=======================>......] - ETA: 0s - loss: 0.0151 - acc: 0.9957
1664/2000 [=======================>......] - ETA: 0s - loss: 0.0189 - acc: 0.9946
1680/2000 [========================>.....] - ETA: 0s - loss: 0.0187 - acc: 0.9946
1712/2000 [========================>.....] - ETA: 0s - loss: 0.0184 - acc: 0.9947
1744/2000 [=========================>....] - ETA: 0s - loss: 0.0222 - acc: 0.9937
1776/2000 [=========================>....] - ETA: 0s - loss: 0.0218 - acc: 0.9938
1808/2000 [==========================>...] - ETA: 0s - loss: 0.0214 - acc: 0.9939
1840/2000 [==========================>...] - ETA: 0s - loss: 0.0210 - acc: 0.9940
1872/2000 [===========================>..] - ETA: 0s - loss: 0.0207 - acc: 0.9941
1904/2000 [===========================>..] - ETA: 0s - loss: 0.0203 - acc: 0.9942
1936/2000 [============================>.] - ETA: 0s - loss: 0.0200 - acc: 0.9943
1968/2000 [============================>.] - ETA: 0s - loss: 0.0197 - acc: 0.9944
1984/2000 [============================>.] - ETA: 0s - loss: 0.0195 - acc: 0.9945
2000/2000 [==============================] - 5s 3ms/step - loss: 0.0193 - acc: 0.9945 - val_loss: 0.7085 - val_acc: 0.9075
Epoch 45/50

  16/2000 [..............................] - ETA: 4s - loss: 9.9615e-06 - acc: 1.0000
  48/2000 [..............................] - ETA: 4s - loss: 5.9457e-05 - acc: 1.0000
  80/2000 [>.............................] - ETA: 4s - loss: 4.5511e-05 - acc: 1.0000
 112/2000 [>.............................] - ETA: 4s - loss: 0.0016 - acc: 1.0000
 144/2000 [=>............................] - ETA: 4s - loss: 0.0012 - acc: 1.0000
 176/2000 [=>............................] - ETA: 4s - loss: 9.9961e-04 - acc: 1.0000
 208/2000 [==>...........................] - ETA: 4s - loss: 8.8525e-04 - acc: 1.0000
 240/2000 [==>...........................] - ETA: 4s - loss: 7.7075e-04 - acc: 1.0000
 272/2000 [===>..........................] - ETA: 4s - loss: 0.0015 - acc: 1.0000
 288/2000 [===>..........................] - ETA: 4s - loss: 0.0051 - acc: 0.9965
 320/2000 [===>..........................] - ETA: 4s - loss: 0.0049 - acc: 0.9969
 352/2000 [====>.........................] - ETA: 4s - loss: 0.0045 - acc: 0.9972
 384/2000 [====>.........................] - ETA: 4s - loss: 0.0041 - acc: 0.9974
 416/2000 [=====>........................] - ETA: 4s - loss: 0.0038 - acc: 0.9976
 432/2000 [=====>........................] - ETA: 4s - loss: 0.0036 - acc: 0.9977
 448/2000 [=====>........................] - ETA: 4s - loss: 0.0042 - acc: 0.9978
 480/2000 [======>.......................] - ETA: 4s - loss: 0.0042 - acc: 0.9979
 512/2000 [======>.......................] - ETA: 3s - loss: 0.0040 - acc: 0.9980
 544/2000 [=======>......................] - ETA: 3s - loss: 0.0038 - acc: 0.9982
 576/2000 [=======>......................] - ETA: 3s - loss: 0.0035 - acc: 0.9983
 608/2000 [========>.....................] - ETA: 3s - loss: 0.0034 - acc: 0.9984
 640/2000 [========>.....................] - ETA: 3s - loss: 0.0032 - acc: 0.9984
 672/2000 [=========>....................] - ETA: 3s - loss: 0.0043 - acc: 0.9970
 704/2000 [=========>....................] - ETA: 3s - loss: 0.0068 - acc: 0.9957
 736/2000 [==========>...................] - ETA: 3s - loss: 0.0066 - acc: 0.9959
 768/2000 [==========>...................] - ETA: 3s - loss: 0.0167 - acc: 0.9935
 800/2000 [===========>..................] - ETA: 3s - loss: 0.0161 - acc: 0.9938
 832/2000 [===========>..................] - ETA: 3s - loss: 0.0156 - acc: 0.9940
 848/2000 [===========>..................] - ETA: 3s - loss: 0.0156 - acc: 0.9941
 880/2000 [============>.................] - ETA: 2s - loss: 0.0151 - acc: 0.9943
 912/2000 [============>.................] - ETA: 2s - loss: 0.0156 - acc: 0.9934
 944/2000 [=============>................] - ETA: 2s - loss: 0.0153 - acc: 0.9936
 976/2000 [=============>................] - ETA: 2s - loss: 0.0149 - acc: 0.9939
1008/2000 [==============>...............] - ETA: 2s - loss: 0.0145 - acc: 0.9940
1040/2000 [==============>...............] - ETA: 2s - loss: 0.0140 - acc: 0.9942
1072/2000 [===============>..............] - ETA: 2s - loss: 0.0136 - acc: 0.9944
1104/2000 [===============>..............] - ETA: 2s - loss: 0.0132 - acc: 0.9946
1120/2000 [===============>..............] - ETA: 2s - loss: 0.0130 - acc: 0.9946
1152/2000 [================>.............] - ETA: 2s - loss: 0.0127 - acc: 0.9948
1168/2000 [================>.............] - ETA: 2s - loss: 0.0125 - acc: 0.9949
1200/2000 [=================>............] - ETA: 2s - loss: 0.0121 - acc: 0.9950
1216/2000 [=================>............] - ETA: 2s - loss: 0.0120 - acc: 0.9951
1248/2000 [=================>............] - ETA: 2s - loss: 0.0117 - acc: 0.9952
1280/2000 [==================>...........] - ETA: 1s - loss: 0.0114 - acc: 0.9953
1312/2000 [==================>...........] - ETA: 1s - loss: 0.0112 - acc: 0.9954
1344/2000 [===================>..........] - ETA: 1s - loss: 0.0109 - acc: 0.9955
1376/2000 [===================>..........] - ETA: 1s - loss: 0.0107 - acc: 0.9956
1392/2000 [===================>..........] - ETA: 1s - loss: 0.0105 - acc: 0.9957
1424/2000 [====================>.........] - ETA: 1s - loss: 0.0103 - acc: 0.9958
1456/2000 [====================>.........] - ETA: 1s - loss: 0.0101 - acc: 0.9959
1488/2000 [=====================>........] - ETA: 1s - loss: 0.0101 - acc: 0.9960
1504/2000 [=====================>........] - ETA: 1s - loss: 0.0100 - acc: 0.9960
1520/2000 [=====================>........] - ETA: 1s - loss: 0.0099 - acc: 0.9961
1552/2000 [======================>.......] - ETA: 1s - loss: 0.0097 - acc: 0.9961
1584/2000 [======================>.......] - ETA: 1s - loss: 0.0098 - acc: 0.9962
1616/2000 [=======================>......] - ETA: 1s - loss: 0.0096 - acc: 0.9963
1648/2000 [=======================>......] - ETA: 0s - loss: 0.0094 - acc: 0.9964
1664/2000 [=======================>......] - ETA: 0s - loss: 0.0093 - acc: 0.9964
1680/2000 [========================>.....] - ETA: 0s - loss: 0.0140 - acc: 0.9952
1712/2000 [========================>.....] - ETA: 0s - loss: 0.0155 - acc: 0.9947
1728/2000 [========================>.....] - ETA: 0s - loss: 0.0159 - acc: 0.9942
1760/2000 [=========================>....] - ETA: 0s - loss: 0.0180 - acc: 0.9938
1792/2000 [=========================>....] - ETA: 0s - loss: 0.0177 - acc: 0.9939
1824/2000 [==========================>...] - ETA: 0s - loss: 0.0174 - acc: 0.9940
1856/2000 [==========================>...] - ETA: 0s - loss: 0.0173 - acc: 0.9941
1888/2000 [===========================>..] - ETA: 0s - loss: 0.0170 - acc: 0.9942
1920/2000 [===========================>..] - ETA: 0s - loss: 0.0167 - acc: 0.9943
1952/2000 [============================>.] - ETA: 0s - loss: 0.0166 - acc: 0.9944
1984/2000 [============================>.] - ETA: 0s - loss: 0.0170 - acc: 0.9940
2000/2000 [==============================] - 6s 3ms/step - loss: 0.0168 - acc: 0.9940 - val_loss: 0.7875 - val_acc: 0.9025
Epoch 46/50

  16/2000 [..............................] - ETA: 4s - loss: 0.0039 - acc: 1.0000
  48/2000 [..............................] - ETA: 4s - loss: 0.0020 - acc: 1.0000
  80/2000 [>.............................] - ETA: 4s - loss: 0.0012 - acc: 1.0000
 112/2000 [>.............................] - ETA: 4s - loss: 8.7608e-04 - acc: 1.0000
 144/2000 [=>............................] - ETA: 4s - loss: 6.8217e-04 - acc: 1.0000
 176/2000 [=>............................] - ETA: 4s - loss: 6.9596e-04 - acc: 1.0000
 208/2000 [==>...........................] - ETA: 4s - loss: 5.8926e-04 - acc: 1.0000
 240/2000 [==>...........................] - ETA: 4s - loss: 6.2508e-04 - acc: 1.0000
 272/2000 [===>..........................] - ETA: 4s - loss: 5.5344e-04 - acc: 1.0000
 304/2000 [===>..........................] - ETA: 4s - loss: 5.1553e-04 - acc: 1.0000
 336/2000 [====>.........................] - ETA: 4s - loss: 4.6863e-04 - acc: 1.0000
 368/2000 [====>.........................] - ETA: 3s - loss: 4.5044e-04 - acc: 1.0000
 400/2000 [=====>........................] - ETA: 3s - loss: 4.1445e-04 - acc: 1.0000
 432/2000 [=====>........................] - ETA: 3s - loss: 3.8425e-04 - acc: 1.0000
 464/2000 [=====>........................] - ETA: 3s - loss: 4.3938e-04 - acc: 1.0000
 496/2000 [======>.......................] - ETA: 3s - loss: 0.0052 - acc: 0.9980
 528/2000 [======>.......................] - ETA: 3s - loss: 0.0049 - acc: 0.9981
 560/2000 [=======>......................] - ETA: 3s - loss: 0.0047 - acc: 0.9982
 592/2000 [=======>......................] - ETA: 3s - loss: 0.0044 - acc: 0.9983
 624/2000 [========>.....................] - ETA: 3s - loss: 0.0042 - acc: 0.9984
 656/2000 [========>.....................] - ETA: 3s - loss: 0.0040 - acc: 0.9985
 688/2000 [=========>....................] - ETA: 3s - loss: 0.0039 - acc: 0.9985
 704/2000 [=========>....................] - ETA: 3s - loss: 0.0038 - acc: 0.9986
 736/2000 [==========>...................] - ETA: 3s - loss: 0.0036 - acc: 0.9986
 768/2000 [==========>...................] - ETA: 3s - loss: 0.0035 - acc: 0.9987
 800/2000 [===========>..................] - ETA: 2s - loss: 0.0039 - acc: 0.9988
 832/2000 [===========>..................] - ETA: 2s - loss: 0.0038 - acc: 0.9988
 864/2000 [===========>..................] - ETA: 2s - loss: 0.0043 - acc: 0.9988
 896/2000 [============>.................] - ETA: 2s - loss: 0.0173 - acc: 0.9978
 928/2000 [============>.................] - ETA: 2s - loss: 0.0168 - acc: 0.9978
 960/2000 [=============>................] - ETA: 2s - loss: 0.0162 - acc: 0.9979
 992/2000 [=============>................] - ETA: 2s - loss: 0.0157 - acc: 0.9980
1024/2000 [==============>...............] - ETA: 2s - loss: 0.0152 - acc: 0.9980
1056/2000 [==============>...............] - ETA: 2s - loss: 0.0267 - acc: 0.9962
1088/2000 [===============>..............] - ETA: 2s - loss: 0.0259 - acc: 0.9963
1120/2000 [===============>..............] - ETA: 2s - loss: 0.0252 - acc: 0.9964
1152/2000 [================>.............] - ETA: 2s - loss: 0.0245 - acc: 0.9965
1184/2000 [================>.............] - ETA: 2s - loss: 0.0238 - acc: 0.9966
1216/2000 [=================>............] - ETA: 1s - loss: 0.0232 - acc: 0.9967
1248/2000 [=================>............] - ETA: 1s - loss: 0.0226 - acc: 0.9968
1280/2000 [==================>...........] - ETA: 1s - loss: 0.0221 - acc: 0.9969
1312/2000 [==================>...........] - ETA: 1s - loss: 0.0216 - acc: 0.9970
1328/2000 [==================>...........] - ETA: 1s - loss: 0.0214 - acc: 0.9970
1360/2000 [===================>..........] - ETA: 1s - loss: 0.0209 - acc: 0.9971
1392/2000 [===================>..........] - ETA: 1s - loss: 0.0204 - acc: 0.9971
1424/2000 [====================>.........] - ETA: 1s - loss: 0.0199 - acc: 0.9972
1456/2000 [====================>.........] - ETA: 1s - loss: 0.0195 - acc: 0.9973
1488/2000 [=====================>........] - ETA: 1s - loss: 0.0191 - acc: 0.9973
1520/2000 [=====================>........] - ETA: 1s - loss: 0.0187 - acc: 0.9974
1552/2000 [======================>.......] - ETA: 1s - loss: 0.0183 - acc: 0.9974
1584/2000 [======================>.......] - ETA: 1s - loss: 0.0179 - acc: 0.9975
1616/2000 [=======================>......] - ETA: 0s - loss: 0.0176 - acc: 0.9975
1648/2000 [=======================>......] - ETA: 0s - loss: 0.0172 - acc: 0.9976
1680/2000 [========================>.....] - ETA: 0s - loss: 0.0169 - acc: 0.9976
1712/2000 [========================>.....] - ETA: 0s - loss: 0.0166 - acc: 0.9977
1744/2000 [=========================>....] - ETA: 0s - loss: 0.0163 - acc: 0.9977
1776/2000 [=========================>....] - ETA: 0s - loss: 0.0160 - acc: 0.9977
1808/2000 [==========================>...] - ETA: 0s - loss: 0.0157 - acc: 0.9978
1840/2000 [==========================>...] - ETA: 0s - loss: 0.0154 - acc: 0.9978
1872/2000 [===========================>..] - ETA: 0s - loss: 0.0152 - acc: 0.9979
1888/2000 [===========================>..] - ETA: 0s - loss: 0.0151 - acc: 0.9979
1920/2000 [===========================>..] - ETA: 0s - loss: 0.0148 - acc: 0.9979
1936/2000 [============================>.] - ETA: 0s - loss: 0.0147 - acc: 0.9979
1968/2000 [============================>.] - ETA: 0s - loss: 0.0145 - acc: 0.9980
2000/2000 [==============================] - 5s 3ms/step - loss: 0.0143 - acc: 0.9980 - val_loss: 0.8773 - val_acc: 0.9012
Epoch 47/50

  16/2000 [..............................] - ETA: 5s - loss: 0.2486 - acc: 0.9375
  48/2000 [..............................] - ETA: 5s - loss: 0.0829 - acc: 0.9792
  80/2000 [>.............................] - ETA: 5s - loss: 0.0505 - acc: 0.9875
 112/2000 [>.............................] - ETA: 5s - loss: 0.0368 - acc: 0.9911
 144/2000 [=>............................] - ETA: 5s - loss: 0.0286 - acc: 0.9931
 176/2000 [=>............................] - ETA: 4s - loss: 0.0266 - acc: 0.9943
 208/2000 [==>...........................] - ETA: 4s - loss: 0.0225 - acc: 0.9952
 240/2000 [==>...........................] - ETA: 4s - loss: 0.0197 - acc: 0.9958
 256/2000 [==>...........................] - ETA: 4s - loss: 0.0220 - acc: 0.9922
 288/2000 [===>..........................] - ETA: 4s - loss: 0.0198 - acc: 0.9931
 320/2000 [===>..........................] - ETA: 4s - loss: 0.0184 - acc: 0.9938
 352/2000 [====>.........................] - ETA: 4s - loss: 0.0167 - acc: 0.9943
 384/2000 [====>.........................] - ETA: 4s - loss: 0.0153 - acc: 0.9948
 416/2000 [=====>........................] - ETA: 4s - loss: 0.0143 - acc: 0.9952
 432/2000 [=====>........................] - ETA: 4s - loss: 0.0137 - acc: 0.9954
 464/2000 [=====>........................] - ETA: 4s - loss: 0.0128 - acc: 0.9957
 496/2000 [======>.......................] - ETA: 4s - loss: 0.0121 - acc: 0.9960
 528/2000 [======>.......................] - ETA: 4s - loss: 0.0114 - acc: 0.9962
 560/2000 [=======>......................] - ETA: 4s - loss: 0.0108 - acc: 0.9964
 592/2000 [=======>......................] - ETA: 3s - loss: 0.0107 - acc: 0.9966
 624/2000 [========>.....................] - ETA: 3s - loss: 0.0105 - acc: 0.9968
 656/2000 [========>.....................] - ETA: 3s - loss: 0.0120 - acc: 0.9954
 688/2000 [=========>....................] - ETA: 3s - loss: 0.0115 - acc: 0.9956
 704/2000 [=========>....................] - ETA: 3s - loss: 0.0112 - acc: 0.9957
 736/2000 [==========>...................] - ETA: 3s - loss: 0.0107 - acc: 0.9959
 768/2000 [==========>...................] - ETA: 3s - loss: 0.0103 - acc: 0.9961
 800/2000 [===========>..................] - ETA: 3s - loss: 0.0099 - acc: 0.9962
 832/2000 [===========>..................] - ETA: 3s - loss: 0.0095 - acc: 0.9964
 864/2000 [===========>..................] - ETA: 3s - loss: 0.0092 - acc: 0.9965
 896/2000 [============>.................] - ETA: 3s - loss: 0.0088 - acc: 0.9967
 928/2000 [============>.................] - ETA: 2s - loss: 0.0085 - acc: 0.9968
 960/2000 [=============>................] - ETA: 2s - loss: 0.0083 - acc: 0.9969
 992/2000 [=============>................] - ETA: 2s - loss: 0.0080 - acc: 0.9970
1024/2000 [==============>...............] - ETA: 2s - loss: 0.0078 - acc: 0.9971
1056/2000 [==============>...............] - ETA: 2s - loss: 0.0075 - acc: 0.9972
1088/2000 [===============>..............] - ETA: 2s - loss: 0.0073 - acc: 0.9972
1120/2000 [===============>..............] - ETA: 2s - loss: 0.0072 - acc: 0.9973
1152/2000 [================>.............] - ETA: 2s - loss: 0.0070 - acc: 0.9974
1184/2000 [================>.............] - ETA: 2s - loss: 0.0068 - acc: 0.9975
1216/2000 [=================>............] - ETA: 2s - loss: 0.0067 - acc: 0.9975
1248/2000 [=================>............] - ETA: 2s - loss: 0.0065 - acc: 0.9976
1280/2000 [==================>...........] - ETA: 1s - loss: 0.0063 - acc: 0.9977
1312/2000 [==================>...........] - ETA: 1s - loss: 0.0064 - acc: 0.9977
1344/2000 [===================>..........] - ETA: 1s - loss: 0.0073 - acc: 0.9970
1376/2000 [===================>..........] - ETA: 1s - loss: 0.0072 - acc: 0.9971
1408/2000 [====================>.........] - ETA: 1s - loss: 0.0071 - acc: 0.9972
1440/2000 [====================>.........] - ETA: 1s - loss: 0.0069 - acc: 0.9972
1472/2000 [=====================>........] - ETA: 1s - loss: 0.0068 - acc: 0.9973
1504/2000 [=====================>........] - ETA: 1s - loss: 0.0066 - acc: 0.9973
1536/2000 [======================>.......] - ETA: 1s - loss: 0.0065 - acc: 0.9974
1568/2000 [======================>.......] - ETA: 1s - loss: 0.0064 - acc: 0.9974
1600/2000 [=======================>......] - ETA: 1s - loss: 0.0063 - acc: 0.9975
1632/2000 [=======================>......] - ETA: 0s - loss: 0.0073 - acc: 0.9969
1664/2000 [=======================>......] - ETA: 0s - loss: 0.0217 - acc: 0.9958
1696/2000 [========================>.....] - ETA: 0s - loss: 0.0213 - acc: 0.9959
1728/2000 [========================>.....] - ETA: 0s - loss: 0.0237 - acc: 0.9954
1760/2000 [=========================>....] - ETA: 0s - loss: 0.0232 - acc: 0.9955
1792/2000 [=========================>....] - ETA: 0s - loss: 0.0228 - acc: 0.9955
1824/2000 [==========================>...] - ETA: 0s - loss: 0.0224 - acc: 0.9956
1856/2000 [==========================>...] - ETA: 0s - loss: 0.0221 - acc: 0.9957
1888/2000 [===========================>..] - ETA: 0s - loss: 0.0217 - acc: 0.9958
1920/2000 [===========================>..] - ETA: 0s - loss: 0.0213 - acc: 0.9958
1952/2000 [============================>.] - ETA: 0s - loss: 0.0210 - acc: 0.9959
1984/2000 [============================>.] - ETA: 0s - loss: 0.0228 - acc: 0.9955
2000/2000 [==============================] - 6s 3ms/step - loss: 0.0236 - acc: 0.9950 - val_loss: 0.9994 - val_acc: 0.8988
Epoch 48/50

  16/2000 [..............................] - ETA: 4s - loss: 1.0840e-07 - acc: 1.0000
  48/2000 [..............................] - ETA: 4s - loss: 1.8948e-05 - acc: 1.0000
  80/2000 [>.............................] - ETA: 4s - loss: 0.0237 - acc: 0.9875
 112/2000 [>.............................] - ETA: 4s - loss: 0.0170 - acc: 0.9911
 144/2000 [=>............................] - ETA: 4s - loss: 0.0132 - acc: 0.9931
 176/2000 [=>............................] - ETA: 4s - loss: 0.0110 - acc: 0.9943
 208/2000 [==>...........................] - ETA: 4s - loss: 0.0093 - acc: 0.9952
 240/2000 [==>...........................] - ETA: 3s - loss: 0.0081 - acc: 0.9958
 272/2000 [===>..........................] - ETA: 3s - loss: 0.0073 - acc: 0.9963
 304/2000 [===>..........................] - ETA: 3s - loss: 0.0329 - acc: 0.9934
 336/2000 [====>.........................] - ETA: 3s - loss: 0.0495 - acc: 0.9881
 368/2000 [====>.........................] - ETA: 3s - loss: 0.0487 - acc: 0.9864
 400/2000 [=====>........................] - ETA: 3s - loss: 0.0448 - acc: 0.9875
 416/2000 [=====>........................] - ETA: 3s - loss: 0.0436 - acc: 0.9880
 448/2000 [=====>........................] - ETA: 3s - loss: 0.0405 - acc: 0.9888
 480/2000 [======>.......................] - ETA: 3s - loss: 0.0378 - acc: 0.9896
 512/2000 [======>.......................] - ETA: 3s - loss: 0.0354 - acc: 0.9902
 544/2000 [=======>......................] - ETA: 3s - loss: 0.0334 - acc: 0.9908
 576/2000 [=======>......................] - ETA: 3s - loss: 0.0315 - acc: 0.9913
 608/2000 [========>.....................] - ETA: 3s - loss: 0.0299 - acc: 0.9918
 640/2000 [========>.....................] - ETA: 3s - loss: 0.0284 - acc: 0.9922
 672/2000 [=========>....................] - ETA: 3s - loss: 0.0271 - acc: 0.9926
 704/2000 [=========>....................] - ETA: 3s - loss: 0.0259 - acc: 0.9929
 736/2000 [==========>...................] - ETA: 3s - loss: 0.0248 - acc: 0.9932
 768/2000 [==========>...................] - ETA: 3s - loss: 0.0238 - acc: 0.9935
 784/2000 [==========>...................] - ETA: 3s - loss: 0.0233 - acc: 0.9936
 800/2000 [===========>..................] - ETA: 3s - loss: 0.0228 - acc: 0.9938
 816/2000 [===========>..................] - ETA: 3s - loss: 0.0224 - acc: 0.9939
 832/2000 [===========>..................] - ETA: 2s - loss: 0.0219 - acc: 0.9940
 864/2000 [===========>..................] - ETA: 2s - loss: 0.0211 - acc: 0.9942
 896/2000 [============>.................] - ETA: 2s - loss: 0.0204 - acc: 0.9944
 928/2000 [============>.................] - ETA: 2s - loss: 0.0197 - acc: 0.9946
 960/2000 [=============>................] - ETA: 2s - loss: 0.0190 - acc: 0.9948
 992/2000 [=============>................] - ETA: 2s - loss: 0.0184 - acc: 0.9950
1024/2000 [==============>...............] - ETA: 2s - loss: 0.0178 - acc: 0.9951
1040/2000 [==============>...............] - ETA: 2s - loss: 0.0176 - acc: 0.9952
1072/2000 [===============>..............] - ETA: 2s - loss: 0.0170 - acc: 0.9953
1088/2000 [===============>..............] - ETA: 2s - loss: 0.0168 - acc: 0.9954
1104/2000 [===============>..............] - ETA: 2s - loss: 0.0166 - acc: 0.9955
1136/2000 [================>.............] - ETA: 2s - loss: 0.0162 - acc: 0.9956
1168/2000 [================>.............] - ETA: 2s - loss: 0.0157 - acc: 0.9957
1200/2000 [=================>............] - ETA: 2s - loss: 0.0159 - acc: 0.9958
1232/2000 [=================>............] - ETA: 2s - loss: 0.0155 - acc: 0.9959
1264/2000 [=================>............] - ETA: 1s - loss: 0.0151 - acc: 0.9960
1296/2000 [==================>...........] - ETA: 1s - loss: 0.0148 - acc: 0.9961
1312/2000 [==================>...........] - ETA: 1s - loss: 0.0146 - acc: 0.9962
1344/2000 [===================>..........] - ETA: 1s - loss: 0.0143 - acc: 0.9963
1376/2000 [===================>..........] - ETA: 1s - loss: 0.0140 - acc: 0.9964
1408/2000 [====================>.........] - ETA: 1s - loss: 0.0137 - acc: 0.9964
1440/2000 [====================>.........] - ETA: 1s - loss: 0.0137 - acc: 0.9965
1472/2000 [=====================>........] - ETA: 1s - loss: 0.0134 - acc: 0.9966
1504/2000 [=====================>........] - ETA: 1s - loss: 0.0131 - acc: 0.9967
1536/2000 [======================>.......] - ETA: 1s - loss: 0.0129 - acc: 0.9967
1568/2000 [======================>.......] - ETA: 1s - loss: 0.0126 - acc: 0.9968
1600/2000 [=======================>......] - ETA: 1s - loss: 0.0123 - acc: 0.9969
1632/2000 [=======================>......] - ETA: 1s - loss: 0.0123 - acc: 0.9969
1664/2000 [=======================>......] - ETA: 0s - loss: 0.0121 - acc: 0.9970
1696/2000 [========================>.....] - ETA: 0s - loss: 0.0146 - acc: 0.9965
1728/2000 [========================>.....] - ETA: 0s - loss: 0.0154 - acc: 0.9959
1760/2000 [=========================>....] - ETA: 0s - loss: 0.0152 - acc: 0.9960
1792/2000 [=========================>....] - ETA: 0s - loss: 0.0150 - acc: 0.9961
1824/2000 [==========================>...] - ETA: 0s - loss: 0.0147 - acc: 0.9962
1856/2000 [==========================>...] - ETA: 0s - loss: 0.0145 - acc: 0.9962
1888/2000 [===========================>..] - ETA: 0s - loss: 0.0143 - acc: 0.9963
1904/2000 [===========================>..] - ETA: 0s - loss: 0.0142 - acc: 0.9963
1936/2000 [============================>.] - ETA: 0s - loss: 0.0147 - acc: 0.9959
1968/2000 [============================>.] - ETA: 0s - loss: 0.0152 - acc: 0.9954
2000/2000 [==============================] - 6s 3ms/step - loss: 0.0154 - acc: 0.9950 - val_loss: 0.7933 - val_acc: 0.8975
Epoch 49/50

  16/2000 [..............................] - ETA: 4s - loss: 5.6955e-05 - acc: 1.0000
  48/2000 [..............................] - ETA: 5s - loss: 0.0306 - acc: 0.9792
  80/2000 [>.............................] - ETA: 5s - loss: 0.0225 - acc: 0.9875
 112/2000 [>.............................] - ETA: 5s - loss: 0.0253 - acc: 0.9821
 128/2000 [>.............................] - ETA: 5s - loss: 0.0241 - acc: 0.9844
 160/2000 [=>............................] - ETA: 5s - loss: 0.0192 - acc: 0.9875
 192/2000 [=>............................] - ETA: 5s - loss: 0.0160 - acc: 0.9896
 224/2000 [==>...........................] - ETA: 4s - loss: 0.0139 - acc: 0.9911
 256/2000 [==>...........................] - ETA: 4s - loss: 0.0126 - acc: 0.9922
 288/2000 [===>..........................] - ETA: 4s - loss: 0.0113 - acc: 0.9931
 320/2000 [===>..........................] - ETA: 4s - loss: 0.0101 - acc: 0.9938
 352/2000 [====>.........................] - ETA: 4s - loss: 0.0092 - acc: 0.9943
 368/2000 [====>.........................] - ETA: 4s - loss: 0.0088 - acc: 0.9946
 400/2000 [=====>........................] - ETA: 4s - loss: 0.0118 - acc: 0.9925
 432/2000 [=====>........................] - ETA: 4s - loss: 0.0109 - acc: 0.9931
 464/2000 [=====>........................] - ETA: 4s - loss: 0.0101 - acc: 0.9935
 496/2000 [======>.......................] - ETA: 4s - loss: 0.0095 - acc: 0.9940
 528/2000 [======>.......................] - ETA: 4s - loss: 0.0092 - acc: 0.9943
 544/2000 [=======>......................] - ETA: 4s - loss: 0.0089 - acc: 0.9945
 560/2000 [=======>......................] - ETA: 4s - loss: 0.0087 - acc: 0.9946
 576/2000 [=======>......................] - ETA: 4s - loss: 0.0084 - acc: 0.9948
 608/2000 [========>.....................] - ETA: 3s - loss: 0.0080 - acc: 0.9951
 640/2000 [========>.....................] - ETA: 3s - loss: 0.0076 - acc: 0.9953
 672/2000 [=========>....................] - ETA: 3s - loss: 0.0077 - acc: 0.9955
 688/2000 [=========>....................] - ETA: 3s - loss: 0.0075 - acc: 0.9956
 704/2000 [=========>....................] - ETA: 3s - loss: 0.0073 - acc: 0.9957
 720/2000 [=========>....................] - ETA: 3s - loss: 0.0072 - acc: 0.9958
 736/2000 [==========>...................] - ETA: 3s - loss: 0.0073 - acc: 0.9959
 752/2000 [==========>...................] - ETA: 3s - loss: 0.0071 - acc: 0.9960
 784/2000 [==========>...................] - ETA: 3s - loss: 0.0068 - acc: 0.9962
 800/2000 [===========>..................] - ETA: 3s - loss: 0.0067 - acc: 0.9962
 832/2000 [===========>..................] - ETA: 3s - loss: 0.0066 - acc: 0.9964
 864/2000 [===========>..................] - ETA: 3s - loss: 0.0064 - acc: 0.9965
 896/2000 [============>.................] - ETA: 3s - loss: 0.0062 - acc: 0.9967
 912/2000 [============>.................] - ETA: 3s - loss: 0.0061 - acc: 0.9967
 928/2000 [============>.................] - ETA: 3s - loss: 0.0060 - acc: 0.9968
 960/2000 [=============>................] - ETA: 3s - loss: 0.0058 - acc: 0.9969
 992/2000 [=============>................] - ETA: 3s - loss: 0.0056 - acc: 0.9970
1008/2000 [==============>...............] - ETA: 2s - loss: 0.0080 - acc: 0.9960
1040/2000 [==============>...............] - ETA: 2s - loss: 0.0083 - acc: 0.9962
1072/2000 [===============>..............] - ETA: 2s - loss: 0.0109 - acc: 0.9953
1088/2000 [===============>..............] - ETA: 2s - loss: 0.0108 - acc: 0.9954
1104/2000 [===============>..............] - ETA: 2s - loss: 0.0113 - acc: 0.9946
1136/2000 [================>.............] - ETA: 2s - loss: 0.0110 - acc: 0.9947
1168/2000 [================>.............] - ETA: 2s - loss: 0.0107 - acc: 0.9949
1200/2000 [=================>............] - ETA: 2s - loss: 0.0107 - acc: 0.9950
1232/2000 [=================>............] - ETA: 2s - loss: 0.0105 - acc: 0.9951
1264/2000 [=================>............] - ETA: 2s - loss: 0.0102 - acc: 0.9953
1296/2000 [==================>...........] - ETA: 2s - loss: 0.0100 - acc: 0.9954
1328/2000 [==================>...........] - ETA: 1s - loss: 0.0099 - acc: 0.9955
1360/2000 [===================>..........] - ETA: 1s - loss: 0.0096 - acc: 0.9956
1392/2000 [===================>..........] - ETA: 1s - loss: 0.0095 - acc: 0.9957
1424/2000 [====================>.........] - ETA: 1s - loss: 0.0093 - acc: 0.9958
1456/2000 [====================>.........] - ETA: 1s - loss: 0.0091 - acc: 0.9959
1472/2000 [=====================>........] - ETA: 1s - loss: 0.0090 - acc: 0.9959
1488/2000 [=====================>........] - ETA: 1s - loss: 0.0089 - acc: 0.9960
1504/2000 [=====================>........] - ETA: 1s - loss: 0.0088 - acc: 0.9960
1536/2000 [======================>.......] - ETA: 1s - loss: 0.0087 - acc: 0.9961
1568/2000 [======================>.......] - ETA: 1s - loss: 0.0090 - acc: 0.9962
1584/2000 [======================>.......] - ETA: 1s - loss: 0.0094 - acc: 0.9962
1616/2000 [=======================>......] - ETA: 1s - loss: 0.0142 - acc: 0.9957
1648/2000 [=======================>......] - ETA: 1s - loss: 0.0139 - acc: 0.9958
1680/2000 [========================>.....] - ETA: 0s - loss: 0.0136 - acc: 0.9958
1712/2000 [========================>.....] - ETA: 0s - loss: 0.0134 - acc: 0.9959
1728/2000 [========================>.....] - ETA: 0s - loss: 0.0133 - acc: 0.9959
1760/2000 [=========================>....] - ETA: 0s - loss: 0.0130 - acc: 0.9960
1792/2000 [=========================>....] - ETA: 0s - loss: 0.0128 - acc: 0.9961
1824/2000 [==========================>...] - ETA: 0s - loss: 0.0126 - acc: 0.9962
1856/2000 [==========================>...] - ETA: 0s - loss: 0.0124 - acc: 0.9962
1888/2000 [===========================>..] - ETA: 0s - loss: 0.0121 - acc: 0.9963
1920/2000 [===========================>..] - ETA: 0s - loss: 0.0119 - acc: 0.9964
1952/2000 [============================>.] - ETA: 0s - loss: 0.0117 - acc: 0.9964
1984/2000 [============================>.] - ETA: 0s - loss: 0.0116 - acc: 0.9965
2000/2000 [==============================] - 6s 3ms/step - loss: 0.0115 - acc: 0.9965 - val_loss: 0.7285 - val_acc: 0.9113
Epoch 50/50

  16/2000 [..............................] - ETA: 4s - loss: 2.8943e-05 - acc: 1.0000
  48/2000 [..............................] - ETA: 4s - loss: 1.6005e-05 - acc: 1.0000
  80/2000 [>.............................] - ETA: 4s - loss: 1.4879e-05 - acc: 1.0000
 112/2000 [>.............................] - ETA: 4s - loss: 1.5480e-05 - acc: 1.0000
 144/2000 [=>............................] - ETA: 4s - loss: 1.7468e-04 - acc: 1.0000
 176/2000 [=>............................] - ETA: 4s - loss: 2.6033e-04 - acc: 1.0000
 192/2000 [=>............................] - ETA: 4s - loss: 2.6066e-04 - acc: 1.0000
 224/2000 [==>...........................] - ETA: 4s - loss: 2.2659e-04 - acc: 1.0000
 256/2000 [==>...........................] - ETA: 4s - loss: 2.3789e-04 - acc: 1.0000
 288/2000 [===>..........................] - ETA: 4s - loss: 8.2516e-04 - acc: 1.0000
 320/2000 [===>..........................] - ETA: 4s - loss: 0.0120 - acc: 0.9938
 352/2000 [====>.........................] - ETA: 4s - loss: 0.0109 - acc: 0.9943
 384/2000 [====>.........................] - ETA: 4s - loss: 0.0100 - acc: 0.9948
 400/2000 [=====>........................] - ETA: 4s - loss: 0.0097 - acc: 0.9950
 416/2000 [=====>........................] - ETA: 4s - loss: 0.0093 - acc: 0.9952
 432/2000 [=====>........................] - ETA: 4s - loss: 0.0090 - acc: 0.9954
 448/2000 [=====>........................] - ETA: 4s - loss: 0.0086 - acc: 0.9955
 480/2000 [======>.......................] - ETA: 4s - loss: 0.0081 - acc: 0.9958
 512/2000 [======>.......................] - ETA: 4s - loss: 0.0076 - acc: 0.9961
 544/2000 [=======>......................] - ETA: 4s - loss: 0.0071 - acc: 0.9963
 576/2000 [=======>......................] - ETA: 4s - loss: 0.0067 - acc: 0.9965
 592/2000 [=======>......................] - ETA: 4s - loss: 0.0065 - acc: 0.9966
 608/2000 [========>.....................] - ETA: 3s - loss: 0.0083 - acc: 0.9951
 624/2000 [========>.....................] - ETA: 3s - loss: 0.0081 - acc: 0.9952
 640/2000 [========>.....................] - ETA: 3s - loss: 0.0123 - acc: 0.9938
 672/2000 [=========>....................] - ETA: 3s - loss: 0.0117 - acc: 0.9940
 704/2000 [=========>....................] - ETA: 3s - loss: 0.0112 - acc: 0.9943
 736/2000 [==========>...................] - ETA: 3s - loss: 0.0108 - acc: 0.9946
 768/2000 [==========>...................] - ETA: 3s - loss: 0.0103 - acc: 0.9948
 800/2000 [===========>..................] - ETA: 3s - loss: 0.0099 - acc: 0.9950
 832/2000 [===========>..................] - ETA: 3s - loss: 0.0095 - acc: 0.9952
 864/2000 [===========>..................] - ETA: 3s - loss: 0.0092 - acc: 0.9954
 896/2000 [============>.................] - ETA: 3s - loss: 0.0089 - acc: 0.9955
 928/2000 [============>.................] - ETA: 3s - loss: 0.0086 - acc: 0.9957
 960/2000 [=============>................] - ETA: 2s - loss: 0.0084 - acc: 0.9958
 992/2000 [=============>................] - ETA: 2s - loss: 0.0082 - acc: 0.9960
1024/2000 [==============>...............] - ETA: 2s - loss: 0.0080 - acc: 0.9961
1056/2000 [==============>...............] - ETA: 2s - loss: 0.0077 - acc: 0.9962
1088/2000 [===============>..............] - ETA: 2s - loss: 0.0077 - acc: 0.9963
1120/2000 [===============>..............] - ETA: 2s - loss: 0.0075 - acc: 0.9964
1152/2000 [================>.............] - ETA: 2s - loss: 0.0097 - acc: 0.9948
1184/2000 [================>.............] - ETA: 2s - loss: 0.0094 - acc: 0.9949
1216/2000 [=================>............] - ETA: 2s - loss: 0.0092 - acc: 0.9951
1248/2000 [=================>............] - ETA: 2s - loss: 0.0090 - acc: 0.9952
1280/2000 [==================>...........] - ETA: 2s - loss: 0.0087 - acc: 0.9953
1312/2000 [==================>...........] - ETA: 1s - loss: 0.0085 - acc: 0.9954
1344/2000 [===================>..........] - ETA: 1s - loss: 0.0083 - acc: 0.9955
1376/2000 [===================>..........] - ETA: 1s - loss: 0.0081 - acc: 0.9956
1408/2000 [====================>.........] - ETA: 1s - loss: 0.0079 - acc: 0.9957
1440/2000 [====================>.........] - ETA: 1s - loss: 0.0078 - acc: 0.9958
1472/2000 [=====================>........] - ETA: 1s - loss: 0.0076 - acc: 0.9959
1504/2000 [=====================>........] - ETA: 1s - loss: 0.0075 - acc: 0.9960
1536/2000 [======================>.......] - ETA: 1s - loss: 0.0073 - acc: 0.9961
1568/2000 [======================>.......] - ETA: 1s - loss: 0.0074 - acc: 0.9962
1600/2000 [=======================>......] - ETA: 1s - loss: 0.0074 - acc: 0.9962
1632/2000 [=======================>......] - ETA: 1s - loss: 0.0072 - acc: 0.9963
1664/2000 [=======================>......] - ETA: 0s - loss: 0.0071 - acc: 0.9964
1696/2000 [========================>.....] - ETA: 0s - loss: 0.0070 - acc: 0.9965
1728/2000 [========================>.....] - ETA: 0s - loss: 0.0068 - acc: 0.9965
1760/2000 [=========================>....] - ETA: 0s - loss: 0.0070 - acc: 0.9966
1792/2000 [=========================>....] - ETA: 0s - loss: 0.0069 - acc: 0.9967
1824/2000 [==========================>...] - ETA: 0s - loss: 0.0073 - acc: 0.9962
1856/2000 [==========================>...] - ETA: 0s - loss: 0.0072 - acc: 0.9962
1888/2000 [===========================>..] - ETA: 0s - loss: 0.0070 - acc: 0.9963
1920/2000 [===========================>..] - ETA: 0s - loss: 0.0070 - acc: 0.9964
1936/2000 [============================>.] - ETA: 0s - loss: 0.0082 - acc: 0.9959
1968/2000 [============================>.] - ETA: 0s - loss: 0.0124 - acc: 0.9949
2000/2000 [==============================] - 6s 3ms/step - loss: 0.0122 - acc: 0.9950 - val_loss: 0.7943 - val_acc: 0.9125
(0)

相关推荐