TensorFlow教程

深度残差网络+自适应参数化ReLU激活函数(调参记录11)

本文主要是介绍深度残差网络+自适应参数化ReLU激活函数(调参记录11),对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

本文在调参记录10的基础上,将残差模块的数量从27个增加到60个,测试采用Adaptively Parametric ReLU(APReLU)激活函数的深度残差网络,在Cifar10图像集上的效果。
aprelu.png

Keras程序如下:

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Apr 14 04:17:45 2020
Implemented using TensorFlow 1.0.1 and Keras 2.2.1

Minghang Zhao, Shisheng Zhong, Xuyun Fu, Baoping Tang, Shaojiang Dong, Michael Pecht,
Deep Residual Networks with Adaptively Parametric Rectifier Linear Units for Fault Diagnosis, 
IEEE Transactions on Industrial Electronics, 2020,  DOI: 10.1109/TIE.2020.2972458 

@author: Minghang Zhao
"""

from __future__ import print_function
import keras
import numpy as np
from keras.datasets import cifar10
from keras.layers import Dense, Conv2D, BatchNormalization, Activation, Minimum
from keras.layers import AveragePooling2D, Input, GlobalAveragePooling2D, Concatenate, Reshape
from keras.regularizers import l2
from keras import backend as K
from keras.models import Model
from keras import optimizers
from keras.preprocessing.image import ImageDataGenerator
from keras.callbacks import LearningRateScheduler
K.set_learning_phase(1)

# The data, split between train and test sets
(x_train, y_train), (x_test, y_test) = cifar10.load_data()

# Noised data
x_train = x_train.astype('float32') / 255.
x_test = x_test.astype('float32') / 255.
x_test = x_test-np.mean(x_train)
x_train = x_train-np.mean(x_train)
print('x_train shape:', x_train.shape)
print(x_train.shape[0], 'train samples')
print(x_test.shape[0], 'test samples')

# convert class vectors to binary class matrices
y_train = keras.utils.to_categorical(y_train, 10)
y_test = keras.utils.to_categorical(y_test, 10)

# Schedule the learning rate, multiply 0.1 every 300 epoches
def scheduler(epoch):
    if epoch % 300 == 0 and epoch != 0:
        lr = K.get_value(model.optimizer.lr)
        K.set_value(model.optimizer.lr, lr * 0.1)
        print("lr changed to {}".format(lr * 0.1))
    return K.get_value(model.optimizer.lr)

# An adaptively parametric rectifier linear unit (APReLU)
def aprelu(inputs):
    # get the number of channels
    channels = inputs.get_shape().as_list()[-1]
    # get a zero feature map
    zeros_input = keras.layers.subtract([inputs, inputs])
    # get a feature map with only positive features
    pos_input = Activation('relu')(inputs)
    # get a feature map with only negative features
    neg_input = Minimum()([inputs,zeros_input])
    # define a network to obtain the scaling coefficients
    scales_p = GlobalAveragePooling2D()(pos_input)
    scales_n = GlobalAveragePooling2D()(neg_input)
    scales = Concatenate()([scales_n, scales_p])
    scales = Dense(channels, activation='linear', kernel_initializer='he_normal', kernel_regularizer=l2(1e-4))(scales)
    scales = BatchNormalization(momentum=0.9, gamma_regularizer=l2(1e-4))(scales)
    scales = Activation('relu')(scales)
    scales = Dense(channels, activation='linear', kernel_initializer='he_normal', kernel_regularizer=l2(1e-4))(scales)
    scales = BatchNormalization(momentum=0.9, gamma_regularizer=l2(1e-4))(scales)
    scales = Activation('sigmoid')(scales)
    scales = Reshape((1,1,channels))(scales)
    # apply a paramtetric relu
    neg_part = keras.layers.multiply([scales, neg_input])
    return keras.layers.add([pos_input, neg_part])

# Residual Block
def residual_block(incoming, nb_blocks, out_channels, downsample=False,
                   downsample_strides=2):
    
    residual = incoming
    in_channels = incoming.get_shape().as_list()[-1]
    
    for i in range(nb_blocks):
        
        identity = residual
        
        if not downsample:
            downsample_strides = 1
        
        residual = BatchNormalization(momentum=0.9, gamma_regularizer=l2(1e-4))(residual)
        residual = aprelu(residual)
        residual = Conv2D(out_channels, 3, strides=(downsample_strides, downsample_strides), 
                          padding='same', kernel_initializer='he_normal', 
                          kernel_regularizer=l2(1e-4))(residual)
        
        residual = BatchNormalization(momentum=0.9, gamma_regularizer=l2(1e-4))(residual)
        residual = aprelu(residual)
        residual = Conv2D(out_channels, 3, padding='same', kernel_initializer='he_normal', 
                          kernel_regularizer=l2(1e-4))(residual)
        
        # Downsampling
        if downsample_strides > 1:
            identity = AveragePooling2D(pool_size=(1,1), strides=(2,2))(identity)
            
        # Zero_padding to match channels
        if in_channels != out_channels:
            zeros_identity = keras.layers.subtract([identity, identity])
            identity = keras.layers.concatenate([identity, zeros_identity])
            in_channels = out_channels
        
        residual = keras.layers.add([residual, identity])
    
    return residual


# define and train a model
inputs = Input(shape=(32, 32, 3))
net = Conv2D(16, 3, padding='same', kernel_initializer='he_normal', kernel_regularizer=l2(1e-4))(inputs)
net = residual_block(net, 20, 16, downsample=False)
net = residual_block(net,  1, 32, downsample=True)
net = residual_block(net, 19, 32, downsample=False)
net = residual_block(net,  1, 64, downsample=True)
net = residual_block(net, 19, 64, downsample=False)
net = BatchNormalization(momentum=0.9, gamma_regularizer=l2(1e-4))(net)
net = Activation('relu')(net)
net = GlobalAveragePooling2D()(net)
outputs = Dense(10, activation='softmax', kernel_initializer='he_normal', kernel_regularizer=l2(1e-4))(net)
model = Model(inputs=inputs, outputs=outputs)
sgd = optimizers.SGD(lr=0.1, decay=0., momentum=0.9, nesterov=True)
model.compile(loss='categorical_crossentropy', optimizer=sgd, metrics=['accuracy'])

# data augmentation
datagen = ImageDataGenerator(
    # randomly rotate images in the range (deg 0 to 180)
    rotation_range=30,
    # shear angle in counter-clockwise direction in degrees
    shear_range = 30,
    # randomly flip images
    horizontal_flip=True,
    # randomly shift images horizontally
    width_shift_range=0.125,
    # randomly shift images vertically
    height_shift_range=0.125)

reduce_lr = LearningRateScheduler(scheduler)
# fit the model on the batches generated by datagen.flow().
model.fit_generator(datagen.flow(x_train, y_train, batch_size=100),
                    validation_data=(x_test, y_test), epochs=1000, 
                    verbose=1, callbacks=[reduce_lr], workers=4)

# get results
K.set_learning_phase(0)
DRSN_train_score = model.evaluate(x_train, y_train, batch_size=100, verbose=0)
print('Train loss:', DRSN_train_score[0])
print('Train accuracy:', DRSN_train_score[1])
DRSN_test_score = model.evaluate(x_test, y_test, batch_size=100, verbose=0)
print('Test loss:', DRSN_test_score[0])
print('Test accuracy:', DRSN_test_score[1])

实验结果如下(跑得好慢,不知道能不能跑完):

Using TensorFlow backend.
x_train shape: (50000, 32, 32, 3)
50000 train samples
10000 test samples
Epoch 1/1000
500/500 [==============================] - 216s 433ms/step - loss: 5.3303 - acc: 0.3881 - val_loss: 4.6744 - val_acc: 0.5067
Epoch 2/1000
500/500 [==============================] - 142s 284ms/step - loss: 4.3438 - acc: 0.5292 - val_loss: 3.8578 - val_acc: 0.6084
Epoch 3/1000
500/500 [==============================] - 142s 284ms/step - loss: 3.6504 - acc: 0.5949 - val_loss: 3.2425 - val_acc: 0.6673
Epoch 4/1000
500/500 [==============================] - 142s 284ms/step - loss: 3.1230 - acc: 0.6384 - val_loss: 2.8284 - val_acc: 0.6826
Epoch 5/1000
500/500 [==============================] - 142s 284ms/step - loss: 2.7009 - acc: 0.6656 - val_loss: 2.4285 - val_acc: 0.7164
Epoch 6/1000
500/500 [==============================] - 142s 284ms/step - loss: 2.3806 - acc: 0.6838 - val_loss: 2.1267 - val_acc: 0.7293
Epoch 7/1000
500/500 [==============================] - 142s 284ms/step - loss: 2.1009 - acc: 0.7026 - val_loss: 1.9077 - val_acc: 0.7389
Epoch 8/1000
500/500 [==============================] - 142s 284ms/step - loss: 1.8769 - acc: 0.7181 - val_loss: 1.7067 - val_acc: 0.7544
Epoch 9/1000
500/500 [==============================] - 142s 284ms/step - loss: 1.6922 - acc: 0.7336 - val_loss: 1.5801 - val_acc: 0.7518
Epoch 10/1000
500/500 [==============================] - 142s 284ms/step - loss: 1.5452 - acc: 0.7440 - val_loss: 1.4281 - val_acc: 0.7685
Epoch 11/1000
500/500 [==============================] - 142s 284ms/step - loss: 1.4296 - acc: 0.7495 - val_loss: 1.3131 - val_acc: 0.7802
Epoch 12/1000
500/500 [==============================] - 142s 284ms/step - loss: 1.3341 - acc: 0.7572 - val_loss: 1.2388 - val_acc: 0.7803
Epoch 13/1000
500/500 [==============================] - 142s 284ms/step - loss: 1.2588 - acc: 0.7623 - val_loss: 1.1707 - val_acc: 0.7887
Epoch 14/1000
500/500 [==============================] - 142s 284ms/step - loss: 1.1930 - acc: 0.7688 - val_loss: 1.0920 - val_acc: 0.8042
Epoch 15/1000
500/500 [==============================] - 142s 284ms/step - loss: 1.1506 - acc: 0.7699 - val_loss: 1.0500 - val_acc: 0.8034
Epoch 16/1000
500/500 [==============================] - 142s 284ms/step - loss: 1.1056 - acc: 0.7766 - val_loss: 1.0199 - val_acc: 0.8052
Epoch 17/1000
500/500 [==============================] - 142s 284ms/step - loss: 1.0735 - acc: 0.7772 - val_loss: 0.9737 - val_acc: 0.8178
Epoch 18/1000
500/500 [==============================] - 142s 284ms/step - loss: 1.0420 - acc: 0.7833 - val_loss: 0.9912 - val_acc: 0.8025
Epoch 19/1000
500/500 [==============================] - 142s 284ms/step - loss: 1.0156 - acc: 0.7860 - val_loss: 0.9525 - val_acc: 0.8041
Epoch 20/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.9980 - acc: 0.7892 - val_loss: 0.9304 - val_acc: 0.8140
Epoch 21/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.9773 - acc: 0.7910 - val_loss: 0.9240 - val_acc: 0.8116
Epoch 22/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.9600 - acc: 0.7931 - val_loss: 0.8714 - val_acc: 0.8248
Epoch 23/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.9449 - acc: 0.7969 - val_loss: 0.8751 - val_acc: 0.8234
Epoch 24/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.9424 - acc: 0.7958 - val_loss: 0.8551 - val_acc: 0.8261
Epoch 25/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.9224 - acc: 0.8039 - val_loss: 0.8438 - val_acc: 0.8336
Epoch 26/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.9131 - acc: 0.8023 - val_loss: 0.8542 - val_acc: 0.8272
Epoch 27/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.8975 - acc: 0.8069 - val_loss: 0.8719 - val_acc: 0.8196
Epoch 28/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.8987 - acc: 0.8085 - val_loss: 0.8269 - val_acc: 0.8355
Epoch 29/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.8824 - acc: 0.8122 - val_loss: 0.8305 - val_acc: 0.8324
Epoch 30/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.8837 - acc: 0.8102 - val_loss: 0.8332 - val_acc: 0.8247
Epoch 31/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.8727 - acc: 0.8130 - val_loss: 0.8075 - val_acc: 0.8386
Epoch 32/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.8686 - acc: 0.8154 - val_loss: 0.8198 - val_acc: 0.8350
Epoch 33/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.8608 - acc: 0.8150 - val_loss: 0.8006 - val_acc: 0.8396
Epoch 34/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.8553 - acc: 0.8188 - val_loss: 0.8249 - val_acc: 0.8324
Epoch 35/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.8474 - acc: 0.8197 - val_loss: 0.7876 - val_acc: 0.8437
Epoch 36/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.8473 - acc: 0.8218 - val_loss: 0.7648 - val_acc: 0.8555
Epoch 37/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.8410 - acc: 0.8235 - val_loss: 0.7866 - val_acc: 0.8432
Epoch 38/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.8334 - acc: 0.8245 - val_loss: 0.7785 - val_acc: 0.8473
Epoch 39/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.8336 - acc: 0.8263 - val_loss: 0.7783 - val_acc: 0.8486
Epoch 40/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.8337 - acc: 0.8245 - val_loss: 0.7782 - val_acc: 0.8461
Epoch 41/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.8292 - acc: 0.8257 - val_loss: 0.7696 - val_acc: 0.8498
Epoch 42/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.8203 - acc: 0.8298 - val_loss: 0.7618 - val_acc: 0.8511
Epoch 43/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.8209 - acc: 0.8303 - val_loss: 0.7634 - val_acc: 0.8551
Epoch 44/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.8163 - acc: 0.8327 - val_loss: 0.7719 - val_acc: 0.8449
Epoch 45/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.8072 - acc: 0.8328 - val_loss: 0.7635 - val_acc: 0.8493
Epoch 46/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.8127 - acc: 0.8324 - val_loss: 0.7725 - val_acc: 0.8495
Epoch 47/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.8081 - acc: 0.8343 - val_loss: 0.7576 - val_acc: 0.8537
Epoch 48/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.8090 - acc: 0.8322 - val_loss: 0.7421 - val_acc: 0.8603
Epoch 49/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.8041 - acc: 0.8344 - val_loss: 0.7422 - val_acc: 0.8576
Epoch 50/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.8008 - acc: 0.8361 - val_loss: 0.7472 - val_acc: 0.8566
Epoch 51/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.8013 - acc: 0.8379 - val_loss: 0.7385 - val_acc: 0.8585
Epoch 52/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.7964 - acc: 0.8381 - val_loss: 0.7805 - val_acc: 0.8453
Epoch 53/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.7929 - acc: 0.8387 - val_loss: 0.7597 - val_acc: 0.8516
Epoch 54/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7945 - acc: 0.8388 - val_loss: 0.7596 - val_acc: 0.8529
Epoch 55/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.7904 - acc: 0.8407 - val_loss: 0.7376 - val_acc: 0.8594
Epoch 56/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7806 - acc: 0.8443 - val_loss: 0.7478 - val_acc: 0.8551
Epoch 57/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7807 - acc: 0.8444 - val_loss: 0.7536 - val_acc: 0.8547
Epoch 58/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7838 - acc: 0.8440 - val_loss: 0.7164 - val_acc: 0.8686
Epoch 59/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7777 - acc: 0.8444 - val_loss: 0.7441 - val_acc: 0.8601
Epoch 60/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7786 - acc: 0.8461 - val_loss: 0.7339 - val_acc: 0.8603
Epoch 61/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7765 - acc: 0.8438 - val_loss: 0.7224 - val_acc: 0.8649
Epoch 62/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7733 - acc: 0.8462 - val_loss: 0.7340 - val_acc: 0.8584
Epoch 63/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7694 - acc: 0.8475 - val_loss: 0.7215 - val_acc: 0.8658
Epoch 64/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7734 - acc: 0.8451 - val_loss: 0.7256 - val_acc: 0.8662
Epoch 65/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7726 - acc: 0.8461 - val_loss: 0.7094 - val_acc: 0.8699
Epoch 66/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7731 - acc: 0.8464 - val_loss: 0.7434 - val_acc: 0.8636
Epoch 67/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7707 - acc: 0.8470 - val_loss: 0.7170 - val_acc: 0.8668
Epoch 68/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7649 - acc: 0.8481 - val_loss: 0.7423 - val_acc: 0.8611
Epoch 69/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7691 - acc: 0.8477 - val_loss: 0.7237 - val_acc: 0.8621
Epoch 70/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7679 - acc: 0.8482 - val_loss: 0.7110 - val_acc: 0.8717
Epoch 71/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7633 - acc: 0.8492 - val_loss: 0.7444 - val_acc: 0.8622
Epoch 72/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7622 - acc: 0.8502 - val_loss: 0.7188 - val_acc: 0.8630
Epoch 73/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7578 - acc: 0.8515 - val_loss: 0.7131 - val_acc: 0.8706
Epoch 74/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7600 - acc: 0.8499 - val_loss: 0.7096 - val_acc: 0.8716
Epoch 75/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7576 - acc: 0.8506 - val_loss: 0.7224 - val_acc: 0.8640
Epoch 76/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7571 - acc: 0.8519 - val_loss: 0.7212 - val_acc: 0.8660
Epoch 77/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7566 - acc: 0.8537 - val_loss: 0.7008 - val_acc: 0.8733
Epoch 78/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7559 - acc: 0.8516 - val_loss: 0.7283 - val_acc: 0.8635
Epoch 79/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7524 - acc: 0.8541 - val_loss: 0.7403 - val_acc: 0.8573
Epoch 80/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7504 - acc: 0.8536 - val_loss: 0.7243 - val_acc: 0.8656
Epoch 81/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7499 - acc: 0.8536 - val_loss: 0.7063 - val_acc: 0.8732
Epoch 82/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7473 - acc: 0.8565 - val_loss: 0.6971 - val_acc: 0.8747
Epoch 83/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7473 - acc: 0.8551 - val_loss: 0.7468 - val_acc: 0.8552
Epoch 84/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7482 - acc: 0.8553 - val_loss: 0.7314 - val_acc: 0.8598
Epoch 85/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.7482 - acc: 0.8535 - val_loss: 0.6948 - val_acc: 0.8744
Epoch 86/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7483 - acc: 0.8534 - val_loss: 0.7078 - val_acc: 0.8709
Epoch 87/1000
500/500 [==============================] - 143s 285ms/step - loss: 0.7423 - acc: 0.8562 - val_loss: 0.7032 - val_acc: 0.8722
Epoch 88/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7454 - acc: 0.8552 - val_loss: 0.7115 - val_acc: 0.8688
Epoch 89/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7392 - acc: 0.8578 - val_loss: 0.7133 - val_acc: 0.8657
Epoch 90/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7432 - acc: 0.8582 - val_loss: 0.6976 - val_acc: 0.8736
Epoch 91/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7391 - acc: 0.8568 - val_loss: 0.6976 - val_acc: 0.8726
Epoch 92/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7423 - acc: 0.8551 - val_loss: 0.7116 - val_acc: 0.8693
Epoch 93/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7412 - acc: 0.8559 - val_loss: 0.7249 - val_acc: 0.8657
Epoch 94/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7374 - acc: 0.8579 - val_loss: 0.6937 - val_acc: 0.8782
Epoch 95/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7339 - acc: 0.8578 - val_loss: 0.6872 - val_acc: 0.8770
Epoch 96/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7422 - acc: 0.8561 - val_loss: 0.7079 - val_acc: 0.8712
Epoch 97/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7376 - acc: 0.8598 - val_loss: 0.7335 - val_acc: 0.8619
Epoch 98/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7357 - acc: 0.8585 - val_loss: 0.6998 - val_acc: 0.8762
Epoch 99/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7355 - acc: 0.8589 - val_loss: 0.6954 - val_acc: 0.8751
Epoch 100/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7331 - acc: 0.8608 - val_loss: 0.7237 - val_acc: 0.8646
Epoch 101/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7293 - acc: 0.8610 - val_loss: 0.7088 - val_acc: 0.8710
Epoch 102/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7336 - acc: 0.8597 - val_loss: 0.7064 - val_acc: 0.8712
Epoch 103/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7329 - acc: 0.8599 - val_loss: 0.6799 - val_acc: 0.8843
Epoch 104/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7279 - acc: 0.8624 - val_loss: 0.6911 - val_acc: 0.8754
Epoch 105/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7301 - acc: 0.8616 - val_loss: 0.7133 - val_acc: 0.8665
Epoch 106/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7348 - acc: 0.8580 - val_loss: 0.7112 - val_acc: 0.8689
Epoch 107/1000
500/500 [==============================] - 142s 283ms/step - loss: 0.7331 - acc: 0.8608 - val_loss: 0.7015 - val_acc: 0.8733
Epoch 108/1000
500/500 [==============================] - 141s 283ms/step - loss: 0.7302 - acc: 0.8614 - val_loss: 0.7154 - val_acc: 0.8663
Epoch 109/1000
500/500 [==============================] - 142s 283ms/step - loss: 0.7274 - acc: 0.8618 - val_loss: 0.7076 - val_acc: 0.8682
Epoch 110/1000
500/500 [==============================] - 142s 283ms/step - loss: 0.7303 - acc: 0.8604 - val_loss: 0.7166 - val_acc: 0.8689
Epoch 111/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7253 - acc: 0.8616 - val_loss: 0.6957 - val_acc: 0.8788
Epoch 112/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7317 - acc: 0.8603 - val_loss: 0.6839 - val_acc: 0.8784
Epoch 113/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7245 - acc: 0.8631 - val_loss: 0.7076 - val_acc: 0.8711
Epoch 114/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7302 - acc: 0.8622 - val_loss: 0.7022 - val_acc: 0.8759
Epoch 115/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7247 - acc: 0.8630 - val_loss: 0.6978 - val_acc: 0.8745
Epoch 116/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7179 - acc: 0.8648 - val_loss: 0.6849 - val_acc: 0.8812
Epoch 117/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7267 - acc: 0.8636 - val_loss: 0.6885 - val_acc: 0.8771
Epoch 118/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7215 - acc: 0.8616 - val_loss: 0.6948 - val_acc: 0.8755
Epoch 119/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7246 - acc: 0.8634 - val_loss: 0.7062 - val_acc: 0.8697
Epoch 120/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7213 - acc: 0.8641 - val_loss: 0.6994 - val_acc: 0.8754
Epoch 121/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7216 - acc: 0.8649 - val_loss: 0.6949 - val_acc: 0.8742
Epoch 122/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7252 - acc: 0.8634 - val_loss: 0.6923 - val_acc: 0.8772
Epoch 123/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7219 - acc: 0.8639 - val_loss: 0.6769 - val_acc: 0.8797
Epoch 124/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7191 - acc: 0.8650 - val_loss: 0.7037 - val_acc: 0.8727
Epoch 125/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7196 - acc: 0.8652 - val_loss: 0.6791 - val_acc: 0.8809
Epoch 126/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7211 - acc: 0.8651 - val_loss: 0.6945 - val_acc: 0.8768
Epoch 127/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7178 - acc: 0.8650 - val_loss: 0.7042 - val_acc: 0.8745
Epoch 128/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7214 - acc: 0.8654 - val_loss: 0.6981 - val_acc: 0.8744
Epoch 129/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7195 - acc: 0.8652 - val_loss: 0.6753 - val_acc: 0.8834
Epoch 130/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7148 - acc: 0.8675 - val_loss: 0.6814 - val_acc: 0.8768
Epoch 131/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7188 - acc: 0.8648 - val_loss: 0.6965 - val_acc: 0.8718
Epoch 132/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7161 - acc: 0.8661 - val_loss: 0.6995 - val_acc: 0.8713
Epoch 133/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7176 - acc: 0.8645 - val_loss: 0.6922 - val_acc: 0.8764
Epoch 134/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7151 - acc: 0.8646 - val_loss: 0.6790 - val_acc: 0.8806
Epoch 135/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7167 - acc: 0.8644 - val_loss: 0.6733 - val_acc: 0.8828
Epoch 136/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7163 - acc: 0.8657 - val_loss: 0.6853 - val_acc: 0.8809
Epoch 137/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7088 - acc: 0.8698 - val_loss: 0.6670 - val_acc: 0.8843
Epoch 138/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7098 - acc: 0.8662 - val_loss: 0.6837 - val_acc: 0.8793
Epoch 139/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7109 - acc: 0.8671 - val_loss: 0.6929 - val_acc: 0.8767
Epoch 140/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7109 - acc: 0.8682 - val_loss: 0.6977 - val_acc: 0.8751
Epoch 141/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7152 - acc: 0.8666 - val_loss: 0.6836 - val_acc: 0.8769
Epoch 142/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7100 - acc: 0.8669 - val_loss: 0.6742 - val_acc: 0.8822
Epoch 143/1000
500/500 [==============================] - 143s 286ms/step - loss: 0.7144 - acc: 0.8661 - val_loss: 0.6953 - val_acc: 0.8777
Epoch 144/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7067 - acc: 0.8692 - val_loss: 0.6899 - val_acc: 0.8761
Epoch 145/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7109 - acc: 0.8655 - val_loss: 0.6713 - val_acc: 0.8829
Epoch 146/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7063 - acc: 0.8675 - val_loss: 0.7086 - val_acc: 0.8714
Epoch 147/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7129 - acc: 0.8666 - val_loss: 0.6727 - val_acc: 0.8836
Epoch 148/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7027 - acc: 0.8698 - val_loss: 0.6494 - val_acc: 0.8887
Epoch 149/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7073 - acc: 0.8666 - val_loss: 0.6780 - val_acc: 0.8815
Epoch 150/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7070 - acc: 0.8700 - val_loss: 0.6805 - val_acc: 0.8806
Epoch 151/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7108 - acc: 0.8678 - val_loss: 0.6577 - val_acc: 0.8856
Epoch 152/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7040 - acc: 0.8711 - val_loss: 0.6734 - val_acc: 0.8844
Epoch 153/1000
500/500 [==============================] - 142s 283ms/step - loss: 0.7087 - acc: 0.8688 - val_loss: 0.6897 - val_acc: 0.8765
Epoch 154/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7074 - acc: 0.8694 - val_loss: 0.6765 - val_acc: 0.8838
Epoch 155/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7035 - acc: 0.8697 - val_loss: 0.6951 - val_acc: 0.8793
Epoch 156/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7086 - acc: 0.8694 - val_loss: 0.6608 - val_acc: 0.8847
Epoch 157/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7095 - acc: 0.8678 - val_loss: 0.6774 - val_acc: 0.8786
Epoch 158/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7077 - acc: 0.8696 - val_loss: 0.6807 - val_acc: 0.8792
Epoch 159/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7113 - acc: 0.8687 - val_loss: 0.6760 - val_acc: 0.8847
Epoch 160/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7078 - acc: 0.8688 - val_loss: 0.6829 - val_acc: 0.8789
Epoch 161/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7034 - acc: 0.8707 - val_loss: 0.6821 - val_acc: 0.8816
Epoch 162/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7044 - acc: 0.8685 - val_loss: 0.6610 - val_acc: 0.8828
Epoch 163/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6975 - acc: 0.8738 - val_loss: 0.6520 - val_acc: 0.8910
Epoch 164/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7046 - acc: 0.8709 - val_loss: 0.6711 - val_acc: 0.8845
Epoch 165/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7067 - acc: 0.8699 - val_loss: 0.6878 - val_acc: 0.8732
Epoch 166/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7055 - acc: 0.8692 - val_loss: 0.6733 - val_acc: 0.8795
Epoch 167/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7055 - acc: 0.8703 - val_loss: 0.6827 - val_acc: 0.8806
Epoch 168/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6999 - acc: 0.8719 - val_loss: 0.6782 - val_acc: 0.8779
Epoch 169/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7011 - acc: 0.8713 - val_loss: 0.6690 - val_acc: 0.8869
Epoch 170/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7037 - acc: 0.8697 - val_loss: 0.6687 - val_acc: 0.8835
Epoch 171/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7050 - acc: 0.8687 - val_loss: 0.6669 - val_acc: 0.8845
Epoch 172/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6990 - acc: 0.8723 - val_loss: 0.6920 - val_acc: 0.8777
Epoch 173/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7064 - acc: 0.8682 - val_loss: 0.6815 - val_acc: 0.8770
Epoch 174/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7060 - acc: 0.8685 - val_loss: 0.6752 - val_acc: 0.8814
Epoch 175/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7041 - acc: 0.8684 - val_loss: 0.6824 - val_acc: 0.8807
Epoch 176/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6979 - acc: 0.8711 - val_loss: 0.6680 - val_acc: 0.8861
Epoch 177/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7055 - acc: 0.8709 - val_loss: 0.6766 - val_acc: 0.8774
Epoch 178/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7005 - acc: 0.8715 - val_loss: 0.6983 - val_acc: 0.8748
Epoch 179/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6979 - acc: 0.8722 - val_loss: 0.6873 - val_acc: 0.8777
Epoch 180/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7041 - acc: 0.8692 - val_loss: 0.6644 - val_acc: 0.8874
Epoch 181/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6983 - acc: 0.8711 - val_loss: 0.6860 - val_acc: 0.8800
Epoch 182/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6964 - acc: 0.8730 - val_loss: 0.6701 - val_acc: 0.8851
Epoch 183/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6949 - acc: 0.8740 - val_loss: 0.6826 - val_acc: 0.8826
Epoch 184/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6990 - acc: 0.8720 - val_loss: 0.6650 - val_acc: 0.8883
Epoch 185/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6946 - acc: 0.8735 - val_loss: 0.6783 - val_acc: 0.8813
Epoch 186/1000
500/500 [==============================] - 142s 283ms/step - loss: 0.6986 - acc: 0.8737 - val_loss: 0.6683 - val_acc: 0.8848
Epoch 187/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6934 - acc: 0.8729 - val_loss: 0.6800 - val_acc: 0.8801
Epoch 188/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7006 - acc: 0.8711 - val_loss: 0.6956 - val_acc: 0.8757
Epoch 189/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6959 - acc: 0.8712 - val_loss: 0.6650 - val_acc: 0.8876
Epoch 190/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6991 - acc: 0.8718 - val_loss: 0.6821 - val_acc: 0.8785
Epoch 191/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7015 - acc: 0.8704 - val_loss: 0.6750 - val_acc: 0.8830
Epoch 192/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.7000 - acc: 0.8715 - val_loss: 0.6775 - val_acc: 0.8804
Epoch 193/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6978 - acc: 0.8719 - val_loss: 0.6919 - val_acc: 0.8782
Epoch 194/1000
500/500 [==============================] - 142s 283ms/step - loss: 0.6958 - acc: 0.8732 - val_loss: 0.6706 - val_acc: 0.8852
Epoch 195/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6995 - acc: 0.8717 - val_loss: 0.6769 - val_acc: 0.8802
Epoch 196/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6975 - acc: 0.8712 - val_loss: 0.6609 - val_acc: 0.8888
Epoch 197/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6955 - acc: 0.8725 - val_loss: 0.6624 - val_acc: 0.8870
Epoch 198/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6981 - acc: 0.8726 - val_loss: 0.6550 - val_acc: 0.8912
Epoch 199/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6961 - acc: 0.8730 - val_loss: 0.6892 - val_acc: 0.8796
Epoch 200/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6936 - acc: 0.8744 - val_loss: 0.6906 - val_acc: 0.8792
Epoch 201/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6940 - acc: 0.8746 - val_loss: 0.6571 - val_acc: 0.8881
Epoch 202/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6899 - acc: 0.8751 - val_loss: 0.6537 - val_acc: 0.8904
Epoch 203/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6970 - acc: 0.8720 - val_loss: 0.6717 - val_acc: 0.8848
Epoch 204/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6917 - acc: 0.8743 - val_loss: 0.6643 - val_acc: 0.8850
Epoch 205/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6927 - acc: 0.8745 - val_loss: 0.6841 - val_acc: 0.8804
Epoch 206/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6957 - acc: 0.8723 - val_loss: 0.6947 - val_acc: 0.8750
Epoch 207/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6913 - acc: 0.8760 - val_loss: 0.6755 - val_acc: 0.8827
Epoch 208/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6975 - acc: 0.8723 - val_loss: 0.6626 - val_acc: 0.8837
Epoch 209/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6920 - acc: 0.8748 - val_loss: 0.6797 - val_acc: 0.8803
Epoch 210/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6958 - acc: 0.8737 - val_loss: 0.6869 - val_acc: 0.8791
Epoch 211/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6906 - acc: 0.8731 - val_loss: 0.6656 - val_acc: 0.8865
Epoch 212/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6946 - acc: 0.8726 - val_loss: 0.6841 - val_acc: 0.8813
Epoch 213/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6930 - acc: 0.8738 - val_loss: 0.6858 - val_acc: 0.8770
Epoch 214/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6955 - acc: 0.8717 - val_loss: 0.6848 - val_acc: 0.8851
Epoch 215/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6964 - acc: 0.8728 - val_loss: 0.6671 - val_acc: 0.8836
Epoch 216/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6889 - acc: 0.8743 - val_loss: 0.6633 - val_acc: 0.8885
Epoch 217/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6965 - acc: 0.8724 - val_loss: 0.6691 - val_acc: 0.8833
Epoch 218/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6906 - acc: 0.8749 - val_loss: 0.6752 - val_acc: 0.8843
Epoch 219/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6926 - acc: 0.8733 - val_loss: 0.6759 - val_acc: 0.8821
Epoch 220/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6953 - acc: 0.8736 - val_loss: 0.6813 - val_acc: 0.8796
Epoch 221/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6904 - acc: 0.8745 - val_loss: 0.6864 - val_acc: 0.8803
Epoch 222/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6912 - acc: 0.8754 - val_loss: 0.6892 - val_acc: 0.8775
Epoch 223/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6887 - acc: 0.8757 - val_loss: 0.6630 - val_acc: 0.8857
Epoch 224/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6940 - acc: 0.8746 - val_loss: 0.6808 - val_acc: 0.8789
Epoch 225/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6901 - acc: 0.8739 - val_loss: 0.6795 - val_acc: 0.8786
Epoch 226/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6932 - acc: 0.8741 - val_loss: 0.6934 - val_acc: 0.8785
Epoch 227/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6949 - acc: 0.8734 - val_loss: 0.6660 - val_acc: 0.8854
Epoch 228/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6909 - acc: 0.8758 - val_loss: 0.6684 - val_acc: 0.8836
Epoch 229/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6910 - acc: 0.8759 - val_loss: 0.6811 - val_acc: 0.8853
Epoch 230/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6958 - acc: 0.8736 - val_loss: 0.6751 - val_acc: 0.8847
Epoch 231/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6937 - acc: 0.8742 - val_loss: 0.6626 - val_acc: 0.8904
Epoch 232/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6904 - acc: 0.8763 - val_loss: 0.6724 - val_acc: 0.8850
Epoch 233/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6860 - acc: 0.8769 - val_loss: 0.6722 - val_acc: 0.8854
Epoch 234/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6957 - acc: 0.8731 - val_loss: 0.6722 - val_acc: 0.8829
Epoch 235/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6909 - acc: 0.8755 - val_loss: 0.6749 - val_acc: 0.8835
Epoch 236/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6891 - acc: 0.8758 - val_loss: 0.6551 - val_acc: 0.8885
Epoch 237/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6888 - acc: 0.8742 - val_loss: 0.6953 - val_acc: 0.8778
Epoch 238/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6907 - acc: 0.8760 - val_loss: 0.6752 - val_acc: 0.8844
Epoch 239/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6894 - acc: 0.8764 - val_loss: 0.6801 - val_acc: 0.8820
Epoch 240/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6893 - acc: 0.8761 - val_loss: 0.6842 - val_acc: 0.8816
Epoch 241/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6895 - acc: 0.8754 - val_loss: 0.6722 - val_acc: 0.8817
Epoch 242/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6895 - acc: 0.8767 - val_loss: 0.6942 - val_acc: 0.8757
Epoch 243/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6934 - acc: 0.8734 - val_loss: 0.6603 - val_acc: 0.8851
Epoch 244/1000
500/500 [==============================] - 141s 283ms/step - loss: 0.6851 - acc: 0.8772 - val_loss: 0.6947 - val_acc: 0.8764
Epoch 245/1000
500/500 [==============================] - 142s 283ms/step - loss: 0.6875 - acc: 0.8759 - val_loss: 0.6707 - val_acc: 0.8863
Epoch 246/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6858 - acc: 0.8747 - val_loss: 0.6729 - val_acc: 0.8814
Epoch 247/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6881 - acc: 0.8778 - val_loss: 0.6919 - val_acc: 0.8765
Epoch 248/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6844 - acc: 0.8776 - val_loss: 0.6899 - val_acc: 0.8821
Epoch 249/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6890 - acc: 0.8763 - val_loss: 0.6534 - val_acc: 0.8901
Epoch 250/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6825 - acc: 0.8784 - val_loss: 0.6682 - val_acc: 0.8849
Epoch 251/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6847 - acc: 0.8777 - val_loss: 0.6655 - val_acc: 0.8860
Epoch 252/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6814 - acc: 0.8791 - val_loss: 0.6657 - val_acc: 0.8860
Epoch 253/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6873 - acc: 0.8742 - val_loss: 0.6804 - val_acc: 0.8793
Epoch 254/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6887 - acc: 0.8754 - val_loss: 0.6719 - val_acc: 0.8835
Epoch 255/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6847 - acc: 0.8764 - val_loss: 0.6631 - val_acc: 0.8857
Epoch 256/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6896 - acc: 0.8743 - val_loss: 0.6694 - val_acc: 0.8846
Epoch 257/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6900 - acc: 0.8756 - val_loss: 0.6771 - val_acc: 0.8810
Epoch 258/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6860 - acc: 0.8764 - val_loss: 0.6694 - val_acc: 0.8843
Epoch 259/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6875 - acc: 0.8786 - val_loss: 0.6747 - val_acc: 0.8807
Epoch 260/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6857 - acc: 0.8768 - val_loss: 0.6458 - val_acc: 0.8938
Epoch 261/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6880 - acc: 0.8771 - val_loss: 0.6855 - val_acc: 0.8788
Epoch 262/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6839 - acc: 0.8777 - val_loss: 0.6723 - val_acc: 0.8851
Epoch 263/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6819 - acc: 0.8783 - val_loss: 0.6738 - val_acc: 0.8845
Epoch 264/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6867 - acc: 0.8784 - val_loss: 0.6809 - val_acc: 0.8790
Epoch 265/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6805 - acc: 0.8810 - val_loss: 0.6750 - val_acc: 0.8846
Epoch 266/1000
500/500 [==============================] - 141s 283ms/step - loss: 0.6809 - acc: 0.8781 - val_loss: 0.6584 - val_acc: 0.8878
Epoch 267/1000
500/500 [==============================] - 142s 283ms/step - loss: 0.6944 - acc: 0.8722 - val_loss: 0.6598 - val_acc: 0.8875
Epoch 268/1000
500/500 [==============================] - 141s 283ms/step - loss: 0.6847 - acc: 0.8779 - val_loss: 0.6825 - val_acc: 0.8817
Epoch 269/1000
500/500 [==============================] - 141s 283ms/step - loss: 0.6824 - acc: 0.8786 - val_loss: 0.6552 - val_acc: 0.8908
Epoch 270/1000
500/500 [==============================] - 141s 283ms/step - loss: 0.6830 - acc: 0.8783 - val_loss: 0.6820 - val_acc: 0.8767
Epoch 271/1000
500/500 [==============================] - 141s 283ms/step - loss: 0.6903 - acc: 0.8752 - val_loss: 0.6685 - val_acc: 0.8855
Epoch 272/1000
500/500 [==============================] - 141s 283ms/step - loss: 0.6861 - acc: 0.8760 - val_loss: 0.6707 - val_acc: 0.8873
Epoch 273/1000
500/500 [==============================] - 142s 283ms/step - loss: 0.6823 - acc: 0.8782 - val_loss: 0.6721 - val_acc: 0.8864
Epoch 274/1000
500/500 [==============================] - 141s 283ms/step - loss: 0.6862 - acc: 0.8769 - val_loss: 0.6764 - val_acc: 0.8866
Epoch 275/1000
500/500 [==============================] - 141s 283ms/step - loss: 0.6825 - acc: 0.8785 - val_loss: 0.6673 - val_acc: 0.8861
Epoch 276/1000
500/500 [==============================] - 142s 283ms/step - loss: 0.6842 - acc: 0.8771 - val_loss: 0.6757 - val_acc: 0.8835
Epoch 277/1000
500/500 [==============================] - 142s 283ms/step - loss: 0.6855 - acc: 0.8777 - val_loss: 0.6769 - val_acc: 0.8814
Epoch 278/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6793 - acc: 0.8802 - val_loss: 0.6618 - val_acc: 0.8883
Epoch 279/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6854 - acc: 0.8766 - val_loss: 0.6965 - val_acc: 0.8743
Epoch 280/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6824 - acc: 0.8792 - val_loss: 0.6720 - val_acc: 0.8842
Epoch 281/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6786 - acc: 0.8790 - val_loss: 0.6589 - val_acc: 0.8883
Epoch 282/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6781 - acc: 0.8797 - val_loss: 0.6620 - val_acc: 0.8862
Epoch 283/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6845 - acc: 0.8786 - val_loss: 0.6936 - val_acc: 0.8802
Epoch 284/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6866 - acc: 0.8772 - val_loss: 0.6678 - val_acc: 0.8890
Epoch 285/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6829 - acc: 0.8787 - val_loss: 0.6630 - val_acc: 0.8866
Epoch 286/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6763 - acc: 0.8796 - val_loss: 0.6597 - val_acc: 0.8893
Epoch 287/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6833 - acc: 0.8774 - val_loss: 0.6752 - val_acc: 0.8866
Epoch 288/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6858 - acc: 0.8768 - val_loss: 0.6617 - val_acc: 0.8902
Epoch 289/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6784 - acc: 0.8799 - val_loss: 0.6634 - val_acc: 0.8872
Epoch 290/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6807 - acc: 0.8778 - val_loss: 0.6564 - val_acc: 0.8896
Epoch 291/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6835 - acc: 0.8769 - val_loss: 0.6628 - val_acc: 0.8877
Epoch 292/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6783 - acc: 0.8798 - val_loss: 0.6887 - val_acc: 0.8813
Epoch 293/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6795 - acc: 0.8810 - val_loss: 0.6590 - val_acc: 0.8899
Epoch 294/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6799 - acc: 0.8798 - val_loss: 0.6599 - val_acc: 0.8873
Epoch 295/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6856 - acc: 0.8792 - val_loss: 0.6636 - val_acc: 0.8880
Epoch 296/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6832 - acc: 0.8802 - val_loss: 0.6513 - val_acc: 0.8926
Epoch 297/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6785 - acc: 0.8794 - val_loss: 0.6568 - val_acc: 0.8886
Epoch 298/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6832 - acc: 0.8782 - val_loss: 0.6697 - val_acc: 0.8872
Epoch 299/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.6771 - acc: 0.8813 - val_loss: 0.6714 - val_acc: 0.8825
Epoch 300/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.6814 - acc: 0.8784 - val_loss: 0.6857 - val_acc: 0.8821
Epoch 301/1000
lr changed to 0.010000000149011612
500/500 [==============================] - 142s 284ms/step - loss: 0.5714 - acc: 0.9156 - val_loss: 0.5648 - val_acc: 0.9171
Epoch 302/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.5073 - acc: 0.9362 - val_loss: 0.5481 - val_acc: 0.9236
Epoch 303/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.4913 - acc: 0.9412 - val_loss: 0.5391 - val_acc: 0.9228
Epoch 304/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.4714 - acc: 0.9455 - val_loss: 0.5304 - val_acc: 0.9255
Epoch 305/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.4592 - acc: 0.9481 - val_loss: 0.5223 - val_acc: 0.9253
Epoch 306/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.4452 - acc: 0.9512 - val_loss: 0.5173 - val_acc: 0.9271
Epoch 307/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.4350 - acc: 0.9520 - val_loss: 0.5130 - val_acc: 0.9272
Epoch 308/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.4268 - acc: 0.9528 - val_loss: 0.5095 - val_acc: 0.9247
Epoch 309/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.4178 - acc: 0.9562 - val_loss: 0.5078 - val_acc: 0.9272
Epoch 310/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.4143 - acc: 0.9540 - val_loss: 0.5075 - val_acc: 0.9279
Epoch 311/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.4027 - acc: 0.9576 - val_loss: 0.4964 - val_acc: 0.9266
Epoch 312/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.3964 - acc: 0.9572 - val_loss: 0.4957 - val_acc: 0.9264
Epoch 313/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.3920 - acc: 0.9581 - val_loss: 0.4919 - val_acc: 0.9276
Epoch 314/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.3829 - acc: 0.9602 - val_loss: 0.4879 - val_acc: 0.9271
Epoch 315/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.3751 - acc: 0.9609 - val_loss: 0.4864 - val_acc: 0.9285
Epoch 316/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.3736 - acc: 0.9605 - val_loss: 0.4832 - val_acc: 0.9264
Epoch 317/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.3669 - acc: 0.9609 - val_loss: 0.4763 - val_acc: 0.9280
Epoch 318/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.3610 - acc: 0.9625 - val_loss: 0.4739 - val_acc: 0.9295
Epoch 319/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.3561 - acc: 0.9625 - val_loss: 0.4756 - val_acc: 0.9261
Epoch 320/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.3481 - acc: 0.9651 - val_loss: 0.4765 - val_acc: 0.9231
Epoch 321/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.3461 - acc: 0.9642 - val_loss: 0.4618 - val_acc: 0.9273
Epoch 322/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.3402 - acc: 0.9651 - val_loss: 0.4673 - val_acc: 0.9279
Epoch 323/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.3358 - acc: 0.9649 - val_loss: 0.4659 - val_acc: 0.9260
Epoch 324/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.3332 - acc: 0.9652 - val_loss: 0.4602 - val_acc: 0.9262
Epoch 325/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.3281 - acc: 0.9656 - val_loss: 0.4609 - val_acc: 0.9271
Epoch 326/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.3319 - acc: 0.9644 - val_loss: 0.4555 - val_acc: 0.9273
Epoch 327/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.3191 - acc: 0.9671 - val_loss: 0.4475 - val_acc: 0.9287
Epoch 328/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.3222 - acc: 0.9650 - val_loss: 0.4560 - val_acc: 0.9272
Epoch 329/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.3150 - acc: 0.9675 - val_loss: 0.4516 - val_acc: 0.9292
Epoch 330/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.3102 - acc: 0.9680 - val_loss: 0.4533 - val_acc: 0.9281
Epoch 331/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.3094 - acc: 0.9679 - val_loss: 0.4549 - val_acc: 0.9222
Epoch 332/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.3062 - acc: 0.9679 - val_loss: 0.4557 - val_acc: 0.9229
Epoch 333/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.3038 - acc: 0.9678 - val_loss: 0.4443 - val_acc: 0.9241
Epoch 334/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.3034 - acc: 0.9676 - val_loss: 0.4446 - val_acc: 0.9273
Epoch 335/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2986 - acc: 0.9674 - val_loss: 0.4556 - val_acc: 0.9241
Epoch 336/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2977 - acc: 0.9674 - val_loss: 0.4528 - val_acc: 0.9221
Epoch 337/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2976 - acc: 0.9676 - val_loss: 0.4348 - val_acc: 0.9251
Epoch 338/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2919 - acc: 0.9681 - val_loss: 0.4443 - val_acc: 0.9257
Epoch 339/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2897 - acc: 0.9686 - val_loss: 0.4394 - val_acc: 0.9268
Epoch 340/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2899 - acc: 0.9677 - val_loss: 0.4362 - val_acc: 0.9242
Epoch 341/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2885 - acc: 0.9676 - val_loss: 0.4371 - val_acc: 0.9260
Epoch 342/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2882 - acc: 0.9666 - val_loss: 0.4329 - val_acc: 0.9273
Epoch 343/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2831 - acc: 0.9691 - val_loss: 0.4279 - val_acc: 0.9251
Epoch 344/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2797 - acc: 0.9696 - val_loss: 0.4268 - val_acc: 0.9300
Epoch 345/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2808 - acc: 0.9680 - val_loss: 0.4347 - val_acc: 0.9231
Epoch 346/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2763 - acc: 0.9685 - val_loss: 0.4229 - val_acc: 0.9263
Epoch 347/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2794 - acc: 0.9674 - val_loss: 0.4209 - val_acc: 0.9279
Epoch 348/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2775 - acc: 0.9677 - val_loss: 0.4179 - val_acc: 0.9279
Epoch 349/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2775 - acc: 0.9666 - val_loss: 0.4283 - val_acc: 0.9252
Epoch 350/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2705 - acc: 0.9694 - val_loss: 0.4257 - val_acc: 0.9267
Epoch 351/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2698 - acc: 0.9688 - val_loss: 0.4194 - val_acc: 0.9272
Epoch 352/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2742 - acc: 0.9669 - val_loss: 0.4204 - val_acc: 0.9251
Epoch 353/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2708 - acc: 0.9678 - val_loss: 0.4278 - val_acc: 0.9227
Epoch 354/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2641 - acc: 0.9700 - val_loss: 0.4187 - val_acc: 0.9258
Epoch 355/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2680 - acc: 0.9682 - val_loss: 0.4115 - val_acc: 0.9266
Epoch 356/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2677 - acc: 0.9680 - val_loss: 0.4070 - val_acc: 0.9281
Epoch 357/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2654 - acc: 0.9675 - val_loss: 0.4169 - val_acc: 0.9253
Epoch 358/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2636 - acc: 0.9689 - val_loss: 0.4240 - val_acc: 0.9237
Epoch 359/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2622 - acc: 0.9688 - val_loss: 0.4110 - val_acc: 0.9241
Epoch 360/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2617 - acc: 0.9683 - val_loss: 0.4199 - val_acc: 0.9248
Epoch 361/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2636 - acc: 0.9680 - val_loss: 0.4151 - val_acc: 0.9238
Epoch 362/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2633 - acc: 0.9681 - val_loss: 0.4191 - val_acc: 0.9250
Epoch 363/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2598 - acc: 0.9684 - val_loss: 0.4198 - val_acc: 0.9248
Epoch 364/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2661 - acc: 0.9662 - val_loss: 0.4069 - val_acc: 0.9247
Epoch 365/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2609 - acc: 0.9679 - val_loss: 0.4075 - val_acc: 0.9272
Epoch 366/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2582 - acc: 0.9687 - val_loss: 0.4166 - val_acc: 0.9203
Epoch 367/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2575 - acc: 0.9687 - val_loss: 0.4058 - val_acc: 0.9249
Epoch 368/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2561 - acc: 0.9683 - val_loss: 0.4184 - val_acc: 0.9247
Epoch 369/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2579 - acc: 0.9682 - val_loss: 0.4144 - val_acc: 0.9236
Epoch 370/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2592 - acc: 0.9667 - val_loss: 0.4194 - val_acc: 0.9241
Epoch 371/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2543 - acc: 0.9692 - val_loss: 0.4081 - val_acc: 0.9249
Epoch 372/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2597 - acc: 0.9671 - val_loss: 0.4138 - val_acc: 0.9219
Epoch 373/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2552 - acc: 0.9684 - val_loss: 0.4145 - val_acc: 0.9226
Epoch 374/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2534 - acc: 0.9684 - val_loss: 0.4122 - val_acc: 0.9208
Epoch 375/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2565 - acc: 0.9671 - val_loss: 0.4207 - val_acc: 0.9231
Epoch 376/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2560 - acc: 0.9679 - val_loss: 0.4072 - val_acc: 0.9245
Epoch 377/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2520 - acc: 0.9690 - val_loss: 0.4174 - val_acc: 0.9203
Epoch 378/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2475 - acc: 0.9707 - val_loss: 0.4153 - val_acc: 0.9220
Epoch 379/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2509 - acc: 0.9689 - val_loss: 0.4151 - val_acc: 0.9212
Epoch 380/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2524 - acc: 0.9679 - val_loss: 0.4146 - val_acc: 0.9212
Epoch 381/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2548 - acc: 0.9660 - val_loss: 0.4059 - val_acc: 0.9247
Epoch 382/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2508 - acc: 0.9681 - val_loss: 0.4116 - val_acc: 0.9234
Epoch 383/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2527 - acc: 0.9673 - val_loss: 0.4099 - val_acc: 0.9242
Epoch 384/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2537 - acc: 0.9671 - val_loss: 0.4170 - val_acc: 0.9234
Epoch 385/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2507 - acc: 0.9682 - val_loss: 0.4195 - val_acc: 0.9214
Epoch 386/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2476 - acc: 0.9685 - val_loss: 0.4252 - val_acc: 0.9194
Epoch 387/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2539 - acc: 0.9662 - val_loss: 0.3983 - val_acc: 0.9243
Epoch 388/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2452 - acc: 0.9702 - val_loss: 0.4037 - val_acc: 0.9254
Epoch 389/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2497 - acc: 0.9677 - val_loss: 0.4050 - val_acc: 0.9246
Epoch 390/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2488 - acc: 0.9684 - val_loss: 0.4110 - val_acc: 0.9244
Epoch 391/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2500 - acc: 0.9679 - val_loss: 0.3998 - val_acc: 0.9271
Epoch 392/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2469 - acc: 0.9688 - val_loss: 0.3995 - val_acc: 0.9249
Epoch 393/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2441 - acc: 0.9690 - val_loss: 0.3975 - val_acc: 0.9279
Epoch 394/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2480 - acc: 0.9677 - val_loss: 0.4131 - val_acc: 0.9196
Epoch 395/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2441 - acc: 0.9694 - val_loss: 0.4095 - val_acc: 0.9234
Epoch 396/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2450 - acc: 0.9687 - val_loss: 0.4173 - val_acc: 0.9194
Epoch 397/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2479 - acc: 0.9681 - val_loss: 0.4171 - val_acc: 0.9197
Epoch 398/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2482 - acc: 0.9680 - val_loss: 0.4106 - val_acc: 0.9225
Epoch 399/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2477 - acc: 0.9679 - val_loss: 0.4108 - val_acc: 0.9203
Epoch 400/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2479 - acc: 0.9676 - val_loss: 0.4103 - val_acc: 0.9228
Epoch 401/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2455 - acc: 0.9693 - val_loss: 0.3875 - val_acc: 0.9296
Epoch 402/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2398 - acc: 0.9705 - val_loss: 0.4030 - val_acc: 0.9228
Epoch 403/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2481 - acc: 0.9671 - val_loss: 0.4083 - val_acc: 0.9235
Epoch 404/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2477 - acc: 0.9678 - val_loss: 0.4027 - val_acc: 0.9252
Epoch 405/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2430 - acc: 0.9695 - val_loss: 0.4016 - val_acc: 0.9239
Epoch 406/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2424 - acc: 0.9694 - val_loss: 0.3946 - val_acc: 0.9249
Epoch 407/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2498 - acc: 0.9666 - val_loss: 0.3958 - val_acc: 0.9254
Epoch 408/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2443 - acc: 0.9698 - val_loss: 0.4007 - val_acc: 0.9269
Epoch 409/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2429 - acc: 0.9683 - val_loss: 0.4018 - val_acc: 0.9254
Epoch 410/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2456 - acc: 0.9674 - val_loss: 0.4122 - val_acc: 0.9227
Epoch 411/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2445 - acc: 0.9682 - val_loss: 0.4025 - val_acc: 0.9254
Epoch 412/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2431 - acc: 0.9688 - val_loss: 0.4082 - val_acc: 0.9237
Epoch 413/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2421 - acc: 0.9686 - val_loss: 0.4175 - val_acc: 0.9197
Epoch 414/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2415 - acc: 0.9689 - val_loss: 0.3930 - val_acc: 0.9255
Epoch 415/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2407 - acc: 0.9694 - val_loss: 0.4113 - val_acc: 0.9217
Epoch 416/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2435 - acc: 0.9686 - val_loss: 0.4052 - val_acc: 0.9223
Epoch 417/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2442 - acc: 0.9679 - val_loss: 0.4002 - val_acc: 0.9241
Epoch 418/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2467 - acc: 0.9674 - val_loss: 0.4084 - val_acc: 0.9196
Epoch 419/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2439 - acc: 0.9684 - val_loss: 0.3975 - val_acc: 0.9256
Epoch 420/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2430 - acc: 0.9683 - val_loss: 0.4092 - val_acc: 0.9239
Epoch 421/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2449 - acc: 0.9688 - val_loss: 0.3956 - val_acc: 0.9266
Epoch 422/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2418 - acc: 0.9697 - val_loss: 0.4028 - val_acc: 0.9240
Epoch 423/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2401 - acc: 0.9699 - val_loss: 0.3988 - val_acc: 0.9262
Epoch 424/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2458 - acc: 0.9681 - val_loss: 0.4053 - val_acc: 0.9250
Epoch 425/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2430 - acc: 0.9680 - val_loss: 0.4036 - val_acc: 0.9250
Epoch 426/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2395 - acc: 0.9707 - val_loss: 0.4153 - val_acc: 0.9214
Epoch 427/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2418 - acc: 0.9685 - val_loss: 0.3988 - val_acc: 0.9228
Epoch 428/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2398 - acc: 0.9700 - val_loss: 0.4010 - val_acc: 0.9220
Epoch 429/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2403 - acc: 0.9689 - val_loss: 0.4244 - val_acc: 0.9217
Epoch 430/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2401 - acc: 0.9699 - val_loss: 0.4080 - val_acc: 0.9219
Epoch 431/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2396 - acc: 0.9697 - val_loss: 0.4115 - val_acc: 0.9228
Epoch 432/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2377 - acc: 0.9701 - val_loss: 0.4160 - val_acc: 0.9213
Epoch 433/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2421 - acc: 0.9695 - val_loss: 0.4148 - val_acc: 0.9194
Epoch 434/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2434 - acc: 0.9673 - val_loss: 0.3980 - val_acc: 0.9237
Epoch 435/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2424 - acc: 0.9684 - val_loss: 0.4023 - val_acc: 0.9244
Epoch 436/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2381 - acc: 0.9709 - val_loss: 0.4095 - val_acc: 0.9226
Epoch 437/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2396 - acc: 0.9693 - val_loss: 0.4163 - val_acc: 0.9203
Epoch 438/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2402 - acc: 0.9705 - val_loss: 0.4132 - val_acc: 0.9238
Epoch 439/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2438 - acc: 0.9680 - val_loss: 0.3906 - val_acc: 0.9241
Epoch 440/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2397 - acc: 0.9693 - val_loss: 0.4234 - val_acc: 0.9196
Epoch 441/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2375 - acc: 0.9711 - val_loss: 0.4293 - val_acc: 0.9188
Epoch 442/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2426 - acc: 0.9686 - val_loss: 0.4058 - val_acc: 0.9251
Epoch 443/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2379 - acc: 0.9702 - val_loss: 0.4145 - val_acc: 0.9219
Epoch 444/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2380 - acc: 0.9700 - val_loss: 0.4110 - val_acc: 0.9220
Epoch 445/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2422 - acc: 0.9687 - val_loss: 0.4167 - val_acc: 0.9196
Epoch 446/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2377 - acc: 0.9704 - val_loss: 0.4142 - val_acc: 0.9210
Epoch 447/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2416 - acc: 0.9693 - val_loss: 0.4345 - val_acc: 0.9182
Epoch 448/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2391 - acc: 0.9697 - val_loss: 0.4147 - val_acc: 0.9183
Epoch 449/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2430 - acc: 0.9689 - val_loss: 0.4005 - val_acc: 0.9244
Epoch 450/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2355 - acc: 0.9723 - val_loss: 0.4060 - val_acc: 0.9227
Epoch 451/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2394 - acc: 0.9703 - val_loss: 0.4118 - val_acc: 0.9211
Epoch 452/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2414 - acc: 0.9693 - val_loss: 0.4259 - val_acc: 0.9164
Epoch 453/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2396 - acc: 0.9692 - val_loss: 0.4066 - val_acc: 0.9222
Epoch 454/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2350 - acc: 0.9719 - val_loss: 0.4075 - val_acc: 0.9230
Epoch 455/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2413 - acc: 0.9689 - val_loss: 0.4108 - val_acc: 0.9243
Epoch 456/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2395 - acc: 0.9693 - val_loss: 0.4073 - val_acc: 0.9250
Epoch 457/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2358 - acc: 0.9712 - val_loss: 0.4161 - val_acc: 0.9190
Epoch 458/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2421 - acc: 0.9683 - val_loss: 0.4241 - val_acc: 0.9206
Epoch 459/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2355 - acc: 0.9716 - val_loss: 0.4126 - val_acc: 0.9227
Epoch 460/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2400 - acc: 0.9693 - val_loss: 0.4049 - val_acc: 0.9265
Epoch 461/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2399 - acc: 0.9693 - val_loss: 0.4189 - val_acc: 0.9211
Epoch 462/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2379 - acc: 0.9702 - val_loss: 0.4231 - val_acc: 0.9208
Epoch 463/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2396 - acc: 0.9698 - val_loss: 0.4090 - val_acc: 0.9235
Epoch 464/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2397 - acc: 0.9697 - val_loss: 0.4038 - val_acc: 0.9222
Epoch 465/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2342 - acc: 0.9712 - val_loss: 0.4142 - val_acc: 0.9227
Epoch 466/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2382 - acc: 0.9701 - val_loss: 0.4094 - val_acc: 0.9234
Epoch 467/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2360 - acc: 0.9700 - val_loss: 0.4124 - val_acc: 0.9226
Epoch 468/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2389 - acc: 0.9705 - val_loss: 0.4078 - val_acc: 0.9220
Epoch 469/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2373 - acc: 0.9699 - val_loss: 0.4281 - val_acc: 0.9173
Epoch 470/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2374 - acc: 0.9704 - val_loss: 0.4177 - val_acc: 0.9204
Epoch 471/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2364 - acc: 0.9706 - val_loss: 0.4229 - val_acc: 0.9195
Epoch 472/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2364 - acc: 0.9714 - val_loss: 0.4244 - val_acc: 0.9211
Epoch 473/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2388 - acc: 0.9699 - val_loss: 0.4305 - val_acc: 0.9172
Epoch 474/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2430 - acc: 0.9682 - val_loss: 0.4226 - val_acc: 0.9210
Epoch 475/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2354 - acc: 0.9710 - val_loss: 0.4126 - val_acc: 0.9228
Epoch 476/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2367 - acc: 0.9712 - val_loss: 0.4025 - val_acc: 0.9233
Epoch 477/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2336 - acc: 0.9718 - val_loss: 0.4095 - val_acc: 0.9234
Epoch 478/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2340 - acc: 0.9718 - val_loss: 0.4111 - val_acc: 0.9221
Epoch 479/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2370 - acc: 0.9705 - val_loss: 0.4098 - val_acc: 0.9244
Epoch 480/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2328 - acc: 0.9716 - val_loss: 0.4158 - val_acc: 0.9218
Epoch 481/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2376 - acc: 0.9699 - val_loss: 0.4071 - val_acc: 0.9233
Epoch 482/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2321 - acc: 0.9723 - val_loss: 0.4196 - val_acc: 0.9189
Epoch 483/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2338 - acc: 0.9711 - val_loss: 0.4137 - val_acc: 0.9225
Epoch 484/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2386 - acc: 0.9701 - val_loss: 0.4217 - val_acc: 0.9221
Epoch 485/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2357 - acc: 0.9710 - val_loss: 0.4136 - val_acc: 0.9218
Epoch 486/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2318 - acc: 0.9722 - val_loss: 0.4171 - val_acc: 0.9244
Epoch 487/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2363 - acc: 0.9712 - val_loss: 0.4089 - val_acc: 0.9238
Epoch 488/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2331 - acc: 0.9718 - val_loss: 0.4166 - val_acc: 0.9204
Epoch 489/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2356 - acc: 0.9710 - val_loss: 0.4235 - val_acc: 0.9176
Epoch 490/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2378 - acc: 0.9703 - val_loss: 0.4219 - val_acc: 0.9181
Epoch 491/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2328 - acc: 0.9719 - val_loss: 0.4155 - val_acc: 0.9193
Epoch 492/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2383 - acc: 0.9704 - val_loss: 0.4239 - val_acc: 0.9155
Epoch 493/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2378 - acc: 0.9706 - val_loss: 0.4188 - val_acc: 0.9201
Epoch 494/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2382 - acc: 0.9703 - val_loss: 0.4345 - val_acc: 0.9146
Epoch 495/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2361 - acc: 0.9711 - val_loss: 0.4021 - val_acc: 0.9232
Epoch 496/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2340 - acc: 0.9715 - val_loss: 0.3926 - val_acc: 0.9261
Epoch 497/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2329 - acc: 0.9713 - val_loss: 0.4149 - val_acc: 0.9240
Epoch 498/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2341 - acc: 0.9720 - val_loss: 0.4011 - val_acc: 0.9264
Epoch 499/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2347 - acc: 0.9712 - val_loss: 0.4159 - val_acc: 0.9236
Epoch 500/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2324 - acc: 0.9720 - val_loss: 0.4138 - val_acc: 0.9224
Epoch 501/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2404 - acc: 0.9701 - val_loss: 0.4152 - val_acc: 0.9203
Epoch 502/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2336 - acc: 0.9722 - val_loss: 0.4060 - val_acc: 0.9232
Epoch 503/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2326 - acc: 0.9722 - val_loss: 0.4203 - val_acc: 0.9226
Epoch 504/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2327 - acc: 0.9723 - val_loss: 0.3970 - val_acc: 0.9248
Epoch 505/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2359 - acc: 0.9712 - val_loss: 0.4126 - val_acc: 0.9225
Epoch 506/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2359 - acc: 0.9709 - val_loss: 0.4207 - val_acc: 0.9207
Epoch 507/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2371 - acc: 0.9705 - val_loss: 0.4107 - val_acc: 0.9211
Epoch 508/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2331 - acc: 0.9718 - val_loss: 0.4265 - val_acc: 0.9212
Epoch 509/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2347 - acc: 0.9711 - val_loss: 0.4060 - val_acc: 0.9215
Epoch 510/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2328 - acc: 0.9721 - val_loss: 0.4034 - val_acc: 0.9230
Epoch 511/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2316 - acc: 0.9736 - val_loss: 0.4106 - val_acc: 0.9231
Epoch 512/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2362 - acc: 0.9707 - val_loss: 0.4202 - val_acc: 0.9233
Epoch 513/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2326 - acc: 0.9722 - val_loss: 0.4282 - val_acc: 0.9188
Epoch 514/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2326 - acc: 0.9715 - val_loss: 0.4212 - val_acc: 0.9205
Epoch 515/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2339 - acc: 0.9716 - val_loss: 0.4212 - val_acc: 0.9207
Epoch 516/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2367 - acc: 0.9707 - val_loss: 0.4151 - val_acc: 0.9217
Epoch 517/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2326 - acc: 0.9725 - val_loss: 0.4187 - val_acc: 0.9236
Epoch 518/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2319 - acc: 0.9721 - val_loss: 0.4063 - val_acc: 0.9271
Epoch 519/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2311 - acc: 0.9721 - val_loss: 0.4197 - val_acc: 0.9219
Epoch 520/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2323 - acc: 0.9733 - val_loss: 0.4269 - val_acc: 0.9199
Epoch 521/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2308 - acc: 0.9727 - val_loss: 0.4213 - val_acc: 0.9216
Epoch 522/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2303 - acc: 0.9727 - val_loss: 0.4194 - val_acc: 0.9197
Epoch 523/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2326 - acc: 0.9732 - val_loss: 0.4451 - val_acc: 0.9136
Epoch 524/1000
500/500 [==============================] - 145s 289ms/step - loss: 0.2355 - acc: 0.9709 - val_loss: 0.4226 - val_acc: 0.9205
Epoch 525/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2371 - acc: 0.9706 - val_loss: 0.4219 - val_acc: 0.9207
Epoch 526/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2326 - acc: 0.9716 - val_loss: 0.4229 - val_acc: 0.9219
Epoch 527/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2303 - acc: 0.9728 - val_loss: 0.4218 - val_acc: 0.9224
Epoch 528/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2336 - acc: 0.9722 - val_loss: 0.4278 - val_acc: 0.9166
Epoch 529/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2314 - acc: 0.9732 - val_loss: 0.4116 - val_acc: 0.9241
Epoch 530/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.2334 - acc: 0.9717 - val_loss: 0.4208 - val_acc: 0.9202
Epoch 531/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2307 - acc: 0.9724 - val_loss: 0.4264 - val_acc: 0.9214
Epoch 532/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2347 - acc: 0.9712 - val_loss: 0.4253 - val_acc: 0.9213
Epoch 533/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2318 - acc: 0.9730 - val_loss: 0.4152 - val_acc: 0.9239
Epoch 534/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2376 - acc: 0.9710 - val_loss: 0.4279 - val_acc: 0.9204
Epoch 535/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2320 - acc: 0.9725 - val_loss: 0.4242 - val_acc: 0.9180
Epoch 536/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2344 - acc: 0.9713 - val_loss: 0.4106 - val_acc: 0.9234
Epoch 537/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2350 - acc: 0.9710 - val_loss: 0.4169 - val_acc: 0.9216
Epoch 538/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2355 - acc: 0.9712 - val_loss: 0.4265 - val_acc: 0.9223
Epoch 539/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2333 - acc: 0.9719 - val_loss: 0.4132 - val_acc: 0.9220
Epoch 540/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2294 - acc: 0.9734 - val_loss: 0.4203 - val_acc: 0.9245
Epoch 541/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2343 - acc: 0.9715 - val_loss: 0.4176 - val_acc: 0.9236
Epoch 542/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2330 - acc: 0.9723 - val_loss: 0.4146 - val_acc: 0.9241
Epoch 543/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.2361 - acc: 0.9706 - val_loss: 0.4125 - val_acc: 0.9213
...
Epoch 625/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1622 - acc: 0.9958 - val_loss: 0.3749 - val_acc: 0.9375
Epoch 626/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1605 - acc: 0.9963 - val_loss: 0.3746 - val_acc: 0.9394
Epoch 627/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1602 - acc: 0.9965 - val_loss: 0.3739 - val_acc: 0.9374
Epoch 628/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1606 - acc: 0.9961 - val_loss: 0.3766 - val_acc: 0.9380
Epoch 629/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1595 - acc: 0.9965 - val_loss: 0.3731 - val_acc: 0.9393
Epoch 630/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1594 - acc: 0.9962 - val_loss: 0.3737 - val_acc: 0.9386
Epoch 631/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1597 - acc: 0.9959 - val_loss: 0.3722 - val_acc: 0.9387
Epoch 632/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1591 - acc: 0.9963 - val_loss: 0.3730 - val_acc: 0.9386
Epoch 633/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1596 - acc: 0.9957 - val_loss: 0.3735 - val_acc: 0.9373
Epoch 634/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1577 - acc: 0.9967 - val_loss: 0.3752 - val_acc: 0.9371
Epoch 635/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1569 - acc: 0.9967 - val_loss: 0.3753 - val_acc: 0.9372
Epoch 636/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1567 - acc: 0.9967 - val_loss: 0.3760 - val_acc: 0.9372
Epoch 637/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1580 - acc: 0.9961 - val_loss: 0.3750 - val_acc: 0.9388
Epoch 638/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1564 - acc: 0.9968 - val_loss: 0.3765 - val_acc: 0.9394
Epoch 639/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1562 - acc: 0.9966 - val_loss: 0.3753 - val_acc: 0.9370
Epoch 640/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1560 - acc: 0.9967 - val_loss: 0.3772 - val_acc: 0.9362
Epoch 641/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1555 - acc: 0.9969 - val_loss: 0.3766 - val_acc: 0.9370
Epoch 642/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1544 - acc: 0.9973 - val_loss: 0.3756 - val_acc: 0.9390
Epoch 643/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1548 - acc: 0.9964 - val_loss: 0.3749 - val_acc: 0.9384
Epoch 644/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1541 - acc: 0.9969 - val_loss: 0.3741 - val_acc: 0.9375
Epoch 645/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1539 - acc: 0.9967 - val_loss: 0.3731 - val_acc: 0.9396
Epoch 646/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1526 - acc: 0.9973 - val_loss: 0.3739 - val_acc: 0.9387
Epoch 647/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1531 - acc: 0.9970 - val_loss: 0.3740 - val_acc: 0.9380
Epoch 648/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1535 - acc: 0.9967 - val_loss: 0.3743 - val_acc: 0.9390
Epoch 649/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1531 - acc: 0.9966 - val_loss: 0.3761 - val_acc: 0.9387
Epoch 650/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1512 - acc: 0.9976 - val_loss: 0.3743 - val_acc: 0.9388
Epoch 651/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1521 - acc: 0.9969 - val_loss: 0.3741 - val_acc: 0.9382
Epoch 652/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1522 - acc: 0.9969 - val_loss: 0.3747 - val_acc: 0.9381
Epoch 653/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1510 - acc: 0.9972 - val_loss: 0.3752 - val_acc: 0.9390
Epoch 654/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1503 - acc: 0.9974 - val_loss: 0.3745 - val_acc: 0.9377
Epoch 655/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1500 - acc: 0.9976 - val_loss: 0.3761 - val_acc: 0.9377
Epoch 656/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1500 - acc: 0.9974 - val_loss: 0.3752 - val_acc: 0.9377
Epoch 657/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1502 - acc: 0.9973 - val_loss: 0.3767 - val_acc: 0.9375
Epoch 658/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1490 - acc: 0.9974 - val_loss: 0.3744 - val_acc: 0.9397
Epoch 659/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1498 - acc: 0.9969 - val_loss: 0.3783 - val_acc: 0.9377
Epoch 660/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1486 - acc: 0.9973 - val_loss: 0.3764 - val_acc: 0.9377
Epoch 661/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1485 - acc: 0.9975 - val_loss: 0.3745 - val_acc: 0.9394
Epoch 662/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1481 - acc: 0.9975 - val_loss: 0.3750 - val_acc: 0.9385
Epoch 663/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1487 - acc: 0.9971 - val_loss: 0.3776 - val_acc: 0.9378
Epoch 664/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1483 - acc: 0.9972 - val_loss: 0.3758 - val_acc: 0.9400
Epoch 665/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1477 - acc: 0.9974 - val_loss: 0.3741 - val_acc: 0.9387
Epoch 666/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1471 - acc: 0.9974 - val_loss: 0.3771 - val_acc: 0.9392
Epoch 667/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1468 - acc: 0.9978 - val_loss: 0.3773 - val_acc: 0.9384
Epoch 668/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1465 - acc: 0.9975 - val_loss: 0.3782 - val_acc: 0.9388
Epoch 669/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1459 - acc: 0.9977 - val_loss: 0.3796 - val_acc: 0.9372
Epoch 670/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1462 - acc: 0.9973 - val_loss: 0.3774 - val_acc: 0.9377
Epoch 671/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1467 - acc: 0.9968 - val_loss: 0.3788 - val_acc: 0.9375
Epoch 672/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1465 - acc: 0.9972 - val_loss: 0.3784 - val_acc: 0.9373
Epoch 673/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1457 - acc: 0.9975 - val_loss: 0.3771 - val_acc: 0.9372
Epoch 674/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1445 - acc: 0.9977 - val_loss: 0.3774 - val_acc: 0.9372
Epoch 675/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1444 - acc: 0.9974 - val_loss: 0.3748 - val_acc: 0.9373
Epoch 676/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1447 - acc: 0.9973 - val_loss: 0.3768 - val_acc: 0.9374
Epoch 677/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1437 - acc: 0.9978 - val_loss: 0.3752 - val_acc: 0.9376
Epoch 678/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1439 - acc: 0.9974 - val_loss: 0.3731 - val_acc: 0.9394
Epoch 679/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1437 - acc: 0.9974 - val_loss: 0.3730 - val_acc: 0.9378
Epoch 680/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1433 - acc: 0.9978 - val_loss: 0.3761 - val_acc: 0.9368
Epoch 681/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1433 - acc: 0.9976 - val_loss: 0.3764 - val_acc: 0.9380
Epoch 682/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1427 - acc: 0.9976 - val_loss: 0.3746 - val_acc: 0.9372
Epoch 683/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1427 - acc: 0.9978 - val_loss: 0.3752 - val_acc: 0.9378
Epoch 684/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1424 - acc: 0.9976 - val_loss: 0.3754 - val_acc: 0.9380
Epoch 685/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1420 - acc: 0.9975 - val_loss: 0.3767 - val_acc: 0.9384
Epoch 686/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1410 - acc: 0.9980 - val_loss: 0.3773 - val_acc: 0.9378
Epoch 687/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1424 - acc: 0.9972 - val_loss: 0.3741 - val_acc: 0.9375
Epoch 688/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1417 - acc: 0.9975 - val_loss: 0.3757 - val_acc: 0.9377
Epoch 689/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1412 - acc: 0.9975 - val_loss: 0.3760 - val_acc: 0.9365
Epoch 690/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1414 - acc: 0.9974 - val_loss: 0.3730 - val_acc: 0.9389
Epoch 691/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1405 - acc: 0.9979 - val_loss: 0.3722 - val_acc: 0.9392
Epoch 692/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1409 - acc: 0.9975 - val_loss: 0.3744 - val_acc: 0.9375
Epoch 693/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1396 - acc: 0.9980 - val_loss: 0.3718 - val_acc: 0.9382
Epoch 694/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1393 - acc: 0.9979 - val_loss: 0.3700 - val_acc: 0.9390
Epoch 695/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1394 - acc: 0.9976 - val_loss: 0.3728 - val_acc: 0.9377
Epoch 696/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1402 - acc: 0.9973 - val_loss: 0.3712 - val_acc: 0.9389
Epoch 697/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1391 - acc: 0.9976 - val_loss: 0.3726 - val_acc: 0.9397
Epoch 698/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1384 - acc: 0.9981 - val_loss: 0.3763 - val_acc: 0.9380
Epoch 699/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1394 - acc: 0.9973 - val_loss: 0.3747 - val_acc: 0.9371
Epoch 700/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1379 - acc: 0.9979 - val_loss: 0.3742 - val_acc: 0.9378
Epoch 701/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1387 - acc: 0.9976 - val_loss: 0.3741 - val_acc: 0.9381
Epoch 702/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1364 - acc: 0.9985 - val_loss: 0.3757 - val_acc: 0.9368
Epoch 703/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1375 - acc: 0.9979 - val_loss: 0.3767 - val_acc: 0.9373
Epoch 704/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1375 - acc: 0.9978 - val_loss: 0.3762 - val_acc: 0.9356
Epoch 705/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1371 - acc: 0.9978 - val_loss: 0.3759 - val_acc: 0.9377
Epoch 706/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1361 - acc: 0.9981 - val_loss: 0.3754 - val_acc: 0.9365
Epoch 707/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1364 - acc: 0.9980 - val_loss: 0.3760 - val_acc: 0.9364
Epoch 708/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1369 - acc: 0.9979 - val_loss: 0.3796 - val_acc: 0.9354
Epoch 709/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1353 - acc: 0.9983 - val_loss: 0.3767 - val_acc: 0.9372
Epoch 710/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1353 - acc: 0.9979 - val_loss: 0.3761 - val_acc: 0.9369
Epoch 711/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1355 - acc: 0.9975 - val_loss: 0.3745 - val_acc: 0.9371
Epoch 712/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1349 - acc: 0.9979 - val_loss: 0.3757 - val_acc: 0.9381
Epoch 713/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1357 - acc: 0.9974 - val_loss: 0.3736 - val_acc: 0.9376
Epoch 714/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1346 - acc: 0.9980 - val_loss: 0.3713 - val_acc: 0.9382
Epoch 715/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1344 - acc: 0.9981 - val_loss: 0.3730 - val_acc: 0.9370
Epoch 716/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1349 - acc: 0.9976 - val_loss: 0.3744 - val_acc: 0.9373
Epoch 717/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1345 - acc: 0.9978 - val_loss: 0.3762 - val_acc: 0.9376
Epoch 718/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1341 - acc: 0.9979 - val_loss: 0.3763 - val_acc: 0.9367
Epoch 719/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1332 - acc: 0.9980 - val_loss: 0.3766 - val_acc: 0.9369
Epoch 720/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1337 - acc: 0.9977 - val_loss: 0.3768 - val_acc: 0.9358
Epoch 721/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1334 - acc: 0.9979 - val_loss: 0.3752 - val_acc: 0.9369
Epoch 722/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1335 - acc: 0.9980 - val_loss: 0.3741 - val_acc: 0.9371
Epoch 723/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1330 - acc: 0.9978 - val_loss: 0.3769 - val_acc: 0.9371
Epoch 724/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1325 - acc: 0.9980 - val_loss: 0.3739 - val_acc: 0.9376
Epoch 725/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1329 - acc: 0.9978 - val_loss: 0.3740 - val_acc: 0.9370
Epoch 726/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1320 - acc: 0.9981 - val_loss: 0.3712 - val_acc: 0.9378
Epoch 727/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1317 - acc: 0.9981 - val_loss: 0.3757 - val_acc: 0.9372
Epoch 728/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1322 - acc: 0.9978 - val_loss: 0.3732 - val_acc: 0.9371
Epoch 729/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1311 - acc: 0.9980 - val_loss: 0.3724 - val_acc: 0.9382
Epoch 730/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1308 - acc: 0.9983 - val_loss: 0.3736 - val_acc: 0.9376
Epoch 731/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1315 - acc: 0.9977 - val_loss: 0.3738 - val_acc: 0.9367
Epoch 732/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1309 - acc: 0.9980 - val_loss: 0.3719 - val_acc: 0.9366
Epoch 733/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1307 - acc: 0.9980 - val_loss: 0.3720 - val_acc: 0.9359
Epoch 734/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1303 - acc: 0.9979 - val_loss: 0.3731 - val_acc: 0.9372
Epoch 735/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1301 - acc: 0.9980 - val_loss: 0.3740 - val_acc: 0.9377
Epoch 736/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1299 - acc: 0.9978 - val_loss: 0.3787 - val_acc: 0.9347
Epoch 737/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1298 - acc: 0.9982 - val_loss: 0.3759 - val_acc: 0.9362
Epoch 738/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1295 - acc: 0.9981 - val_loss: 0.3709 - val_acc: 0.9367
Epoch 739/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1286 - acc: 0.9982 - val_loss: 0.3690 - val_acc: 0.9372
Epoch 740/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1285 - acc: 0.9982 - val_loss: 0.3702 - val_acc: 0.9383
Epoch 741/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1285 - acc: 0.9980 - val_loss: 0.3719 - val_acc: 0.9361
Epoch 742/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1284 - acc: 0.9982 - val_loss: 0.3706 - val_acc: 0.9364
Epoch 743/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1285 - acc: 0.9979 - val_loss: 0.3701 - val_acc: 0.9378
Epoch 744/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1279 - acc: 0.9981 - val_loss: 0.3700 - val_acc: 0.9388
Epoch 745/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1282 - acc: 0.9981 - val_loss: 0.3676 - val_acc: 0.9377
Epoch 746/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1277 - acc: 0.9982 - val_loss: 0.3677 - val_acc: 0.9374
Epoch 747/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1271 - acc: 0.9985 - val_loss: 0.3677 - val_acc: 0.9381
Epoch 748/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1276 - acc: 0.9981 - val_loss: 0.3673 - val_acc: 0.9364
Epoch 749/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1279 - acc: 0.9980 - val_loss: 0.3675 - val_acc: 0.9376
Epoch 750/1000
500/500 [==============================] - 142s 283ms/step - loss: 0.1272 - acc: 0.9981 - val_loss: 0.3681 - val_acc: 0.9364
Epoch 751/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1271 - acc: 0.9981 - val_loss: 0.3691 - val_acc: 0.9367
Epoch 752/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1263 - acc: 0.9982 - val_loss: 0.3699 - val_acc: 0.9375
Epoch 753/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1268 - acc: 0.9977 - val_loss: 0.3701 - val_acc: 0.9377
Epoch 754/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1260 - acc: 0.9982 - val_loss: 0.3704 - val_acc: 0.9373
Epoch 755/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1262 - acc: 0.9982 - val_loss: 0.3683 - val_acc: 0.9372
Epoch 756/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1255 - acc: 0.9981 - val_loss: 0.3719 - val_acc: 0.9356
Epoch 757/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1260 - acc: 0.9980 - val_loss: 0.3687 - val_acc: 0.9375
Epoch 758/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1254 - acc: 0.9981 - val_loss: 0.3693 - val_acc: 0.9358
Epoch 759/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1253 - acc: 0.9981 - val_loss: 0.3683 - val_acc: 0.9369
Epoch 760/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1243 - acc: 0.9985 - val_loss: 0.3685 - val_acc: 0.9376
Epoch 761/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1247 - acc: 0.9981 - val_loss: 0.3696 - val_acc: 0.9365
Epoch 762/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1244 - acc: 0.9983 - val_loss: 0.3696 - val_acc: 0.9369
Epoch 763/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1242 - acc: 0.9982 - val_loss: 0.3724 - val_acc: 0.9347
Epoch 764/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1241 - acc: 0.9980 - val_loss: 0.3725 - val_acc: 0.9364
Epoch 765/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1238 - acc: 0.9982 - val_loss: 0.3690 - val_acc: 0.9357
Epoch 766/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1235 - acc: 0.9982 - val_loss: 0.3696 - val_acc: 0.9359
Epoch 767/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1233 - acc: 0.9981 - val_loss: 0.3674 - val_acc: 0.9363
Epoch 768/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1234 - acc: 0.9982 - val_loss: 0.3718 - val_acc: 0.9368
Epoch 769/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1231 - acc: 0.9983 - val_loss: 0.3718 - val_acc: 0.9360
Epoch 770/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1233 - acc: 0.9979 - val_loss: 0.3731 - val_acc: 0.9368
Epoch 771/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1231 - acc: 0.9980 - val_loss: 0.3706 - val_acc: 0.9373
Epoch 772/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1221 - acc: 0.9984 - val_loss: 0.3691 - val_acc: 0.9377
Epoch 773/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1216 - acc: 0.9985 - val_loss: 0.3688 - val_acc: 0.9373
Epoch 774/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1210 - acc: 0.9987 - val_loss: 0.3698 - val_acc: 0.9375
Epoch 775/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1219 - acc: 0.9979 - val_loss: 0.3696 - val_acc: 0.9366
Epoch 776/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1216 - acc: 0.9983 - val_loss: 0.3698 - val_acc: 0.9357
Epoch 777/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1210 - acc: 0.9984 - val_loss: 0.3698 - val_acc: 0.9363
Epoch 778/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1208 - acc: 0.9983 - val_loss: 0.3673 - val_acc: 0.9359
Epoch 779/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1206 - acc: 0.9985 - val_loss: 0.3668 - val_acc: 0.9376
Epoch 780/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1200 - acc: 0.9984 - val_loss: 0.3681 - val_acc: 0.9370
Epoch 781/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1203 - acc: 0.9983 - val_loss: 0.3701 - val_acc: 0.9367
Epoch 782/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1202 - acc: 0.9983 - val_loss: 0.3698 - val_acc: 0.9359
Epoch 783/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1201 - acc: 0.9982 - val_loss: 0.3724 - val_acc: 0.9352
Epoch 784/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1201 - acc: 0.9984 - val_loss: 0.3728 - val_acc: 0.9343
Epoch 785/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1206 - acc: 0.9978 - val_loss: 0.3730 - val_acc: 0.9349
Epoch 786/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1193 - acc: 0.9984 - val_loss: 0.3713 - val_acc: 0.9347
Epoch 787/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1201 - acc: 0.9979 - val_loss: 0.3714 - val_acc: 0.9358
Epoch 788/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1193 - acc: 0.9980 - val_loss: 0.3703 - val_acc: 0.9365
Epoch 789/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1187 - acc: 0.9984 - val_loss: 0.3708 - val_acc: 0.9368
Epoch 790/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1194 - acc: 0.9980 - val_loss: 0.3703 - val_acc: 0.9375
Epoch 791/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1177 - acc: 0.9987 - val_loss: 0.3681 - val_acc: 0.9377
Epoch 792/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1179 - acc: 0.9984 - val_loss: 0.3682 - val_acc: 0.9370
Epoch 793/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1179 - acc: 0.9983 - val_loss: 0.3711 - val_acc: 0.9355
Epoch 794/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1182 - acc: 0.9982 - val_loss: 0.3668 - val_acc: 0.9362
Epoch 795/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1183 - acc: 0.9981 - val_loss: 0.3707 - val_acc: 0.9352
Epoch 796/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1186 - acc: 0.9980 - val_loss: 0.3671 - val_acc: 0.9361
Epoch 797/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1171 - acc: 0.9984 - val_loss: 0.3665 - val_acc: 0.9379
Epoch 798/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1165 - acc: 0.9986 - val_loss: 0.3655 - val_acc: 0.9385
Epoch 799/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1174 - acc: 0.9983 - val_loss: 0.3666 - val_acc: 0.9375
Epoch 800/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1174 - acc: 0.9981 - val_loss: 0.3658 - val_acc: 0.9376
Epoch 801/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1170 - acc: 0.9984 - val_loss: 0.3665 - val_acc: 0.9370
Epoch 802/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1168 - acc: 0.9983 - val_loss: 0.3628 - val_acc: 0.9372
Epoch 803/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1166 - acc: 0.9983 - val_loss: 0.3635 - val_acc: 0.9363
Epoch 804/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1165 - acc: 0.9984 - val_loss: 0.3641 - val_acc: 0.9360
Epoch 805/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1154 - acc: 0.9986 - val_loss: 0.3625 - val_acc: 0.9372
Epoch 806/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1155 - acc: 0.9984 - val_loss: 0.3613 - val_acc: 0.9360
Epoch 807/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1150 - acc: 0.9985 - val_loss: 0.3618 - val_acc: 0.9376
Epoch 808/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1166 - acc: 0.9977 - val_loss: 0.3603 - val_acc: 0.9372
Epoch 809/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1155 - acc: 0.9984 - val_loss: 0.3633 - val_acc: 0.9376
Epoch 810/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1155 - acc: 0.9983 - val_loss: 0.3663 - val_acc: 0.9369
Epoch 811/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1153 - acc: 0.9982 - val_loss: 0.3666 - val_acc: 0.9363
Epoch 812/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1147 - acc: 0.9983 - val_loss: 0.3655 - val_acc: 0.9364
Epoch 813/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1145 - acc: 0.9982 - val_loss: 0.3645 - val_acc: 0.9364
Epoch 814/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1154 - acc: 0.9980 - val_loss: 0.3657 - val_acc: 0.9365
Epoch 815/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1143 - acc: 0.9984 - val_loss: 0.3623 - val_acc: 0.9364
Epoch 816/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1141 - acc: 0.9984 - val_loss: 0.3667 - val_acc: 0.9346
Epoch 817/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1135 - acc: 0.9985 - val_loss: 0.3642 - val_acc: 0.9360
Epoch 818/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1139 - acc: 0.9984 - val_loss: 0.3668 - val_acc: 0.9372
Epoch 819/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1134 - acc: 0.9984 - val_loss: 0.3660 - val_acc: 0.9355
Epoch 820/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1142 - acc: 0.9982 - val_loss: 0.3617 - val_acc: 0.9382
Epoch 821/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1137 - acc: 0.9983 - val_loss: 0.3626 - val_acc: 0.9367
Epoch 822/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1137 - acc: 0.9980 - val_loss: 0.3590 - val_acc: 0.9385
Epoch 823/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1131 - acc: 0.9982 - val_loss: 0.3635 - val_acc: 0.9376
Epoch 824/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1129 - acc: 0.9984 - val_loss: 0.3691 - val_acc: 0.9359
Epoch 825/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1126 - acc: 0.9983 - val_loss: 0.3665 - val_acc: 0.9359
Epoch 826/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1121 - acc: 0.9985 - val_loss: 0.3605 - val_acc: 0.9380
Epoch 827/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1126 - acc: 0.9980 - val_loss: 0.3643 - val_acc: 0.9355
Epoch 828/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1122 - acc: 0.9983 - val_loss: 0.3616 - val_acc: 0.9373
Epoch 829/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1117 - acc: 0.9983 - val_loss: 0.3638 - val_acc: 0.9364
Epoch 830/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1118 - acc: 0.9981 - val_loss: 0.3647 - val_acc: 0.9374
Epoch 831/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1124 - acc: 0.9980 - val_loss: 0.3629 - val_acc: 0.9372
Epoch 832/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1112 - acc: 0.9985 - val_loss: 0.3607 - val_acc: 0.9373
Epoch 833/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1112 - acc: 0.9983 - val_loss: 0.3597 - val_acc: 0.9385
Epoch 834/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1109 - acc: 0.9983 - val_loss: 0.3595 - val_acc: 0.9381
Epoch 835/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1106 - acc: 0.9985 - val_loss: 0.3649 - val_acc: 0.9375
Epoch 836/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1103 - acc: 0.9987 - val_loss: 0.3626 - val_acc: 0.9379
Epoch 837/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1105 - acc: 0.9983 - val_loss: 0.3630 - val_acc: 0.9374
Epoch 838/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1099 - acc: 0.9987 - val_loss: 0.3635 - val_acc: 0.9368
Epoch 839/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1108 - acc: 0.9982 - val_loss: 0.3660 - val_acc: 0.9368
Epoch 840/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1100 - acc: 0.9984 - val_loss: 0.3637 - val_acc: 0.9384
Epoch 841/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1095 - acc: 0.9986 - val_loss: 0.3633 - val_acc: 0.9363
Epoch 842/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1097 - acc: 0.9983 - val_loss: 0.3632 - val_acc: 0.9357
Epoch 843/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1100 - acc: 0.9983 - val_loss: 0.3618 - val_acc: 0.9363
Epoch 844/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1100 - acc: 0.9983 - val_loss: 0.3676 - val_acc: 0.9338
Epoch 845/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1089 - acc: 0.9984 - val_loss: 0.3644 - val_acc: 0.9357
Epoch 846/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1089 - acc: 0.9986 - val_loss: 0.3687 - val_acc: 0.9344
Epoch 847/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1088 - acc: 0.9985 - val_loss: 0.3663 - val_acc: 0.9360
Epoch 848/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1094 - acc: 0.9983 - val_loss: 0.3619 - val_acc: 0.9357
Epoch 849/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1088 - acc: 0.9983 - val_loss: 0.3542 - val_acc: 0.9374
Epoch 850/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1083 - acc: 0.9984 - val_loss: 0.3562 - val_acc: 0.9367
Epoch 851/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1086 - acc: 0.9982 - val_loss: 0.3532 - val_acc: 0.9376
Epoch 852/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1080 - acc: 0.9983 - val_loss: 0.3531 - val_acc: 0.9373
Epoch 853/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1073 - acc: 0.9987 - val_loss: 0.3527 - val_acc: 0.9369
Epoch 854/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1081 - acc: 0.9983 - val_loss: 0.3563 - val_acc: 0.9374
Epoch 855/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1080 - acc: 0.9983 - val_loss: 0.3541 - val_acc: 0.9381
Epoch 856/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1068 - acc: 0.9987 - val_loss: 0.3541 - val_acc: 0.9384
Epoch 857/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1074 - acc: 0.9985 - val_loss: 0.3577 - val_acc: 0.9374
Epoch 858/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1071 - acc: 0.9986 - val_loss: 0.3582 - val_acc: 0.9359
Epoch 859/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1063 - acc: 0.9985 - val_loss: 0.3612 - val_acc: 0.9359
Epoch 860/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1060 - acc: 0.9988 - val_loss: 0.3581 - val_acc: 0.9376
Epoch 861/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1070 - acc: 0.9982 - val_loss: 0.3575 - val_acc: 0.9367
Epoch 862/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1074 - acc: 0.9980 - val_loss: 0.3581 - val_acc: 0.9357
Epoch 863/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1070 - acc: 0.9982 - val_loss: 0.3527 - val_acc: 0.9374
Epoch 864/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1063 - acc: 0.9984 - val_loss: 0.3543 - val_acc: 0.9374
Epoch 865/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1057 - acc: 0.9986 - val_loss: 0.3533 - val_acc: 0.9377
Epoch 866/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1062 - acc: 0.9978 - val_loss: 0.3545 - val_acc: 0.9369
Epoch 867/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1054 - acc: 0.9984 - val_loss: 0.3542 - val_acc: 0.9355
Epoch 868/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1060 - acc: 0.9983 - val_loss: 0.3482 - val_acc: 0.9394
Epoch 869/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1054 - acc: 0.9984 - val_loss: 0.3560 - val_acc: 0.9375
Epoch 870/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1064 - acc: 0.9978 - val_loss: 0.3537 - val_acc: 0.9370
Epoch 871/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1050 - acc: 0.9984 - val_loss: 0.3555 - val_acc: 0.9374
Epoch 872/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1049 - acc: 0.9985 - val_loss: 0.3539 - val_acc: 0.9367
Epoch 873/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1050 - acc: 0.9984 - val_loss: 0.3574 - val_acc: 0.9373
Epoch 874/1000
500/500 [==============================] - 143s 285ms/step - loss: 0.1044 - acc: 0.9987 - val_loss: 0.3623 - val_acc: 0.9359
Epoch 875/1000
500/500 [==============================] - 142s 283ms/step - loss: 0.1048 - acc: 0.9982 - val_loss: 0.3600 - val_acc: 0.9370
Epoch 876/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1051 - acc: 0.9982 - val_loss: 0.3594 - val_acc: 0.9366
Epoch 877/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1042 - acc: 0.9985 - val_loss: 0.3558 - val_acc: 0.9357
Epoch 878/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1046 - acc: 0.9982 - val_loss: 0.3549 - val_acc: 0.9360
Epoch 879/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1042 - acc: 0.9984 - val_loss: 0.3520 - val_acc: 0.9385
Epoch 880/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1040 - acc: 0.9984 - val_loss: 0.3598 - val_acc: 0.9367
Epoch 881/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1036 - acc: 0.9984 - val_loss: 0.3550 - val_acc: 0.9364
Epoch 882/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1031 - acc: 0.9985 - val_loss: 0.3544 - val_acc: 0.9381
Epoch 883/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1042 - acc: 0.9981 - val_loss: 0.3513 - val_acc: 0.9380
Epoch 884/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1036 - acc: 0.9982 - val_loss: 0.3541 - val_acc: 0.9364
Epoch 885/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1033 - acc: 0.9985 - val_loss: 0.3532 - val_acc: 0.9376
Epoch 886/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1032 - acc: 0.9981 - val_loss: 0.3566 - val_acc: 0.9376
Epoch 887/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1033 - acc: 0.9981 - val_loss: 0.3518 - val_acc: 0.9368
Epoch 888/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1020 - acc: 0.9987 - val_loss: 0.3521 - val_acc: 0.9378
Epoch 889/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1020 - acc: 0.9984 - val_loss: 0.3524 - val_acc: 0.9368
Epoch 890/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1024 - acc: 0.9983 - val_loss: 0.3523 - val_acc: 0.9364
Epoch 891/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1029 - acc: 0.9983 - val_loss: 0.3582 - val_acc: 0.9355
Epoch 892/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1018 - acc: 0.9984 - val_loss: 0.3555 - val_acc: 0.9365
Epoch 893/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1021 - acc: 0.9985 - val_loss: 0.3559 - val_acc: 0.9367
Epoch 894/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1026 - acc: 0.9977 - val_loss: 0.3563 - val_acc: 0.9360
Epoch 895/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1027 - acc: 0.9980 - val_loss: 0.3575 - val_acc: 0.9365
Epoch 896/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1023 - acc: 0.9980 - val_loss: 0.3541 - val_acc: 0.9375
Epoch 897/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1016 - acc: 0.9982 - val_loss: 0.3518 - val_acc: 0.9372
Epoch 898/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1018 - acc: 0.9979 - val_loss: 0.3473 - val_acc: 0.9372
Epoch 899/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1014 - acc: 0.9986 - val_loss: 0.3507 - val_acc: 0.9376
Epoch 900/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1010 - acc: 0.9985 - val_loss: 0.3568 - val_acc: 0.9366
Epoch 901/1000
lr changed to 9.999999310821295e-05
500/500 [==============================] - 142s 284ms/step - loss: 0.1014 - acc: 0.9982 - val_loss: 0.3548 - val_acc: 0.9366
Epoch 902/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1009 - acc: 0.9983 - val_loss: 0.3535 - val_acc: 0.9372
Epoch 903/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1008 - acc: 0.9981 - val_loss: 0.3523 - val_acc: 0.9370
Epoch 904/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1002 - acc: 0.9986 - val_loss: 0.3526 - val_acc: 0.9375
Epoch 905/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.1000 - acc: 0.9987 - val_loss: 0.3519 - val_acc: 0.9372
Epoch 906/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0997 - acc: 0.9989 - val_loss: 0.3520 - val_acc: 0.9374
Epoch 907/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0999 - acc: 0.9989 - val_loss: 0.3520 - val_acc: 0.9377
Epoch 908/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0994 - acc: 0.9989 - val_loss: 0.3518 - val_acc: 0.9376
Epoch 909/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0991 - acc: 0.9990 - val_loss: 0.3520 - val_acc: 0.9378
Epoch 910/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0996 - acc: 0.9988 - val_loss: 0.3515 - val_acc: 0.9375
Epoch 911/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0990 - acc: 0.9990 - val_loss: 0.3513 - val_acc: 0.9372
Epoch 912/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0994 - acc: 0.9987 - val_loss: 0.3508 - val_acc: 0.9371
Epoch 913/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0997 - acc: 0.9988 - val_loss: 0.3510 - val_acc: 0.9373
Epoch 914/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0996 - acc: 0.9989 - val_loss: 0.3509 - val_acc: 0.9374
Epoch 915/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.1001 - acc: 0.9986 - val_loss: 0.3513 - val_acc: 0.9375
Epoch 916/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0991 - acc: 0.9990 - val_loss: 0.3508 - val_acc: 0.9388
Epoch 917/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0987 - acc: 0.9989 - val_loss: 0.3512 - val_acc: 0.9377
Epoch 918/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0990 - acc: 0.9988 - val_loss: 0.3510 - val_acc: 0.9381
Epoch 919/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0997 - acc: 0.9986 - val_loss: 0.3515 - val_acc: 0.9380
Epoch 920/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0993 - acc: 0.9987 - val_loss: 0.3519 - val_acc: 0.9379
Epoch 921/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0988 - acc: 0.9990 - val_loss: 0.3508 - val_acc: 0.9375
Epoch 922/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0993 - acc: 0.9988 - val_loss: 0.3497 - val_acc: 0.9376
Epoch 923/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0990 - acc: 0.9988 - val_loss: 0.3492 - val_acc: 0.9385
Epoch 924/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0993 - acc: 0.9988 - val_loss: 0.3494 - val_acc: 0.9384
Epoch 925/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0988 - acc: 0.9988 - val_loss: 0.3494 - val_acc: 0.9382
Epoch 926/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0992 - acc: 0.9988 - val_loss: 0.3499 - val_acc: 0.9383
Epoch 927/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0985 - acc: 0.9990 - val_loss: 0.3499 - val_acc: 0.9385
Epoch 928/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0989 - acc: 0.9987 - val_loss: 0.3495 - val_acc: 0.9379
Epoch 929/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0987 - acc: 0.9991 - val_loss: 0.3494 - val_acc: 0.9385
Epoch 930/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0984 - acc: 0.9991 - val_loss: 0.3492 - val_acc: 0.9384
Epoch 931/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0991 - acc: 0.9987 - val_loss: 0.3492 - val_acc: 0.9388
Epoch 932/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0989 - acc: 0.9987 - val_loss: 0.3485 - val_acc: 0.9387
Epoch 933/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0993 - acc: 0.9988 - val_loss: 0.3481 - val_acc: 0.9386
Epoch 934/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0985 - acc: 0.9990 - val_loss: 0.3490 - val_acc: 0.9385
Epoch 935/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0988 - acc: 0.9988 - val_loss: 0.3496 - val_acc: 0.9385
Epoch 936/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0988 - acc: 0.9989 - val_loss: 0.3499 - val_acc: 0.9391
Epoch 937/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0986 - acc: 0.9989 - val_loss: 0.3497 - val_acc: 0.9388
Epoch 938/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0987 - acc: 0.9990 - val_loss: 0.3500 - val_acc: 0.9391
Epoch 939/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0988 - acc: 0.9988 - val_loss: 0.3499 - val_acc: 0.9392
Epoch 940/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0981 - acc: 0.9992 - val_loss: 0.3502 - val_acc: 0.9386
Epoch 941/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0987 - acc: 0.9989 - val_loss: 0.3503 - val_acc: 0.9387
Epoch 942/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0983 - acc: 0.9991 - val_loss: 0.3505 - val_acc: 0.9388
Epoch 943/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0989 - acc: 0.9988 - val_loss: 0.3499 - val_acc: 0.9389
Epoch 944/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0988 - acc: 0.9989 - val_loss: 0.3498 - val_acc: 0.9385
Epoch 945/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0981 - acc: 0.9991 - val_loss: 0.3495 - val_acc: 0.9390
Epoch 946/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0984 - acc: 0.9989 - val_loss: 0.3492 - val_acc: 0.9387
Epoch 947/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0983 - acc: 0.9991 - val_loss: 0.3493 - val_acc: 0.9390
Epoch 948/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0987 - acc: 0.9988 - val_loss: 0.3498 - val_acc: 0.9396
Epoch 949/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0986 - acc: 0.9988 - val_loss: 0.3496 - val_acc: 0.9394
Epoch 950/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0984 - acc: 0.9990 - val_loss: 0.3494 - val_acc: 0.9393
Epoch 951/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0981 - acc: 0.9991 - val_loss: 0.3497 - val_acc: 0.9390
Epoch 952/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0977 - acc: 0.9992 - val_loss: 0.3498 - val_acc: 0.9389
Epoch 953/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0980 - acc: 0.9990 - val_loss: 0.3501 - val_acc: 0.9383
Epoch 954/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0987 - acc: 0.9987 - val_loss: 0.3498 - val_acc: 0.9385
Epoch 955/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0981 - acc: 0.9990 - val_loss: 0.3498 - val_acc: 0.9385
Epoch 956/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0981 - acc: 0.9990 - val_loss: 0.3497 - val_acc: 0.9385
Epoch 957/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0981 - acc: 0.9990 - val_loss: 0.3490 - val_acc: 0.9392
Epoch 958/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0978 - acc: 0.9993 - val_loss: 0.3493 - val_acc: 0.9387
Epoch 959/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0981 - acc: 0.9990 - val_loss: 0.3505 - val_acc: 0.9391
Epoch 960/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0978 - acc: 0.9991 - val_loss: 0.3499 - val_acc: 0.9388
Epoch 961/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0982 - acc: 0.9990 - val_loss: 0.3498 - val_acc: 0.9388
Epoch 962/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0987 - acc: 0.9988 - val_loss: 0.3504 - val_acc: 0.9384
Epoch 963/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0982 - acc: 0.9990 - val_loss: 0.3505 - val_acc: 0.9390
Epoch 964/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0975 - acc: 0.9992 - val_loss: 0.3499 - val_acc: 0.9385
Epoch 965/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0981 - acc: 0.9990 - val_loss: 0.3496 - val_acc: 0.9390
Epoch 966/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0983 - acc: 0.9991 - val_loss: 0.3491 - val_acc: 0.9394
Epoch 967/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0982 - acc: 0.9989 - val_loss: 0.3495 - val_acc: 0.9388
Epoch 968/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0975 - acc: 0.9993 - val_loss: 0.3495 - val_acc: 0.9394
Epoch 969/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0977 - acc: 0.9990 - val_loss: 0.3502 - val_acc: 0.9387
Epoch 970/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0982 - acc: 0.9987 - val_loss: 0.3500 - val_acc: 0.9392
Epoch 971/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0984 - acc: 0.9988 - val_loss: 0.3498 - val_acc: 0.9385
Epoch 972/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0977 - acc: 0.9991 - val_loss: 0.3492 - val_acc: 0.9385
Epoch 973/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0976 - acc: 0.9991 - val_loss: 0.3496 - val_acc: 0.9391
Epoch 974/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0982 - acc: 0.9987 - val_loss: 0.3496 - val_acc: 0.9386
Epoch 975/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0980 - acc: 0.9989 - val_loss: 0.3503 - val_acc: 0.9385
Epoch 976/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0978 - acc: 0.9990 - val_loss: 0.3510 - val_acc: 0.9384
Epoch 977/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0979 - acc: 0.9991 - val_loss: 0.3508 - val_acc: 0.9387
Epoch 978/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0982 - acc: 0.9988 - val_loss: 0.3512 - val_acc: 0.9381
Epoch 979/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0974 - acc: 0.9992 - val_loss: 0.3508 - val_acc: 0.9384
Epoch 980/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0980 - acc: 0.9987 - val_loss: 0.3509 - val_acc: 0.9380
Epoch 981/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0976 - acc: 0.9992 - val_loss: 0.3507 - val_acc: 0.9382
Epoch 982/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0977 - acc: 0.9990 - val_loss: 0.3512 - val_acc: 0.9391
Epoch 983/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0978 - acc: 0.9988 - val_loss: 0.3503 - val_acc: 0.9389
Epoch 984/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.0975 - acc: 0.9991 - val_loss: 0.3503 - val_acc: 0.9383
Epoch 985/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0977 - acc: 0.9989 - val_loss: 0.3497 - val_acc: 0.9388
Epoch 986/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0977 - acc: 0.9990 - val_loss: 0.3498 - val_acc: 0.9390
Epoch 987/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0972 - acc: 0.9992 - val_loss: 0.3502 - val_acc: 0.9382
Epoch 988/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0973 - acc: 0.9991 - val_loss: 0.3506 - val_acc: 0.9391
Epoch 989/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0977 - acc: 0.9989 - val_loss: 0.3504 - val_acc: 0.9396
Epoch 990/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0978 - acc: 0.9990 - val_loss: 0.3502 - val_acc: 0.9393
Epoch 991/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0976 - acc: 0.9988 - val_loss: 0.3501 - val_acc: 0.9391
Epoch 992/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0973 - acc: 0.9992 - val_loss: 0.3500 - val_acc: 0.9386
Epoch 993/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0970 - acc: 0.9992 - val_loss: 0.3497 - val_acc: 0.9387
Epoch 994/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0973 - acc: 0.9990 - val_loss: 0.3499 - val_acc: 0.9391
Epoch 995/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0978 - acc: 0.9988 - val_loss: 0.3500 - val_acc: 0.9397
Epoch 996/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0975 - acc: 0.9991 - val_loss: 0.3500 - val_acc: 0.9392
Epoch 997/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0975 - acc: 0.9990 - val_loss: 0.3495 - val_acc: 0.9393
Epoch 998/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.0980 - acc: 0.9988 - val_loss: 0.3498 - val_acc: 0.9386
Epoch 999/1000
500/500 [==============================] - 142s 284ms/step - loss: 0.0976 - acc: 0.9991 - val_loss: 0.3490 - val_acc: 0.9382
Epoch 1000/1000
500/500 [==============================] - 142s 285ms/step - loss: 0.0974 - acc: 0.9990 - val_loss: 0.3497 - val_acc: 0.9385
Train loss: 0.09523774388432503
Train accuracy: 0.9995200004577637
Test loss: 0.34968149244785307
Test accuracy: 0.938500000834465

准确率略有提升,但是这是以残差模块的数量翻了一倍为代价的,运算时间长了很多,似乎没有必要这么多层。

本身网络就比较复杂了,还有那么多层,也加大了训练难度。

Minghang Zhao, Shisheng Zhong, Xuyun Fu, Baoping Tang, Shaojiang Dong, Michael Pecht, Deep Residual Networks with Adaptively Parametric Rectifier Linear Units for Fault Diagnosis, IEEE Transactions on Industrial Electronics, 2020, DOI: 10.1109/TIE.2020.2972458

https://ieeexplore.ieee.org/d...
————————————————
版权声明:本文为CSDN博主「dangqing1988」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/dangqin...

这篇关于深度残差网络+自适应参数化ReLU激活函数(调参记录11)的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!