update links

pull/115/head
Vladimir Mandic 2022-07-25 08:38:52 -04:00
parent c5dbb9d4e9
commit 8baef0ef68
2 changed files with 2 additions and 2 deletions

View File

@ -443,7 +443,7 @@ Build process uses `@vladmandic/build` module that creates optimized build for e
This is updated **face-api.js** with latest available TensorFlow/JS as the original is not compatible with **tfjs 2.0+**.
Forked from [face-api.js](https://github.com/justadudewhohacks/face-api.js) version **0.22.2** which was released on March 22nd, 2020
Currently using **`TensorFlow/JS` 3.17.0**
Currently using **`TensorFlow/JS` 3.19.0**
*Why?* I needed FaceAPI that does not cause version conflict with newer versions of TensorFlow
And since original FaceAPI was open-source, I've released this version as well

View File

@ -108,7 +108,7 @@ async function main() {
const params = new URLSearchParams(location.search);
if (params.has('backend')) {
const backend = params.get('backend');
await faceapi.tf.setWasmPaths('https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-backend-wasm@3.17.0/dist/');
await faceapi.tf.setWasmPaths('https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-backend-wasm@3.19.0/dist/');
log(`Chosen backend: ${backend}`);
await faceapi.tf.setBackend(backend);
} else {