You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have added an additional save model (saves full state) onto the train_frcnn.py: model_all.save("my_model.h5").
I have changed the input image size to 1024x1025 for my own dataset.
I have the loaded the saved model and want to make predictions using loaded_model.predict().
Has anymore tried doing anything similar? because I am getting the following error:
ValueError: The model expects 2 input arrays, but only received one array. Found: array with shape (1024, 1024, 3)
I ran the following command after changing the input image to numpy.array:
loaded_model.predict(img_array)
The text was updated successfully, but these errors were encountered:
Hi
I have added an additional save model (saves full state) onto the train_frcnn.py: model_all.save("my_model.h5").
I have changed the input image size to 1024x1025 for my own dataset.
I have the loaded the saved model and want to make predictions using loaded_model.predict().
Has anymore tried doing anything similar? because I am getting the following error:
ValueError: The model expects 2 input arrays, but only received one array. Found: array with shape (1024, 1024, 3)
I ran the following command after changing the input image to numpy.array:
loaded_model.predict(img_array)
The text was updated successfully, but these errors were encountered: