Performing Predictions on TF2.x SavedModel

Hello,

Is there any method that allows us to feed images to a pre-trained Image Classification CNN (saved_model.pb) and have it perform predictions on those images? Similar to the ‘.predict()’ method that exists for Keras models.

Thanks,
Ahmad

1 Like

The predict method still works on TF2.x : Basic classification: Classify images of clothing  |  TensorFlow Core

There are some examples here: Image Classification with TensorFlow Hub

3 Likes

Thank you so much Gus! This was very helpful.

2 Likes