Cannot predict the label for a single image with VGG19 in Keras
I'm using transfer learning method to use per-trained VGG19 model in Keras according to [this tutorial]( https://towardsdatascience.com/keras-transfer-learning-for-beginners-6c9b8b7143e ). It shows how to train the model but NOT how to prepare test images for the predictions. In the comments section it says: Get an image, preprocess the image using the same preprocess_image function, and call model.predict(image) . This will give you the prediction of the model on that image. Using argmax(prediction) , you can find the class to which the image belongs. I can not find a function named