model.fit_generator(train_generator, validation_data=val_generator,
    nb_val_samples=X_val.shape[0], samples_per_epoch=X_train.shape[0],
    nb_epoch=nb_epoch, verbose=1, callbacks=[model_checkpoint, reduce_lr,
    tb], max_q_size=1000)
Keras Custom Objective requires Tensor Evaluation