update links
parent
c5dbb9d4e9
commit
8baef0ef68
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue