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
Hello ypwhs,
On the ctc code you are creating a model called model: model = Model(input=[input_tensor, labels, input_length, label_length], output=[loss_out])
And that is the one you train, but when you make the prediction you use a the model called base_model. y_pred = base_model.predict(X_test)
Why is that? Is it correct?
Shouldn't you use model.predict? If yes, what would be a correct way to call it, since is waiting for 4 parameters, what should it be sent on "labels", "input_length" and "label_length".
Thank you.
The text was updated successfully, but these errors were encountered:
Hello ypwhs,
On the ctc code you are creating a model called model:
model = Model(input=[input_tensor, labels, input_length, label_length], output=[loss_out])
And that is the one you train, but when you make the prediction you use a the model called base_model.
y_pred = base_model.predict(X_test)
Why is that? Is it correct?
Shouldn't you use
model.predict
? If yes, what would be a correct way to call it, since is waiting for 4 parameters, what should it be sent on "labels", "input_length" and "label_length".Thank you.
The text was updated successfully, but these errors were encountered: