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 use the packages to correctly train a model, now the question is how can I use the trained model to make predictions? I give the input of my training and testing sets as an array of lists of strings:
test_x = ['cat fat hat', 'lorem ipsum pretorium', ... ,'this is a list']
The Dataset routine essentially also creates numpy arrays of the lists of strings. Thus it should work with similar lists of arrays? I tried to use the model.predist(test_x), but I get a returned an error of:
Error when checking input: expected input_4 to have 3 dimensions, but got array with shape (20000, 1)
Any advice?
The text was updated successfully, but these errors were encountered:
Hi,
I use the packages to correctly train a model, now the question is how can I use the trained model to make predictions? I give the input of my training and testing sets as an array of lists of strings:
test_x = ['cat fat hat', 'lorem ipsum pretorium', ... ,'this is a list']
The Dataset routine essentially also creates numpy arrays of the lists of strings. Thus it should work with similar lists of arrays? I tried to use the model.predist(test_x), but I get a returned an error of:
Any advice?
The text was updated successfully, but these errors were encountered: