GithubHelp home page GithubHelp logo

rakesh-mohanta / tfjs-examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tensorflow/tfjs-examples

0.0 3.0 0.0 9.4 MB

Examples built with TensorFlow.js

Home Page: https://js.tensorflow.org/

License: Apache License 2.0

HTML 6.85% JavaScript 30.31% Shell 1.89% TypeScript 2.53% Vue 0.21% Python 4.93% CSS 53.27%

tfjs-examples's Introduction

TensorFlow.js Examples

This repository contains a set of examples implemented in TensorFlow.js.

Each example directory is standalone so the directory can be copied to another project.

Overview of Examples

Example name Demo link Input data type Task type Model type Training Inference API type Save-load operations
addition-rnn ๐Ÿ”— Text Sequence-to-sequence RNN: SimpleRNN, GRU and LSTM Browser Browser Layers
baseball-node Numeric Multiclass classification Multilayer perceptron Node.js Node.js Layers
boston-housing ๐Ÿ”— Numeric Regression Multilayer perceptron Browser Browser Layers
cart-pole ๐Ÿ”— Reinforcement learning Policy gradient Browser Browser Layers IndexedDB
custom-layer ๐Ÿ”— (Illustrates how to define and use a custom Layer subtype) Browser Layers
iris ๐Ÿ”— Numeric Multiclass classification Multilayer perceptron Browser Browser Layers
lstm-text-generation ๐Ÿ”— Text Sequent-to-prediction RNN: LSTM Browser Browser Layers IndexedDB
mnist ๐Ÿ”— Image Multiclass classification Convolutional neural network Browser Browser Layers
mnist-core ๐Ÿ”— Image Multiclass classification Convolutional neural network Browser Browser Core (Ops)
mnist-node Image Multiclass classification Convolutional neural network Node.js Node.js Layers Saving to filesystem
mnist-transfer-cnn ๐Ÿ”— Image Multiclass classification (transfer learning) Convolutional neural network Browser Browser Layers Loading pretrained model
mobilenet ๐Ÿ”— Image Multiclass classification Convolutional neural network Browser Layers Loading pretrained model
polynomial-regression ๐Ÿ”— Numeric Regression Shallow neural network Browser Browser Layers
polynomial-regression-core ๐Ÿ”— Numeric Regression Shallow neural network Browser Browser Core (Ops)
sentiment ๐Ÿ”— Text Sequence-to-regression LSTM, 1D convnet Browser Layers Loading model converted from Keras
simple-object-detection ๐Ÿ”— Image Object detection Convolutional neural network (transfer learning) Node.js Browser Layers Save a trained model from tfjs-node and load it in the browser
translation ๐Ÿ”— Text Sequence-to-sequence LSTM encoder and decoder Browser Layers Loading model converted from Keras
tsne-mnist-canvas Dimension reduction and data visualization tSNE Browser Browser Core (Ops)
webcam-transfer-learning ๐Ÿ”— Image Multiclass classification (transfer learning) Convolutional neural network Browser Browser Layers Loading pretrained model
website-phishing ๐Ÿ”— Numeric Binary classification Multilayer perceptron Browser Browser Layers

Dependencies

Except for getting_started, all the examples require the following dependencies to be installed.

How to build an example

cd into the directory

If you are using yarn:

cd mnist-core
yarn
yarn watch

If you are using npm:

cd mnist-core
npm install
npm run watch

Details

The convention is that each example contains two scripts:

  • yarn watch or npm run watch: starts a local development HTTP server which watches the filesystem for changes so you can edit the code (JS or HTML) and see changes when you refresh the page immediately.

  • yarn build or npm run build: generates a dist/ folder which contains the build artifacts and can be used for deployment.

Contributing

If you want to contribute an example, please reach out to us on Github issues before sending us a pull request as we are trying to keep this set of examples small and highly curated.

tfjs-examples's People

Contributors

bileschi avatar brannondorsey avatar caisq avatar darrengarvey avatar davidsoergel avatar dsmilkov avatar fil avatar fraserxu avatar gzupark avatar hereismari avatar hideya avatar jimbojw avatar jwc1 avatar kittinan avatar ksachdeva avatar litee avatar loretoparisi avatar manrajgrover avatar mgechev avatar mohan-chinnappan-n avatar nkreeger avatar pranayaryal avatar tafsiri avatar tristansokol avatar xam-ps avatar yanceyou avatar

Watchers

 avatar  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.