Examples built with TensorFlow.js
TensorFlow.js Examples
This repository contains a set of examples implemented inTensorFlow.js.
Each example directory is completely standalone so you can copy the directoryto another project.
How to build an example
To build an example, first cd
into the directory and run yarn
to installthe dependencies of the example, and yarn watch
to build it, for example:
shcd mnist-coreyarnyarn watch
Details
The convention is that each example contains two scripts:
yarn watch
: starts a local development HTTP server which watches thefilesystem for changes so you can edit the code (JS or HTML) and immediatelysee changes when you refresh the page.
yarn build
: generates a dist/
folder which contains the build artifacts andcan be used for deployment.
Contributing
If you want to contribute an example, please reach out to us onGithub issuesbefore sending us a pull request as we are trying to keep this set of examplessmall and highly curated.
To restore the repository download the bundle
wget https://archive.org/download/github.com-tensorflow-tfjs-examples_-_2018-04-01_16-57-06/tensorflow-tfjs-examples_-_2018-04-01_16-57-06.bundle
and run:
git clone tensorflow-tfjs-examples_-_2018-04-01_16-57-06.bundle
Source:
https://github.com/tensorflow/tfjs-examplesUploader:
tensorflowUpload date: 2018-04-01