New to machine learning? Watch a video course to get practical working knowledge of ML using web technologies
View series
音频识别器迁移学习
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
在本教程中,您将学习如何构建一个自定义音频分类器并使用 TensorFlow.js 在浏览器中进行训练。您将使用它通过发出声音来控制浏览器中的滑块。
您将使用迁移学习构建一个模型,并使用相对较少的训练数据对短声音进行分类。您将会使用预训练模型进行语音命令识别。您将基于这个模型训练一个新模型来识别您自己的自定义声音类。
本教程作为一个 Codelab 演示。点击此链接可打开 Codelab
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2021-08-16。
[null,null,["最后更新时间 (UTC):2021-08-16。"],[],[],null,["# Transfer learning audio recognizer\n\n\u003cbr /\u003e\n\nIn this tutorial, you will learn how to build a custom audio classifier that you will train in the browser using TensorFlow.js. You will use it to control a slider in the browser by making sounds.\n\nYou will use transfer learning to make a model that classifies short sounds with relatively little training data. You will be using a pre-trained model for [speech command recognition](https://github.com/tensorflow/tfjs-models/tree/master/speech-commands). You will train a new model on top of this model to recognize your own custom sound classes.\n\nThis tutorial is presented as a codelab. [Follow this link to open the codelab](https://codelabs.developers.google.com/codelabs/tensorflowjs-audio-codelab/index.html)"]]