Chaitu28:

The default input size that resnet50 takes is 224*224


Hi @Chaitu28 On the ResNet-50 TF Hub page 3 it says:


m = tf.keras.Sequential([ 

hub.KerasLayer("https://tfhub.dev/tensorflow/resnet_50/classification/1")])
m.build([None, 224, 224, 3])  # Batch input shape.

… For this model, the size of the input images is fixed to height x width = 224 x 224 pixels.

So, is your question about how to customize the input shape for the SavedModel of ResNet-50 on TF Hub by any chance?