Image classification model deployment to GCP. Using Streamlit for interface.
- A Google Cloud account and a Google Cloud Project.
- Google Cloud SDK installed (gcloud CLI utitly)
- Trained machine learning model(s), this app will use an image classification model trained on a number of different classes of food from Food101 dataset
Warning : Google Cloud is a paid service, this may cost money, be sure to shut down any Google Cloud service you no longer need to use to avoid charges. If you don't have credits (you get $300USD when you first sign up), you will be charged. Delete and shutdown your work when finished to avoid charges.
If you go through the steps below, you should end up with a Streamlit-powered web application for classifying images of food (deployed on Google Cloud if you want).
The app running locally - uploading an image, basic foundation of app is completed.:
We're going to tackle this in 3 parts:
- Getting the app running (running Streamlit on our local machines) - Completed
- Deploying a machine learning model to AI Platform (getting Google Cloud to host one of our models)
- Deploying our app to App Engine (getting our app on the internet)
- Getting the app running
- Run app on local machine. i.e. predictions
- Train model
- Complete logger method
- Use try except for KeyError
- Deploying a machine learning model
- Deploying our app to App Engines