From 899b70ac374fabbd360af42e8068b540ecec0d45 Mon Sep 17 00:00:00 2001 From: hideya kawahara Date: Fri, 11 May 2018 19:04:00 +0900 Subject: [PATCH 1/2] minor fixes in readme --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 429ac17..4d45992 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ 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; @@ -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`). @@ -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: @@ -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. From 548ba207b8f66e365bdfb3243767b2347cfd3efb Mon Sep 17 00:00:00 2001 From: hideya kawahara Date: Fri, 11 May 2018 19:16:26 +0900 Subject: [PATCH 2/2] fix the QR code's position --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4d45992..d4901bb 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ 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