This is the ninth post in my series around training and running Cloud AutoML models on the edge. This post follows up from the post earlier on training a multi-label image classification model and covers how to run the trained model in a python environment.

Series Pit Stops

Step 1: Exporting the trained model

Once a model has finished training, you can head over to Google Cloud and export the model to use it locally. You can do so by navigating to the “Test and Use” section of the dataset and choosing the option to export to a Docker container:

Image for post

Doing so will result in a .pb file that you can download and use locally.

Name the downloaded file as saved_model.pb and move it into a folder. We’ll be needing this folder later on.

#heartbeat #python #machine-learning #google-cloud-platform #image-classification

Using Google Cloud AutoML Multi-Label Image Classification Models in Python
5.80 GEEK