Git Product home page Git Product logo

tfjs-models's Introduction

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 intested 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

Image

Audio

General utilities

  • KNN Classifier - Create a custom k-nearest neighbors classifier. Can be used for transfer learning.
    • npm i @tensorflow-models/knn-classifier

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.

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

yarn presubmit

tfjs-models's People

Contributors

oveddan avatar caisq avatar annxingyuan avatar dsmilkov avatar pyu10055 avatar mbostock avatar pvaneck avatar mrrefactoring avatar tylerzhu-github avatar tafsiri avatar mgechev avatar paulvollmer avatar rajraj avatar ralscha avatar raymondr avatar sosunnyproject avatar steren avatar code945 avatar hrldcpr avatar ooookai avatar iloahz avatar lassse avatar khempenius avatar halfdanj avatar hpssjellis avatar irealva avatar fraserxu avatar emilysimonton avatar theunreal avatar ddnn55 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.