def show_predictions(model, img): preds = model.predict(img) print('{}'.format(model.metrics_names[1]), 'Prediction: ', decode_predictions(preds)) return