tfjs-models

Pretrained models for TensorFlow.js

Github stars Tracking Chart

Pre-trained TensorFlow.js models

This repository hosts a set of pre-trained models that have been ported to
TensorFlow.js.

The models are hosted on NPM and unpkg so they can be used in any project out of the box. They can be used directly or used in a transfer learning
setting with TensorFlow.js.

To find out about APIs for models, look at the README in each of the respective
directories. In general, we try to hide tensors so the API can be used by
non-machine learning experts.

For those interested in contributing a model, please file a GitHub issue on tfjs to gauge
interest. We are trying to add models that complement the existing set of models
and can be used as building blocks in other apps.

Models

Development

You can run the unit tests for any of the models by running the following
inside a directory:

yarn test

New models should have a test NPM script (see this package.json and run_tests.ts helper for reference).

To run all of the tests, you can run the following command from the root of this
repo:

yarn presubmit

Main metrics

Overview
Name With Ownertensorflow/tfjs-models
Primary LanguageTypeScript
Program languageHTML (Language Count: 7)
Platform
License:Apache License 2.0
所有者活动
Created At2018-04-03 21:04:35
Pushed At2025-08-21 15:34:02
Last Commit At2024-10-24 14:51:59
Release Count110
Last Release Nameface-landmarks-detection-v1.0.6 (Posted on )
First Release Namebody-pix-v2.0.4 (Posted on )
用户参与
Stargazers Count14.7k
Watchers Count277
Fork Count4.4k
Commits Count0.9k
Has Issues Enabled
Issues Count0
Issue Open Count0
Pull Requests Count890
Pull Requests Open Count219
Pull Requests Close Count421
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private