# tensorflow/tfjs-models

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/tensorflow-tfjs-models).**

14,791 stars · 4,382 forks · TypeScript · Apache-2.0

## Links

- GitHub: https://github.com/tensorflow/tfjs-models
- Homepage: https://js.tensorflow.org
- awesome-repositories: https://awesome-repositories.com/repository/tensorflow-tfjs-models.md

## Description

This project is a collection of pre-trained machine learning models and conversion pipelines designed for running inference directly in the browser using TensorFlow.js. It provides a library of ready-to-use models for computer vision, audio classification, and natural language processing tasks.

The suite includes specialized tools for transforming Python-based Keras models into JSON formats compatible with web environments. It enables the deployment of these models by fetching architectures and weight shards via HTTP for client-side execution.

The project covers a broad range of capabilities, including image and object classification, human pose and landmark detection, and image depth estimation. It also supports text toxicity analysis, the generation of numerical embeddings for semantic similarity, and the categorization of short audio recordings and speech commands.

Additional utilities provide support for transfer-learning based classification, data preparation for multidimensional tensors, and the visualization of model behavior and training metrics.

## Tags

### Artificial Intelligence & ML

- [Browser-Based Model Libraries](https://awesome-repositories.com/f/artificial-intelligence-ml/browser-based-model-libraries.md) — Provides a comprehensive library of ready-to-use machine learning models for direct browser-side inference.
- [Browser-based Inference Engines](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/infrastructure/model-inference-serving/engines-runtimes-servers/browser-based-inference-engines.md) — Executes pre-trained machine learning models directly within web browsers using TensorFlow.js.
- [Computer Vision Models](https://awesome-repositories.com/f/artificial-intelligence-ml/computer-vision-models.md) — Offers a suite of pre-trained models for image classification, object detection, human pose tracking, and depth estimation.
- [Image Classification](https://awesome-repositories.com/f/artificial-intelligence-ml/image-classification.md) — Identifies visual labels and locates multiple objects within a frame through semantic segmentation. ([source](https://cdn.jsdelivr.net/gh/tensorflow/tfjs-models@master/README.md))
- [Web-Based Computer Vision](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/frameworks/computer-vision/web-based-computer-vision.md) — Identifies objects, detects human poses, and estimates image depth directly in a web browser.
- [Model Conversion Pipelines](https://awesome-repositories.com/f/artificial-intelligence-ml/model-conversion-pipelines.md) — Transforms Python-based Keras models into JSON formats compatible with browser-based execution.
- [Natural Language Processing](https://awesome-repositories.com/f/artificial-intelligence-ml/natural-language-processing.md) — Analyzes text for toxicity or creates numerical embeddings for similarity tasks without sending data to a server.
- [Natural Language Processing Analysis](https://awesome-repositories.com/f/artificial-intelligence-ml/natural-language-processing-analysis.md) — Evaluates text for toxicity and converts natural language into numerical embeddings for similarity analysis. ([source](https://cdn.jsdelivr.net/gh/tensorflow/tfjs-models@master/README.md))
- [Client-Side Model Loading](https://awesome-repositories.com/f/artificial-intelligence-ml/pre-trained-model-application/client-side-model-loading.md) — Enables the deployment of models by fetching architectures and weight shards via HTTP for client-side execution. ([source](https://js.tensorflow.org/tutorials/import-keras.html))
- [Depth Estimation](https://awesome-repositories.com/f/artificial-intelligence-ml/computer-vision-systems/computer-vision/object-pose-estimations/monocular-depth-estimators/multi-view-depth-estimators/depth-estimation.md) — Calculates the distance from the camera to the subject for every pixel to create 3D visual effects. ([source](https://cdn.jsdelivr.net/gh/tensorflow/tfjs-models@master/README.md))
- [ML Model Visualizations](https://awesome-repositories.com/f/artificial-intelligence-ml/ml-model-visualizations.md) — Renders training metrics and model behavior in a web interface to analyze how data is processed.
- [Weight Sharding](https://awesome-repositories.com/f/artificial-intelligence-ml/model-weight-management/weight-distribution/weight-sharding.md) — Splits large model weights into smaller binary files to optimize loading speed and memory usage during initialization.
- [Text Embeddings](https://awesome-repositories.com/f/artificial-intelligence-ml/text-embeddings.md) — Provides local generation of numerical text embeddings to determine semantic similarity without server requests.
- [Transfer Learning](https://awesome-repositories.com/f/artificial-intelligence-ml/transfer-learning.md) — Adapts pre-trained models to new categories by adding custom layers and training on smaller datasets.

### Part of an Awesome List

- [Audio Event Classification](https://awesome-repositories.com/f/awesome-lists/media/audio-and-sounds/audio-event-classification.md) — Analyzes short audio recordings and speech commands within a browser to identify spoken words or sounds.
- [Audio Classification Models](https://awesome-repositories.com/f/awesome-lists/media/audio-and-sounds/audio-event-classification/audio-classification-models.md) — Provides pre-trained neural networks that identify spoken words and categorize short audio recordings in real time.
- [Speech Command Classification](https://awesome-repositories.com/f/awesome-lists/media/audio-and-sounds/audio-event-classification/speech-command-classification.md) — Classifies short audio recordings into specific categories using speech command datasets to identify spoken words. ([source](https://cdn.jsdelivr.net/gh/tensorflow/tfjs-models@master/README.md))
- [Deep Learning Frameworks](https://awesome-repositories.com/f/awesome-lists/ai/deep-learning-frameworks.md) — Collection of pre-trained models for TensorFlow.js.

### DevOps & Infrastructure

- [Model Conversion](https://awesome-repositories.com/f/devops-infrastructure/model-conversion.md) — Converts machine learning models trained in Python into formats compatible with browser execution. ([source](https://js.tensorflow.org/tutorials/))
- [Keras](https://awesome-repositories.com/f/devops-infrastructure/model-conversion/keras.md) — Transforms Python-based Keras models into JSON formats compatible with web browsers. ([source](https://js.tensorflow.org/tutorials/import-keras.html))
- [TensorFlow](https://awesome-repositories.com/f/devops-infrastructure/model-conversion/tensorflow.md) — Converts and loads pretrained Python models into a browser for real time inference and evaluation.

### Graphics & Multimedia

- [Tensor Processing Pipelines](https://awesome-repositories.com/f/graphics-multimedia/image-processing-pipelines/tensor-processing-pipelines.md) — Transforms raw pixels or audio samples into multidimensional arrays for parallel GPU execution within the model pipeline.
- [Human Pose Detections](https://awesome-repositories.com/f/graphics-multimedia/video-frame-processing/real-time-model-inference-on-frames/human-pose-detections.md) — Tracks body positions, hand poses, and facial geometry to determine movement and surface structure in real time. ([source](https://cdn.jsdelivr.net/gh/tensorflow/tfjs-models@master/README.md))

### Programming Languages & Runtimes

- [Model Serialization](https://awesome-repositories.com/f/programming-languages-runtimes/json-serialization/model-serialization.md) — Stores model topology and weights in JSON format to enable loading over HTTP into a browser environment.
