Welcome back.
We succeeded in getting the predicted MPG for the new car.
Now let's export the model to Android Lite format.
We are ready to export and use it in Android.
So as we did before, let's start with converter from the TF TensorFlow Lite library.
Dot Lite converter from Keras model and we pass that trained model.
Then we need to use TF Lite model equals to converter dot.
Convert and save the model using with open model.
Let me name it as car mpg prediction model wb as f f dot write tf lite model.
Let me run.
And here we go.
Let me see inside this function this folder if there is a file called car MPG prediction.
Here we go.
Congratulations guys.
Everything worked fine.
This is how we export the model to Android and you can download it to your PC.
There we go.
Let's use this model in Android Studio.