Hi,
i created my model with tensorflow and i tryed it with this
txt = ["I love a cat]
seq = tokenizer.texts_to_sequences(txt)
padded = pad_sequences(seq, maxlen=max_length)
pred = model.predict(padded)
print(labels[np.argmax(pred)-1])
and the result is goog, so now i want to try this model on my android app.
how can I pass the string to the model and do the same evaluation written above?
when i export on tflite file, the model with this commands
converter = tf.lite.TFLiteConverter.from_keras_model(model)
tflite_model = converter.convert()
i can’t determine string type input.
do you have any ideas?
thanks a lot
Simone