I’ve tried everything. keep getting erros
2 things to look for:
image_shapeis a tuple containing the height and width dimensions without the channel specification. Use another variable in the same function that includes this information.
- The preprocessing function is already given to you. There’s no need to pick an irrelevant one since it doesn’t relate to the mobilenet v2 model. Here’s what the starter code contains:
preprocess_input = tf.keras.applications.mobilenet_v2.preprocess_input
Don’t forget to remove code from your previous post. You can leave the stacktrace around.
Alright. Done. Thank you