Error message
"WARNING:tensorflow:Early stopping conditioned on metric `val_loss` which is not available. Available metrics are: loss,mae,mse,mape"
Cause
This is normally due to the validation dataset is empty, so there is no associated val_loss for the empty validation data.