Tag: #tensorflow
How to export a model for TensorFlow.js
Exporting a TensorFlow model, converting it to the TensorFlow.js format, and running it in the browser with interactive input. 2021-03-09
TensorFlow 2 ‘hello world’
A TensorFlow 2 program that learns the cost per gram of chocolate by training a linear model on example chocolate bar weights and prices. 2021-02-17
How to run a pre-trained model in TensorFlow.js
Load the model, convert the input to a tensor, preprocess the tensor to match the model’s expected format, run inference with
.predict()
, and decode the prediction tensor. 2021-02-15BlazeFace hello world
A demo that uses the BlazeFace model from TensorFlow.js to detect faces in a webcam stream, and draws the detected landmarks on the video. 2020-09-21
All content copyright James Fisher.