- Install dependencies
pip install -r requirements.txt
- Run training script to generate the Tensorflow model, and convert it to Tensorflow JS.
python hello_tensorflow.py
-
Install Node.js: https://nodejs.org/en/
-
Install Yarn: https://classic.yarnpkg.com/en/docs/install#windows-stable
-
Install dependencies
cd hello_tensorflow_app
yarn install
- Run node app
cd hello_tensorflow_app
node app.js
- Go to http://localhost:3000