Hello image data: Deploy a model to an endpoint and send a prediction
Stay organized with collections
Save and categorize content based on your preferences.
After your AutoML image classification model is done training, use the
Google Cloud console to create an endpoint and deploy your model to
the endpoint. After your model is deployed to this new endpoint, send an image
to the model for label prediction.
Select your trained AutoML model. This takes you to the Evaluate tab
where you can view model performance metrics.
Choose the tabDeploy & test tab.
Click Deploy to endpoint.
Choose radio_button_checkedCreate new
endpoint, set the endpoint name to hello_automl_image, then click
Continue.
In Model settings, accept the Traffic split of
100%, enter 1 in Number of compute nodes, then click Done.
Click Deploy to deploy your model to your new endpoint.
It takes several minutes to create the endpoint and deploy the AutoML model
to the new endpoint.
Send a prediction to your model
After the endpoint creation process finishes you can send a single image
annotation (prediction) request in the Google Cloud console.
Navigate to the "Test your model" section of the same Deploy & test tab
you used to create an endpoint in the previous step
(Models > your_model > tab Deploy & test).
Click Upload image and choose a locally saved image for prediction, and
view its predicted label.
Image prediction in UI
Image credit:
Siming Ye, Unsplash (shown in UI view).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025年10月13日 UTC."],[],[]]