https://github.com/huan/tensorflow-handbook-javascript
TensorFlow Handbook for JavaScript/TypeScript
https://github.com/huan/tensorflow-handbook-javascript
javascript tensorflow tfjs
Last synced: about 1 year ago
JSON representation
TensorFlow Handbook for JavaScript/TypeScript
- Host: GitHub
- URL: https://github.com/huan/tensorflow-handbook-javascript
- Owner: huan
- License: apache-2.0
- Created: 2019-03-05T15:14:13.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-11-16T06:54:24.000Z (over 2 years ago)
- Last Synced: 2025-03-12T05:03:04.325Z (over 1 year ago)
- Topics: javascript, tensorflow, tfjs
- Language: TypeScript
- Homepage: http://tfjs.ml
- Size: 1.26 MB
- Stars: 19
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TensorFlow in JavaScript

TensorFlow Handbook for JavaScript/TypeScript
- This repository is the [JavaScript Chapter](https://tf.wiki/zh/deployment/javascript.html) for [简单粗暴TensorFlow | A Concise Handbook of TensorFlow](https://tf.wiki)
- Read from this repository:
## TODO
- [ ] save metadata
- [ ] finish chat script
- [ ] good default super parameters
- [ ] InputLayer to use a shape as `[null]` for dynamic size
## Usage
TL;DR:
```shell
npm install
npm start
```
### 1 Install
```shell
npm install
```
### 2 Train
```shell
npm run train -- --batch_size 32 --epochs 3 --latent_dim 64 --num_samples 10000 dist/
```
### 3 Chat
```shell
npm run chat
```
### 4 Web Demo
1. Regression:
1. MobileNet:
## TURORIAL
- [简单粗暴TensorFlow | A Concise Handbook of TensorFlow](https://tf.wiki)
- [Machine Learning For Front-End Developers With Tensorflow.js](https://www.smashingmagazine.com/2019/09/machine-learning-front-end-developers-tensorflowjs/)
## My Slide
[](https://docs.google.com/presentation/d/10u2hKAz4VjryCYr-oHxcxX4HzFeKOir7lq79ASV6TIA/edit?usp=sharing)
> Google Slide:
## My Contribution
- [TensorFlow.js Example: Sequence-to-Sequence English-French Translation](https://github.com/tensorflow/tfjs-examples/blob/master/translation/translation.ts)
- [PR#243: Add native JavaScript(TypeScript) to replace translation.py](https://github.com/tensorflow/tfjs-examples/pull/243)
## Author
[Huan](https://github.com/huan) [(李卓桓)](http://linkedin.com/in/zixia), Google Developers Expert in Machine Learning (ML GDE),
[](https://stackoverflow.com/users/1123955/huan)
## Copyright & License
- Code & Docs © 2019-now Huan LI (李卓桓)
- Code released under the Apache-2.0 License
- Docs released under Creative Commons