score, acc =model.evaluate_generator(test_datagen,steps=10, verbose=0)
print('Test loss:', score)
print('Test accuracy:',acc)
training_loss= history.history['loss']
val_loss= history.history['val_loss']
training_acc= history.history['acc']
val_acc= history.history['val_acc']
epochs=range(len(training_acc))