Datos de imagen de Hello: implementa un modelo en un extremo y envía una predicción
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Una vez que finalice el entrenamiento del modelo de clasificación de imágenes de AutoML, usa la consola deGoogle Cloud para crear un extremo y, luego, implementar el modelo en él. Después de implementar tu modelo en este extremo nuevo, envía una imagen al modelo para la predicción de etiquetas.
En este instructivo, se incluyen las siguientes páginas:
Seleccione su modelo de AutoML entrenado. Esta acción te llevará a la pestaña Evaluar, en la que puedes ver las métricas de rendimiento del modelo.
Elige la pestaña tabImplementar y probar.
Haz clic en Implementar en el extremo.
Elige radio_button_checkedCrear extremo nuevo, establece el nombre del extremo en hello_automl_image y, luego, haz clic en Continuar.
EnConfiguración del modelo, acepta División del tráfico de Un 100%, ingresa1 en Cantidad de nodos de procesamiento, luego haga clic en Listo.
Haz clic en Implementar para implementar tu modelo en tu extremo nuevo.
La creación del extremo y la implementación del modelo de AutoML en él tomarán varios minutos.
Envía una predicción a tu modelo
Cuando finaliza el proceso de creación del extremo, puedes enviar una solicitud de anotación de imagen (predicción) en la Google Cloud consola.
Navega a la sección “Prueba tu modelo” de la misma pestaña Implementar y probar que usaste a fin de crear un extremo en el paso anterior (Modelos > your_model > tab Implementar y probar).
Haz clic en Subir imagen, elige una imagen guardada de forma local para la predicción y observa su etiqueta de predicción.
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-09-04 (UTC)"],[],[],null,["# Hello image data: Deploy a model to an endpoint and send a prediction\n\nAfter your AutoML image classification model is done training, use the\nGoogle Cloud console to create an endpoint and deploy your model to\nthe endpoint. After your model is deployed to this new endpoint, send an image\nto the model for label prediction.\n\nThis tutorial has several pages:\n\n1. [Set up your project and environment.](/vertex-ai/docs/tutorials/image-classification-automl)\n\n2. [Create an image classification dataset, and\n import images.](/vertex-ai/docs/tutorials/image-classification-automl/dataset)\n\n3. [Train an AutoML image classification\n model.](/vertex-ai/docs/tutorials/image-classification-automl/training)\n\n4. [Evaluate and analyze model performance.](/vertex-ai/docs/tutorials/image-classification-automl/error-analysis)\n\n5. Deploy a model to an endpoint, and send a\n prediction.\n\n6. [Clean up your project.](/vertex-ai/docs/tutorials/image-classification-automl/cleanup)\n\nEach page assumes that you have already performed the instructions from the\nprevious pages of the tutorial.\n\nDeploy your model to an endpoint\n--------------------------------\n\nAccess your trained model to deploy it to a new or existing endpoint from\nthe Models page:\n\n1. In the Google Cloud console, in the Vertex AI section, go to\n the **Training** page.\n\n [Go to the Training page](https://console.cloud.google.com/vertex-ai/training)\n2. Select your trained AutoML model. This takes you to the **Evaluate** tab\n where you can view model performance metrics.\n\n3. Choose the tab **Deploy \\& test** tab.\n\n4. Click **Deploy to endpoint**.\n\n5. Choose radio_button_checked**Create new\n endpoint** , set the endpoint name to `hello_automl_image`, then click\n **Continue**.\n\n6. In **Model settings** , accept the **Traffic split** of\n **100%** , enter **1** in **Number of compute nodes** , then click **Done**.\n\n7. Click **Deploy** to deploy your model to your new endpoint.\n\nIt takes several minutes to create the endpoint and deploy the AutoML model\nto the new endpoint.\n\nSend a prediction to your model\n-------------------------------\n\nAfter the endpoint creation process finishes you can send a single image\nannotation (prediction) request in the Google Cloud console.\n\n1. Navigate to the \"Test your model\" section of the same **Deploy \\& test** tab\n you used to create an endpoint in the previous step\n (**Models \\\u003e \u003cvar translate=\"no\"\u003eyour_model\u003c/var\u003e \\\u003e tab Deploy \\& test**).\n\n2. Click **Upload image** and choose a locally saved image for prediction, and\n view its predicted label.\n\n *Image credit* : [Siming Ye, Unsplash](https://unsplash.com/photos/qE-_sYxOMa8) (*shown in UI view*).\n\nWhat's next\n-----------\n\nFollow the [last page of the tutorial](/vertex-ai/docs/tutorials/image-classification-automl/cleanup) to clean up\nresources that you have created."]]