TensorFlow in JavaScript
TensorFlow Handbook for JavaScript/TypeScript
- This repository is the JavaScript Chapter for 简单粗暴TensorFlow | A Concise Handbook of TensorFlow
- Read from this repository: https://huan.github.io/tensorflow-handbook-javascript/
TODO
- save metadata
- finish chat script
- good default super parameters
- InputLayer to use a shape as
[null]
for dynamic size
Usage
TL;DR:
npm install
npm start
1 Install
npm install
2 Train
npm run train -- --batch_size 32 --epochs 3 --latent_dim 64 --num_samples 10000 dist/
3 Chat
npm run chat
4 Web Demo
- Regression: https://huan.github.io/tensorflow-handbook-javascript/regression.html
- MobileNet: https://huan.github.io/tensorflow-handbook-javascript/mobilenet.html
TURORIAL
- 简单粗暴TensorFlow | A Concise Handbook of TensorFlow
- Machine Learning For Front-End Developers With Tensorflow.js
My Slide
Google Slide: https://docs.google.com/presentation/d/10u2hKAz4VjryCYr-oHxcxX4HzFeKOir7lq79ASV6TIA/edit?usp=sharing
My Contribution
Author
Huan (李卓桓), Google Developers Expert in Machine Learning (ML GDE), zixia@zixia.net
Copyright & License
- Code & Docs © 2019-now Huan LI (李卓桓) zixia@zixia.net
- Code released under the Apache-2.0 License
- Docs released under Creative Commons