New to machine learning? Watch a video course to get practical working knowledge of ML using web technologies
View series
图像分类器迁移学习
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
在本教程中,您将学习如何使用 TensorFlow.js 构建一个自定义图像分类器,并在浏览器中对它进行快速训练。
借助迁移学习,您将用少量的训练数据创建一个高度准确的模型。您将使用一个名为 MobileNet 的预训练模型进行图像分类。在此模型的基础上,您将训练一个模型来自定义它所能识别的图像类。
本教程作为一个 Codelab 演示。点击此链接可打开 Codelab
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2021-08-16。
[null,null,["最后更新时间 (UTC):2021-08-16。"],[],[],null,["# Transfer learning image classifier\n\n\u003cbr /\u003e\n\nIn this tutorial, you will learn how to build a custom image classifier that you will train on the fly in the browser using TensorFlow.js.\n\nYou will use transfer learning to create a highly accurate model with minimal training data. You will be using a pre-trained model for image classification called MobileNet. You will train a model on top of this one to customize the image classes it recognizes.\n\nThis tutorial is presented as a codelab. [Follow this link to open the codelab](https://codelabs.developers.google.com/codelabs/tensorflowjs-teachablemachine-codelab/index.html)"]]