本教程将引导您完成在 Google Cloud 控制台中训练图片分类模型并从该模型获取预测结果所需的步骤。
本教程是“Hello 自定义训练”教程的一部分,该教程介绍了如何使用 Vertex AI 训练图片分类模型并使用模型执行预测。在本教程中,您将使用 Vertex AI 的自定义训练功能在 Vertex AI 的预构建容器环境中运行 TensorFlow Keras 训练应用。此自定义训练作业将训练一个机器学习模型,以根据花卉类型对花卉图片进行分类。训练机器学习模型后,本教程将介绍如何创建端点,并从该端点向 Web 应用提供预测结果。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-09-04。"],[],[],null,["# Hello image data\n\nThis tutorial walks you through the required steps to train and get predictions\nfrom your image classification model in the Google Cloud console.\n\nThis tutorial is part of the \"Hello custom training\" tutorial, which walks you\nthrough using Vertex AI to train an image classification model and\nserve predictions using the model. In this tutorial, you use\nVertex AI's *custom training* feature to run a TensorFlow Keras\ntraining application in one of Vertex AI's prebuilt container\nenvironments. This custom training job trains a machine learning (ML) model to\nclassify images of flowers by their type. After you train the ML model, the\ntutorial shows you how to create an endpoint and serve predictions from that\nendpoint to a web app.\n\nTutorial pages\n--------------\n\nThis tutorial has several pages:\n\n1. [Setting up your project and environment](/vertex-ai/docs/tutorials/image-classification-custom).\n2. [Training a custom image classification model](/vertex-ai/docs/tutorials/image-classification-custom/training).\n3. [Serving predictions from a custom image classification mode](/vertex-ai/docs/tutorials/image-classification-custom/serving).\n4. [Cleaning up your project](/vertex-ai/docs/tutorials/image-classification-custom/cleanup).\n\nTo complete this tutorial, you can either follow the instructions in the\nfollowing pages or use the in-console walkthrough tutorial, which is a similar\ntutorial in the Google Cloud console.\n\nIn-console walkthrough tutorial\n-------------------------------\n\nIn this tutorial, you'll learn how to build a multi-label image classification\nmodel using Google's AutoML technology. This tutorial is available in the\nGoogle Cloud console.\n\n*** ** * ** ***\n\nTo follow step-by-step guidance for this task directly in the\nGoogle Cloud console, click **Guide me**:\n\n[Guide me](https://console.cloud.google.com/freetrial?redirectPath=/?walkthrough_id=vertex_image_classification_part1)\n\n*** ** * ** ***"]]