I was using the file "13.time-series-human_activity_recognition.ipynb"
And trying to convert the model to TfLite so that i can use it in Android Project am getting an exception.
Using Below code.
converter = tf.lite.TFLiteConverter.from_keras_model(model)
tflite_model = converter.convert()
# Save the model.
with open('model.tflite', 'wb') as f:
f.write(tflite_model)
If you can suggest what could be the issue.
Observe the same issue for
model.save("./")
converter = tf.lite.TFLiteConverter.from_saved_model("./")
tflite_model = converter.convert()
converter.convert() is the line which throws
I was using the file "13.time-series-human_activity_recognition.ipynb"
And trying to convert the model to TfLite so that i can use it in Android Project am getting an exception.
Using Below code.
If you can suggest what could be the issue.
Observe the same issue for
converter.convert() is the line which throws