keras-yolo3 icon indicating copy to clipboard operation
keras-yolo3 copied to clipboard

Predict on image

Open MenshovSergey opened this issue 5 years ago • 2 comments

I am training keras model, save weights. After i run create_model(input_shape, anchors, num_classes, load_pretrained=False, freeze_body=2, weights_path='model_data/yolo_weights.h5'):

After this i have pre trained model, and want run on new img. But get error alueError: Error when checking model : the list of Numpy arrays that you are passing to your model is not the size the model expected. Expected to see 4 array(s), but instead got the following list of 1 arrays:

MenshovSergey avatar May 31 '19 09:05 MenshovSergey

Same, I am having the same issue. @MenshovSergey have you found a solution?

mmillendorf avatar Dec 13 '19 16:12 mmillendorf

Im facing the same problem. Do u have any solution ?

mim201820 avatar Apr 27 '21 08:04 mim201820