ccckmit / tfjs-demo

Tensorflow.js example run directly in the chrome browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TensorFlow.js Examples (Simplified by ccc)

This project is modified from the Tensorflow.js examples from the following url:

https://github.com/tensorflow/tfjs-examples

Online Demo

Install & Run

No ES6 syntax preprocessing is needed. Just copy the example folder onto a server and visit http://server:port/folder/index.html by any browser that support async/await javascript syntax (Chrome 65.0.3325.181 on iMac was tested)

You may use live-server to run server on localhost as following.

$ yarn global add live-server
$ cd mnist
csienqu-teacher:mnist csienqu$ live-server
Serving ".../mnist" at http://127.0.0.1:8080
Ready for changes

Original Notice

This rentains a set of examples implemented in TensorFlow.js.pository co

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

License

/**
 * @license
 * Copyright 2018 Google LLC. All Rights Reserved.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * =============================================================================
 */

About

Tensorflow.js example run directly in the chrome browser

License:Apache License 2.0


Languages

Language:JavaScript 85.0%Language:HTML 15.0%