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
In your mentioned Notebook Number 6 titled - LSTM_to_KNN.ipynb , the following code snippet has some error, since it expects two inputs (two text sequences, but you are providing only one input)
Saving the weights for the target and candidate products
In [ ]:
m2 = Model(inputs=siamese_lstm.input, outputs=siamese_lstm.get_layer('flatten1').output)
target_product_weights = m2.predict(target_products)
In [ ]:
m2 = Model(inputs=siamese_lstm.input, outputs=siamese_lstm.get_layer('flatten1').output)
candidate_product_weights = m2.predict(candidate_products)
Error -
ValueError: Layer model_10 expects 2 input(s), but it received 1 input tensors. Inputs received: [<tf.Tensor 'IteratorGetNext:0' shape=(None, 30) dtype=int32>]
The text was updated successfully, but these errors were encountered:
In your mentioned Notebook Number 6 titled - LSTM_to_KNN.ipynb , the following code snippet has some error, since it expects two inputs (two text sequences, but you are providing only one input)
Error -
The text was updated successfully, but these errors were encountered: