Skip to content

Commit

Permalink
Merge pull request #1 from hideya/develop
Browse files Browse the repository at this point in the history
lgtm
  • Loading branch information
hideya authored May 11, 2018
2 parents 7d54cca + 548ba20 commit 881d93b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ It loads a pre-trained CNN model that was converted to TensorFlow.js format
by [tfjs-converter](https://github.com/tensorflow/tfjs-converter).
The training code is shared at: https://github.com/maru-labo/doodle
(actually this repo is a temporal copy of
[this example in the above repo](https://github.com/maru-labo/doodle/tree/master/examples/tensorflow_js_simple))
[this example in the repo](https://github.com/maru-labo/doodle/tree/master/examples/tensorflow_js_simple))

It runs on reasonably new Chrome, Safari, Firefox, Mobile Safari and Android Chrome
(not on Edge nor IE. Safari and Mobile Safari have a start up issue;
takes a long time until getting ready, but work OK once started).

You can try it out at: https://tfjs-doodle-recognition-pwa.netlify.com/

![Screenshot](https://i.imgur.com/G6g18ap.png)
![Screenshot](https://i.imgur.com/G6g18ap.png)![QR code](https://i.imgur.com/XOQIx5W.png)

### Building and Running

Expand All @@ -29,7 +29,7 @@ yarn # Installs dependencies.
yarn start # Starts a web server and opens a page. Also watches for changes.
```

After `$ yarn build`, `public` directory holds the deployable files.
After `yarn build`, `public` directory holds the deployable files.
Note that those files need to be served via **https** to enable PWA features
(unless they are served from `localhost`).

Expand All @@ -45,7 +45,7 @@ for details including the other aspects of debugging PWA and Service Workers.
### Updating Pre-trained Model Data

For the convenience, this example includes a pre-trained model files
under `public/saved_model_js` (the model is of
under `public/saved_model_js` (the original model is of
[this .tar.gz file](https://github.com/maru-labo/doodle/releases/download/v1.0.0/model.tar.gz)).
The following steps illustrate how to update those model files:

Expand All @@ -61,7 +61,7 @@ The following steps illustrate how to update those model files:
[SavedModel CLI](https://www.tensorflow.org/versions/r1.2/programmers_guide/saved_model_cli)
and
[tfjs-converter](https://github.com/tensorflow/tfjs-converter)
are need to be installed to move forward.
need to be installed to move forward.

```bash
# This is an example; update the command lines as needed.
Expand Down

0 comments on commit 881d93b

Please sign in to comment.