Have a question? Connect with the community at the TensorFlow Forum Visit Forum

演示

查看使用 TensorFlow.js 构建的示例和在线演示。

LipSync by YouTube

查看您与流行歌曲《Dance Monkey》的歌词同步程度。此浏览器体验使用 Facemesh 模型估算嘴唇周围的关键点,并对口型同步的准确性打分。

Emoji Scavenger Hunt

使用手机摄像头识别现实世界中的表情符号。您能在时间结束前找到所有的表情符号吗?

网络摄像头控制器

在浏览器中使用训练过的图像玩《吃豆人》游戏。

会学习的机器

无需编码!教机器识别图像和播放声音。

Move Mirror

只需四处走动,就能以有趣的新方式探索照片。

性能 RNN

欣赏神经网络的现场钢琴演奏。

Node.js 音高预测

使用 Node.js 训练一个服务器端模型以对棒球投掷类型进行分类。

可视化模型训练

了解如何使用 tfjs-vis 可视化浏览器内训练过程以及模型的行为和训练过程。

社区演示

开始使用官方模板,并探索社区的热门精选以寻求灵感。

Glitch  

访问 Glitch 社区,构建自己的由 TensorFlow.js 强力驱动的项目。

Codepen  

创建样板模板分支并检出社区中的有用示例。

GitHub 社区项目  

查看由社区创作并提交到 TensorFlow.js 图库页面的内容。

Learn the latest on new projects created with TensorFlow.js and share your own by using the hashtag!

Example Input data type Task type Model type Training environment Inference environment API type Demo
abalone-node Numeric Loading data from local file and training in Node.js Multilayer perceptron Node.js Node.js Layers No demo
addition-rnn Text Sequence-to-sequence RNN: SimpleRNN, GRU and LSTM Browser Browser Layers View Demo  
addition-rnn-webworker Text Sequence-to-sequence RNN: SimpleRNN, GRU and LSTM Browser: Web Worker Browser: Web Worker Layers No demo
baseball-node Numeric Multiclass classification Multilayer perceptron Node.js Node.js Layers No demo
boston-housing Numeric Regression Multilayer perceptron Browser Browser Layers View Demo  
cart-pole Reinforcement learning Policy gradient Browser Browser Layers View Demo  
chrome-extension Image (Deploying TF.js in Chrome extension) Convolutional neural network Browser No demo
custom-layer (Defining a custom Layer subtype) Browser Layers View Demo  
data-csv Building a tf.data.Dataset from a remote CSV View Demo  
data-generator Building a tf.data.Dataset using a generator Regression Browser Browser Layers View Demo  
date-conversion-attention Text Text-to-text conversion Attention mechanism, RNN Node.js Browser and Node.js Layers View Demo  
electron Image (Deploying TF.js in Electron-based desktop apps) Convolutional neural network Node.js No demo
fashion-mnist-vae Image Generative Variational autoencoder Node.js Browser Layers No demo
iris Numeric Multiclass classification Multilayer perceptron Browser Browser Layers View Demo  
iris-fitDataset Sequence-to-sequence Multiclass classification Multilayer perceptron Browser Browser Layers View Demo  
jena-weather Text Sequence-to-prediction MLP and RNNs Browser and Node.js Browser Layers View Demo  
lstm-text-generation Image Sequence-to-prediction RNN: LSTM Browser Browser Layers View Demo  
mnist Image Multiclass classification Convolutional neural network Browser Browser Layers View Demo  
mnist-acgan Image Generative adversarial network Convolutional neural network; GAN Node.js Browser Layers View Demo  
mnist-core Image Multiclass classification Convolutional neural network Browser Browser Core (Ops) View Demo  
mnist-node Image Multiclass classification Convolutional neural network Node.js Node.js Layers No demo
mnist-transfer-cnn Image Multiclass classification (transfer learning) Convolutional neural network Browser Browser Layers No demo
mobilenet Image Multiclass classification Convolutional neural network Browser Layers View Demo  
polynomial-regression Numeric Regression Shallow neural network Browser Browser Layers View Demo  
polynomial-regression-core Numeric Regression Shallow neural network Browser Browser Core (Ops) View Demo  
quantization Various Demonstrates the effect of post-training weight quantization Various Node.js Node.js Layers No demo
sentiment Text Sequence-to-binary-prediction LSTM, 1D ConvNet Node.js Node.js or Python Layers View Demo  
simple-object-detection Image 对象检测 Convolutional neural network (transfer learning) Node.js Browser Layers View Demo  
snake-dqn 对象检测 Deep Q-Network Node.js Browser Layers View Demo  
translation Text Sequence-to-sequence LSTM encoder and decoder Node.js or Python Browser Layers View Demo  
tsne-mnist-canvas Dimension reduction and data visualization tSNE Browser Browser Core (Ops) No demo
webcam-transfer-learning Image Multiclass classification (transfer learning) Convolutional neural network Browser Browser Layers View Demo  
website-phishing Numeric Binary classification Multilayer perceptron Browser Browser Layers View Demo