diff --git a/body-pix/README.md b/body-pix/README.md index bbc80c6fd1..ffde85cbb1 100644 --- a/body-pix/README.md +++ b/body-pix/README.md @@ -17,8 +17,8 @@ To keep track of issues we use the [tensorflow/tfjs](https://github.com/tensorfl You can use this as standalone es5 bundle like this: ```html - - + + ``` Or you can install it via npm for use in a TypeScript / ES6 project. @@ -81,9 +81,9 @@ An object containing a width, height, and a binary array with 1 for the pixels t - + - + @@ -201,9 +201,9 @@ An object containing a width, height, and an array with a part id from 0-24 for - + - + diff --git a/toxicity/README.md b/toxicity/README.md index e381d0bb85..95d49a2699 100644 --- a/toxicity/README.md +++ b/toxicity/README.md @@ -47,7 +47,8 @@ toxicity.load(threshold).then(model => { model.classify(sentences).then(predictions => { // `predictions` is an array of objects, one for each prediction head, // that contains the raw probabilities for each input along with the - // final prediction boolean given the threshold. + // final prediction in `match` (either `true` or `false`). + // If neither prediction exceeds the threshold, `match` is `null`. console.log(predictions); /* diff --git a/toxicity/images/demo.jpg b/toxicity/images/demo.jpg index 416e469a77..bb13bccaba 100644 Binary files a/toxicity/images/demo.jpg and b/toxicity/images/demo.jpg differ