update wasm to tfjs 3.7.0

pull/134/head
Vladimir Mandic 2021-06-06 12:58:06 -04:00
parent b022c10cc1
commit ffa5e38d25
12 changed files with 529 additions and 567 deletions

View File

@ -11,6 +11,8 @@ Repository: **<git+https://github.com/vladmandic/human.git>**
### **HEAD -> main** 2021/06/05 mandic00@live.com
- modularize build platform
- enable body segmentation and background replacement in demo
- minor git corruption
- unified build
- enable body segmentation and background replacement

View File

@ -30,7 +30,7 @@ let human;
let userConfig = {
warmup: 'none',
backend: 'humangl',
wasmPath: 'https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-backend-wasm@3.6.0/dist/',
wasmPath: 'https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-backend-wasm@3.7.0/dist/',
/*
async: false,
cacheSensitivity: 0,
@ -255,7 +255,7 @@ async function drawResults(input) {
const processing = result.canvas ? `processing: ${result.canvas.width} x ${result.canvas.height}` : '';
const avgDetect = ui.detectFPS.length > 0 ? Math.trunc(10 * ui.detectFPS.reduce((a, b) => a + b, 0) / ui.detectFPS.length) / 10 : 0;
const avgDraw = ui.drawFPS.length > 0 ? Math.trunc(10 * ui.drawFPS.reduce((a, b) => a + b, 0) / ui.drawFPS.length) / 10 : 0;
const warning = (ui.detectFPS.length > 5) && (avgDetect < 5) ? '<font color="lightcoral">warning: your performance is low: try switching to higher performance backend, lowering resolution or disabling some models</font>' : '';
const warning = (ui.detectFPS.length > 5) && (avgDetect < 2) ? '<font color="lightcoral">warning: your performance is low: try switching to higher performance backend, lowering resolution or disabling some models</font>' : '';
const fps = avgDetect > 0 ? `FPS process:${avgDetect} refresh:${avgDraw}` : '';
document.getElementById('log').innerHTML = `
video: ${ui.camera.name} | facing: ${ui.camera.facing} | screen: ${window.innerWidth} x ${window.innerHeight} camera: ${ui.camera.width} x ${ui.camera.height} ${processing}<br>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

306
dist/tfjs.esm.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -143,6 +143,7 @@ const targets = {
entryPoints: ['src/tfjs/tf-browser.ts'],
outfile: 'dist/tfjs.esm.js',
external: ['fs', 'buffer', 'util', 'os'],
treeShaking: 'ignore-annotations',
sourcemap: true,
},
iife: {

View File

@ -1,21 +1,21 @@
2021-06-05 17:46:21 INFO:  @vladmandic/human version 2.0.0
2021-06-05 17:46:21 INFO:  User: vlado Platform: linux Arch: x64 Node: v16.0.0
2021-06-05 17:46:21 INFO:  Toolchain: tfjs: 3.7.0 esbuild 0.12.6; typescript 4.2.4; typedoc: 0.20.36 eslint: 7.27.0
2021-06-05 17:46:21 INFO:  Build: file startup all type: production config: {"minifyWhitespace":true,"minifyIdentifiers":true,"minifySyntax":true}
2021-06-05 17:46:21 STATE: target: node type: tfjs: {"imports":1,"importBytes":102,"outputBytes":1307,"outputFiles":"dist/tfjs.esm.js"}
2021-06-05 17:46:21 STATE: target: node type: node: {"imports":41,"importBytes":430438,"outputBytes":376423,"outputFiles":"dist/human.node.js"}
2021-06-05 17:46:21 STATE: target: nodeGPU type: tfjs: {"imports":1,"importBytes":110,"outputBytes":1315,"outputFiles":"dist/tfjs.esm.js"}
2021-06-05 17:46:21 STATE: target: nodeGPU type: node: {"imports":41,"importBytes":430446,"outputBytes":376427,"outputFiles":"dist/human.node-gpu.js"}
2021-06-05 17:46:21 STATE: target: nodeWASM type: tfjs: {"imports":1,"importBytes":149,"outputBytes":1382,"outputFiles":"dist/tfjs.esm.js"}
2021-06-05 17:46:21 STATE: target: nodeWASM type: node: {"imports":41,"importBytes":430513,"outputBytes":376499,"outputFiles":"dist/human.node-wasm.js"}
2021-06-05 17:46:21 STATE: target: browserNoBundle type: tfjs: {"imports":1,"importBytes":2478,"outputBytes":1409,"outputFiles":"dist/tfjs.esm.js"}
2021-06-05 17:46:21 STATE: target: browserNoBundle type: esm: {"imports":41,"importBytes":430540,"outputBytes":247943,"outputFiles":"dist/human.esm-nobundle.js"}
2021-06-05 17:46:22 STATE: target: browserBundle type: tfjs: {"modules":1299,"moduleBytes":4230827,"imports":7,"importBytes":2478,"outputBytes":1140335,"outputFiles":"dist/tfjs.esm.js"}
2021-06-05 17:46:22 STATE: target: browserBundle type: iife: {"imports":41,"importBytes":1569466,"outputBytes":1384133,"outputFiles":"dist/human.js"}
2021-06-05 17:46:23 STATE: target: browserBundle type: esm: {"imports":41,"importBytes":1569466,"outputBytes":1384125,"outputFiles":"dist/human.esm.js"}
2021-06-05 17:46:23 INFO:  Running Linter: ["server/","demo/","src/","test/"]
2021-06-05 17:46:50 INFO:  Linter complete: files: 71 errors: 0 warnings: 0
2021-06-05 17:46:50 INFO:  Generate Typings: ["src/human.ts"] outDir: ["types"]
2021-06-05 17:47:08 INFO:  Generate ChangeLog: ["/home/vlado/dev/human/CHANGELOG.md"]
2021-06-05 17:47:08 INFO:  Generate TypeDocs: ["src/human.ts"] outDir: ["typedoc"]
2021-06-05 17:47:24 INFO:  Documentation generated at /home/vlado/dev/human/typedoc 1
2021-06-06 12:54:07 INFO:  @vladmandic/human version 2.0.0
2021-06-06 12:54:07 INFO:  User: vlado Platform: linux Arch: x64 Node: v16.0.0
2021-06-06 12:54:07 INFO:  Toolchain: tfjs: 3.7.0 esbuild 0.12.6; typescript 4.2.4; typedoc: 0.20.36 eslint: 7.27.0
2021-06-06 12:54:07 INFO:  Build: file startup all type: production config: {"minifyWhitespace":true,"minifyIdentifiers":true,"minifySyntax":true}
2021-06-06 12:54:07 STATE: target: node type: tfjs: {"imports":1,"importBytes":102,"outputBytes":1307,"outputFiles":"dist/tfjs.esm.js"}
2021-06-06 12:54:07 STATE: target: node type: node: {"imports":41,"importBytes":430493,"outputBytes":376423,"outputFiles":"dist/human.node.js"}
2021-06-06 12:54:07 STATE: target: nodeGPU type: tfjs: {"imports":1,"importBytes":110,"outputBytes":1315,"outputFiles":"dist/tfjs.esm.js"}
2021-06-06 12:54:07 STATE: target: nodeGPU type: node: {"imports":41,"importBytes":430501,"outputBytes":376427,"outputFiles":"dist/human.node-gpu.js"}
2021-06-06 12:54:07 STATE: target: nodeWASM type: tfjs: {"imports":1,"importBytes":149,"outputBytes":1382,"outputFiles":"dist/tfjs.esm.js"}
2021-06-06 12:54:07 STATE: target: nodeWASM type: node: {"imports":41,"importBytes":430568,"outputBytes":376499,"outputFiles":"dist/human.node-wasm.js"}
2021-06-06 12:54:07 STATE: target: browserNoBundle type: tfjs: {"imports":1,"importBytes":2888,"outputBytes":1409,"outputFiles":"dist/tfjs.esm.js"}
2021-06-06 12:54:07 STATE: target: browserNoBundle type: esm: {"imports":41,"importBytes":430595,"outputBytes":247943,"outputFiles":"dist/human.esm-nobundle.js"}
2021-06-06 12:54:08 STATE: target: browserBundle type: tfjs: {"modules":1299,"moduleBytes":4230827,"imports":7,"importBytes":2888,"outputBytes":1140335,"outputFiles":"dist/tfjs.esm.js"}
2021-06-06 12:54:08 STATE: target: browserBundle type: iife: {"imports":41,"importBytes":1569521,"outputBytes":1384133,"outputFiles":"dist/human.js"}
2021-06-06 12:54:09 STATE: target: browserBundle type: esm: {"imports":41,"importBytes":1569521,"outputBytes":1384125,"outputFiles":"dist/human.esm.js"}
2021-06-06 12:54:09 INFO:  Running Linter: ["server/","demo/","src/","test/"]
2021-06-06 12:54:36 INFO:  Linter complete: files: 71 errors: 0 warnings: 0
2021-06-06 12:54:36 INFO:  Generate Typings: ["src/human.ts"] outDir: ["types"]
2021-06-06 12:54:54 INFO:  Generate ChangeLog: ["/home/vlado/dev/human/CHANGELOG.md"]
2021-06-06 12:54:54 INFO:  Generate TypeDocs: ["src/human.ts"] outDir: ["typedoc"]
2021-06-06 12:55:09 INFO:  Documentation generated at /home/vlado/dev/human/typedoc 1

View File

@ -2,15 +2,9 @@
* Creates tfjs bundle used by Human browser build target
*/
// simplified
// { modules: 1250, moduleBytes: 4013323, imports: 7, importBytes: 2255, outputBytes: 2991826, outputFiles: 'dist/tfjs.esm.js' }
// export * from '@tensorflow/tfjs/dist/index.js';
// export * from '@tensorflow/tfjs-backend-wasm';
// modular
// { modules: 1253, moduleBytes: 4029357, imports: 7, importBytes: 2285, outputBytes: 2998298, outputFiles: 'dist/tfjs.esm.js' }
// get versions of all packages.
// import from dist
// modules: 1299, moduleBytes: 4230827, imports: 7, importBytes: 2478, outputBytes: 2357435
// get versions of all packages
import * as packageBundle from '@tensorflow/tfjs/package.json';
import * as packageCore from '@tensorflow/tfjs-core/package.json';
import * as packageData from '@tensorflow/tfjs-data/package.json';
@ -21,7 +15,7 @@ import { version_cpu } from '@tensorflow/tfjs-backend-cpu/dist/index.js';
import { version_webgl } from '@tensorflow/tfjs-backend-webgl/dist/index.js';
import { version_wasm } from '@tensorflow/tfjs-backend-wasm/dist/index.js';
// export all - compiled
// export all
export * from '@tensorflow/tfjs-core/dist/index.js';
export * from '@tensorflow/tfjs-layers/dist/index.js';
export * from '@tensorflow/tfjs-converter/dist/index.js';
@ -30,8 +24,20 @@ export * from '@tensorflow/tfjs-backend-cpu/dist/index.js';
export * from '@tensorflow/tfjs-backend-webgl/dist/index.js';
export * from '@tensorflow/tfjs-backend-wasm/dist/index.js';
// export all - sources
// import from src
// modules: 1681, moduleBytes: 5711239, imports: 7, importBytes: 2701, outputBytes: 2107830
// get versions of all packages
/*
import * as packageBundle from '@tensorflow/tfjs/package.json';
import * as packageCore from '@tensorflow/tfjs-core/package.json';
import * as packageData from '@tensorflow/tfjs-data/package.json';
import * as packageLayers from '@tensorflow/tfjs-layers/package.json';
import * as packageConverter from '@tensorflow/tfjs-converter/package.json';
import { version_cpu } from '@tensorflow/tfjs-backend-cpu/src/index';
import { version_webgl } from '@tensorflow/tfjs-backend-webgl/src/index';
import { version_wasm } from '@tensorflow/tfjs-backend-wasm/src/index';
// export all
export * from '@tensorflow/tfjs-core/src/index';
export * from '@tensorflow/tfjs-layers/src/index';
export * from '@tensorflow/tfjs-converter/src/index';

View File

@ -1,169 +1,120 @@
2021-06-05 17:49:20 INFO:  @vladmandic/human version 2.0.0
2021-06-05 17:49:20 INFO:  User: vlado Platform: linux Arch: x64 Node: v16.0.0
2021-06-05 17:49:20 INFO:  tests: ["test-node.js","test-node-gpu.js","test-node-wasm.js"]
2021-06-05 17:49:20 INFO:  test-node.js start
2021-06-05 17:49:21 STATE: test-node.js passed: create human
2021-06-05 17:49:21 INFO:  test-node.js human version: 2.0.0
2021-06-05 17:49:21 INFO:  test-node.js platform: linux x64 agent: NodeJS v16.0.0
2021-06-05 17:49:21 INFO:  test-node.js tfjs version: 3.7.0
2021-06-05 17:49:21 STATE: test-node.js passed: set backend: tensorflow
2021-06-05 17:49:21 STATE: test-node.js passed: load models
2021-06-05 17:49:21 STATE: test-node.js result: defined models: 14 loaded models: 7
2021-06-05 17:49:21 STATE: test-node.js passed: warmup: none default
2021-06-05 17:49:23 STATE: test-node.js passed: warmup: face default
2021-06-05 17:49:23 DATA:  test-node.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 1 person: 1 {"age":23.6,"gender":"female"} {"score":0.82,"class":"person"} {"score":0.73,"keypoints":5}
2021-06-05 17:49:23 DATA:  test-node.js result: performance: load: 364 total: 1627
2021-06-05 17:49:24 STATE: test-node.js passed: warmup: body default
2021-06-05 17:49:24 DATA:  test-node.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 1 person: 1 {"age":29.5,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.93,"keypoints":17}
2021-06-05 17:49:24 DATA:  test-node.js result: performance: load: 364 total: 1631
2021-06-05 17:49:24 INFO:  test-node.js test body variants
2021-06-05 17:49:25 STATE: test-node.js passed: load image: samples/ai-body.jpg [1,1200,1200,3]
2021-06-05 17:49:27 STATE: test-node.js passed: detect: samples/ai-body.jpg posenet
2021-06-05 17:49:27 DATA:  test-node.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 1 person: 1 {"age":29.5,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.96,"keypoints":16}
2021-06-05 17:49:27 DATA:  test-node.js result: performance: load: 364 total: 1172
2021-06-05 17:49:27 STATE: test-node.js passed: load image: samples/ai-body.jpg [1,1200,1200,3]
2021-06-05 17:49:28 STATE: test-node.js passed: detect: samples/ai-body.jpg movenet
2021-06-05 17:49:28 DATA:  test-node.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 1 person: 1 {"age":29.5,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.93,"keypoints":17}
2021-06-05 17:49:28 DATA:  test-node.js result: performance: load: 364 total: 287
2021-06-05 17:49:29 STATE: test-node.js passed: detect: random default
2021-06-05 17:49:29 DATA:  test-node.js result: face: 0 body: 1 hand: 0 gesture: 0 object: 0 person: 0 {} {} {"score":0,"keypoints":0}
2021-06-05 17:49:29 DATA:  test-node.js result: performance: load: 364 total: 874
2021-06-05 17:49:29 INFO:  test-node.js test: first instance
2021-06-05 17:49:29 STATE: test-node.js passed: load image: samples/ai-upper.jpg [1,720,688,3]
2021-06-05 17:49:30 STATE: test-node.js passed: detect: samples/ai-upper.jpg default
2021-06-05 17:49:30 DATA:  test-node.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 1 person: 1 {"age":29.5,"gender":"female"} {"score":0.71,"class":"person"} {"score":0.78,"keypoints":7}
2021-06-05 17:49:30 DATA:  test-node.js result: performance: load: 364 total: 1279
2021-06-05 17:49:30 INFO:  test-node.js test: second instance
2021-06-05 17:49:31 STATE: test-node.js passed: load image: samples/ai-upper.jpg [1,720,688,3]
2021-06-05 17:49:32 STATE: test-node.js passed: detect: samples/ai-upper.jpg default
2021-06-05 17:49:32 DATA:  test-node.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 1 person: 1 {"age":29.5,"gender":"female"} {"score":0.71,"class":"person"} {"score":0.78,"keypoints":7}
2021-06-05 17:49:32 DATA:  test-node.js result: performance: load: 2 total: 1263
2021-06-05 17:49:32 INFO:  test-node.js test: concurrent
2021-06-05 17:49:32 STATE: test-node.js passed: load image: samples/ai-face.jpg [1,256,256,3]
2021-06-05 17:49:32 STATE: test-node.js passed: load image: samples/ai-face.jpg [1,256,256,3]
2021-06-05 17:49:33 STATE: test-node.js passed: load image: samples/ai-body.jpg [1,1200,1200,3]
2021-06-05 17:49:34 STATE: test-node.js passed: load image: samples/ai-body.jpg [1,1200,1200,3]
2021-06-05 17:49:40 STATE: test-node.js passed: detect: samples/ai-face.jpg default
2021-06-05 17:49:40 DATA:  test-node.js result: face: 1 body: 1 hand: 0 gesture: 4 object: 1 person: 1 {"age":23.6,"gender":"female"} {"score":0.82,"class":"person"} {"score":0.73,"keypoints":17}
2021-06-05 17:49:40 DATA:  test-node.js result: performance: load: 364 total: 5621
2021-06-05 17:49:40 STATE: test-node.js passed: detect: samples/ai-face.jpg default
2021-06-05 17:49:40 DATA:  test-node.js result: face: 1 body: 1 hand: 0 gesture: 4 object: 1 person: 1 {"age":23.6,"gender":"female"} {"score":0.82,"class":"person"} {"score":0.73,"keypoints":17}
2021-06-05 17:49:40 DATA:  test-node.js result: performance: load: 2 total: 5621
2021-06-05 17:49:40 STATE: test-node.js passed: detect: samples/ai-body.jpg default
2021-06-05 17:49:40 DATA:  test-node.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 1 person: 1 {"age":28.5,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.93,"keypoints":17}
2021-06-05 17:49:40 DATA:  test-node.js result: performance: load: 364 total: 5621
2021-06-05 17:49:40 STATE: test-node.js passed: detect: samples/ai-body.jpg default
2021-06-05 17:49:40 DATA:  test-node.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 1 person: 1 {"age":28.5,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.93,"keypoints":17}
2021-06-05 17:49:40 DATA:  test-node.js result: performance: load: 2 total: 5621
2021-06-05 17:49:40 INFO:  test-node.js test complete: 19189 ms
2021-06-05 17:49:40 INFO:  test-node-gpu.js start
2021-06-05 17:49:40 WARN:  test-node-gpu.js stderr: 2021-06-05 17:49:40.832433: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2021-06-05 17:49:40 WARN:  test-node-gpu.js stderr: 2021-06-05 17:49:40.884214: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory
2021-06-05 17:49:40 WARN:  test-node-gpu.js stderr: 2021-06-05 17:49:40.884276: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (wyse): /proc/driver/nvidia/version does not exist
2021-06-05 17:49:40 STATE: test-node-gpu.js passed: create human
2021-06-05 17:49:40 INFO:  test-node-gpu.js human version: 2.0.0
2021-06-05 17:49:40 INFO:  test-node-gpu.js platform: linux x64 agent: NodeJS v16.0.0
2021-06-05 17:49:40 INFO:  test-node-gpu.js tfjs version: 3.7.0
2021-06-05 17:49:41 STATE: test-node-gpu.js passed: set backend: tensorflow
2021-06-05 17:49:41 STATE: test-node-gpu.js passed: load models
2021-06-05 17:49:41 STATE: test-node-gpu.js result: defined models: 14 loaded models: 7
2021-06-05 17:49:41 STATE: test-node-gpu.js passed: warmup: none default
2021-06-05 17:49:43 STATE: test-node-gpu.js passed: warmup: face default
2021-06-05 17:49:43 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 1 person: 1 {"age":23.6,"gender":"female"} {"score":0.82,"class":"person"} {"score":0.73,"keypoints":5}
2021-06-05 17:49:43 DATA:  test-node-gpu.js result: performance: load: 347 total: 1756
2021-06-05 17:49:44 STATE: test-node-gpu.js passed: warmup: body default
2021-06-05 17:49:44 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 1 person: 1 {"age":29.5,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.93,"keypoints":17}
2021-06-05 17:49:44 DATA:  test-node-gpu.js result: performance: load: 347 total: 1638
2021-06-05 17:49:44 INFO:  test-node-gpu.js test body variants
2021-06-05 17:49:45 STATE: test-node-gpu.js passed: load image: samples/ai-body.jpg [1,1200,1200,3]
2021-06-05 17:49:46 STATE: test-node-gpu.js passed: detect: samples/ai-body.jpg posenet
2021-06-05 17:49:46 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 1 person: 1 {"age":29.5,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.96,"keypoints":16}
2021-06-05 17:49:46 DATA:  test-node-gpu.js result: performance: load: 347 total: 1100
2021-06-05 17:49:47 STATE: test-node-gpu.js passed: load image: samples/ai-body.jpg [1,1200,1200,3]
2021-06-05 17:49:48 STATE: test-node-gpu.js passed: detect: samples/ai-body.jpg movenet
2021-06-05 17:49:48 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 1 person: 1 {"age":29.5,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.93,"keypoints":17}
2021-06-05 17:49:48 DATA:  test-node-gpu.js result: performance: load: 347 total: 303
2021-06-05 17:49:49 STATE: test-node-gpu.js passed: detect: random default
2021-06-05 17:49:49 DATA:  test-node-gpu.js result: face: 0 body: 1 hand: 0 gesture: 0 object: 0 person: 0 {} {} {"score":0,"keypoints":0}
2021-06-05 17:49:49 DATA:  test-node-gpu.js result: performance: load: 347 total: 873
2021-06-05 17:49:49 INFO:  test-node-gpu.js test: first instance
2021-06-05 17:49:49 STATE: test-node-gpu.js passed: load image: samples/ai-upper.jpg [1,720,688,3]
2021-06-05 17:49:50 STATE: test-node-gpu.js passed: detect: samples/ai-upper.jpg default
2021-06-05 17:49:50 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 1 person: 1 {"age":29.5,"gender":"female"} {"score":0.71,"class":"person"} {"score":0.78,"keypoints":7}
2021-06-05 17:49:50 DATA:  test-node-gpu.js result: performance: load: 347 total: 1212
2021-06-05 17:49:50 INFO:  test-node-gpu.js test: second instance
2021-06-05 17:49:51 STATE: test-node-gpu.js passed: load image: samples/ai-upper.jpg [1,720,688,3]
2021-06-05 17:49:52 STATE: test-node-gpu.js passed: detect: samples/ai-upper.jpg default
2021-06-05 17:49:52 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 1 person: 1 {"age":29.5,"gender":"female"} {"score":0.71,"class":"person"} {"score":0.78,"keypoints":7}
2021-06-05 17:49:52 DATA:  test-node-gpu.js result: performance: load: 2 total: 1305
2021-06-05 17:49:52 INFO:  test-node-gpu.js test: concurrent
2021-06-05 17:49:52 STATE: test-node-gpu.js passed: load image: samples/ai-face.jpg [1,256,256,3]
2021-06-05 17:49:52 STATE: test-node-gpu.js passed: load image: samples/ai-face.jpg [1,256,256,3]
2021-06-05 17:49:53 STATE: test-node-gpu.js passed: load image: samples/ai-body.jpg [1,1200,1200,3]
2021-06-05 17:49:54 STATE: test-node-gpu.js passed: load image: samples/ai-body.jpg [1,1200,1200,3]
2021-06-05 17:50:00 STATE: test-node-gpu.js passed: detect: samples/ai-face.jpg default
2021-06-05 17:50:00 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 0 gesture: 4 object: 1 person: 1 {"age":23.6,"gender":"female"} {"score":0.82,"class":"person"} {"score":0.73,"keypoints":17}
2021-06-05 17:50:00 DATA:  test-node-gpu.js result: performance: load: 347 total: 5708
2021-06-05 17:50:00 STATE: test-node-gpu.js passed: detect: samples/ai-face.jpg default
2021-06-05 17:50:00 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 0 gesture: 4 object: 1 person: 1 {"age":23.6,"gender":"female"} {"score":0.82,"class":"person"} {"score":0.73,"keypoints":17}
2021-06-05 17:50:00 DATA:  test-node-gpu.js result: performance: load: 2 total: 5708
2021-06-05 17:50:00 STATE: test-node-gpu.js passed: detect: samples/ai-body.jpg default
2021-06-05 17:50:00 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 1 person: 1 {"age":28.5,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.93,"keypoints":17}
2021-06-05 17:50:00 DATA:  test-node-gpu.js result: performance: load: 347 total: 5708
2021-06-05 17:50:00 STATE: test-node-gpu.js passed: detect: samples/ai-body.jpg default
2021-06-05 17:50:00 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 1 person: 1 {"age":28.5,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.93,"keypoints":17}
2021-06-05 17:50:00 DATA:  test-node-gpu.js result: performance: load: 2 total: 5708
2021-06-05 17:50:00 INFO:  test-node-gpu.js test complete: 19284 ms
2021-06-05 17:50:00 INFO:  test-node-wasm.js start
2021-06-05 17:50:00 STATE: test-node-wasm.js passed: model server: http://localhost:10030/models/
2021-06-05 17:50:00 STATE: test-node-wasm.js passed: create human
2021-06-05 17:50:00 INFO:  test-node-wasm.js human version: 2.0.0
2021-06-05 17:50:00 INFO:  test-node-wasm.js platform: linux x64 agent: NodeJS v16.0.0
2021-06-05 17:50:00 INFO:  test-node-wasm.js tfjs version: 3.7.0
2021-06-05 17:50:01 STATE: test-node-wasm.js passed: set backend: wasm
2021-06-05 17:50:01 STATE: test-node-wasm.js passed: load models
2021-06-05 17:50:01 STATE: test-node-wasm.js result: defined models: 14 loaded models: 6
2021-06-05 17:50:01 STATE: test-node-wasm.js passed: warmup: none default
2021-06-05 17:50:01 ERROR: test-node-wasm.js failed: warmup: face default
2021-06-05 17:50:01 ERROR: test-node-wasm.js failed: warmup: body default
2021-06-05 17:50:01 INFO:  test-node-wasm.js test body variants
2021-06-05 17:50:03 STATE: test-node-wasm.js passed: load image: samples/ai-body.jpg [1,1200,1200,3]
2021-06-05 17:50:06 STATE: test-node-wasm.js passed: detect: samples/ai-body.jpg posenet
2021-06-05 17:50:06 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 0 person: 1 {"age":28.5,"gender":"female"} {} {"score":0.96,"keypoints":16}
2021-06-05 17:50:06 DATA:  test-node-wasm.js result: performance: load: 677 total: 3317
2021-06-05 17:50:08 STATE: test-node-wasm.js passed: load image: samples/ai-body.jpg [1,1200,1200,3]
2021-06-05 17:50:10 STATE: test-node-wasm.js passed: detect: samples/ai-body.jpg movenet
2021-06-05 17:50:10 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 0 person: 1 {"age":28.5,"gender":"female"} {} {"score":0.93,"keypoints":17}
2021-06-05 17:50:10 DATA:  test-node-wasm.js result: performance: load: 677 total: 2105
2021-06-05 17:50:12 STATE: test-node-wasm.js passed: detect: random default
2021-06-05 17:50:12 DATA:  test-node-wasm.js result: face: 0 body: 1 hand: 0 gesture: 0 object: 0 person: 0 {} {} {"score":0,"keypoints":0}
2021-06-05 17:50:12 DATA:  test-node-wasm.js result: performance: load: 677 total: 1746
2021-06-05 17:50:12 INFO:  test-node-wasm.js test: first instance
2021-06-05 17:50:13 STATE: test-node-wasm.js passed: load image: samples/ai-upper.jpg [1,720,688,3]
2021-06-05 17:50:15 STATE: test-node-wasm.js passed: detect: samples/ai-upper.jpg default
2021-06-05 17:50:15 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 0 person: 1 {"age":29.5,"gender":"female"} {} {"score":0.78,"keypoints":7}
2021-06-05 17:50:15 DATA:  test-node-wasm.js result: performance: load: 677 total: 2460
2021-06-05 17:50:15 INFO:  test-node-wasm.js test: second instance
2021-06-05 17:50:16 STATE: test-node-wasm.js passed: load image: samples/ai-upper.jpg [1,720,688,3]
2021-06-05 17:50:18 STATE: test-node-wasm.js passed: detect: samples/ai-upper.jpg default
2021-06-05 17:50:18 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 0 person: 1 {"age":29.5,"gender":"female"} {} {"score":0.78,"keypoints":7}
2021-06-05 17:50:18 DATA:  test-node-wasm.js result: performance: load: 4 total: 2339
2021-06-05 17:50:18 INFO:  test-node-wasm.js test: concurrent
2021-06-05 17:50:18 STATE: test-node-wasm.js passed: load image: samples/ai-face.jpg [1,256,256,3]
2021-06-05 17:50:18 STATE: test-node-wasm.js passed: load image: samples/ai-face.jpg [1,256,256,3]
2021-06-05 17:50:20 STATE: test-node-wasm.js passed: load image: samples/ai-body.jpg [1,1200,1200,3]
2021-06-05 17:50:22 STATE: test-node-wasm.js passed: load image: samples/ai-body.jpg [1,1200,1200,3]
2021-06-05 17:50:31 STATE: test-node-wasm.js passed: detect: samples/ai-face.jpg default
2021-06-05 17:50:31 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 0 gesture: 4 object: 0 person: 1 {"age":23.6,"gender":"female"} {} {"score":0.73,"keypoints":17}
2021-06-05 17:50:31 DATA:  test-node-wasm.js result: performance: load: 677 total: 9199
2021-06-05 17:50:31 STATE: test-node-wasm.js passed: detect: samples/ai-face.jpg default
2021-06-05 17:50:31 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 0 gesture: 4 object: 0 person: 1 {"age":23.6,"gender":"female"} {} {"score":0.73,"keypoints":17}
2021-06-05 17:50:31 DATA:  test-node-wasm.js result: performance: load: 4 total: 9199
2021-06-05 17:50:31 STATE: test-node-wasm.js passed: detect: samples/ai-body.jpg default
2021-06-05 17:50:31 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 0 person: 1 {"age":28.5,"gender":"female"} {} {"score":0.93,"keypoints":17}
2021-06-05 17:50:31 DATA:  test-node-wasm.js result: performance: load: 677 total: 9199
2021-06-05 17:50:31 STATE: test-node-wasm.js passed: detect: samples/ai-body.jpg default
2021-06-05 17:50:31 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 0 person: 1 {"age":28.5,"gender":"female"} {} {"score":0.93,"keypoints":17}
2021-06-05 17:50:31 DATA:  test-node-wasm.js result: performance: load: 4 total: 9199
2021-06-05 17:50:31 INFO:  test-node-wasm.js test complete: 31126 ms
2021-06-05 17:50:31 INFO:  status: {"passed":68,"failed":2}
2021-06-06 12:57:08 INFO:  @vladmandic/human version 2.0.0
2021-06-06 12:57:08 INFO:  User: vlado Platform: linux Arch: x64 Node: v16.0.0
2021-06-06 12:57:08 INFO:  tests: ["test-node.js","test-node-gpu.js","test-node-wasm.js"]
2021-06-06 12:57:08 INFO:  test-node.js start
2021-06-06 12:57:10 STATE: test-node.js passed: create human
2021-06-06 12:57:10 INFO:  test-node.js human version: 2.0.0
2021-06-06 12:57:10 INFO:  test-node.js platform: linux x64 agent: NodeJS v16.0.0
2021-06-06 12:57:10 INFO:  test-node.js tfjs version: 3.7.0
2021-06-06 12:57:10 STATE: test-node.js passed: set backend: tensorflow
2021-06-06 12:57:10 STATE: test-node.js passed: load models
2021-06-06 12:57:10 STATE: test-node.js result: defined models: 14 loaded models: 7
2021-06-06 12:57:10 STATE: test-node.js passed: warmup: none default
2021-06-06 12:57:12 STATE: test-node.js passed: warmup: face default
2021-06-06 12:57:12 DATA:  test-node.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 1 person: 1 {"age":23.6,"gender":"female"} {"score":0.82,"class":"person"} {"score":0.73,"keypoints":5}
2021-06-06 12:57:12 DATA:  test-node.js result: performance: load: 375 total: 1784
2021-06-06 12:57:14 STATE: test-node.js passed: warmup: body default
2021-06-06 12:57:14 DATA:  test-node.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 1 person: 1 {"age":29.5,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.93,"keypoints":17}
2021-06-06 12:57:14 DATA:  test-node.js result: performance: load: 375 total: 1614
2021-06-06 12:57:14 INFO:  test-node.js test body variants
2021-06-06 12:57:15 STATE: test-node.js passed: load image: samples/ai-body.jpg [1,1200,1200,3]
2021-06-06 12:57:16 STATE: test-node.js passed: detect: samples/ai-body.jpg posenet
2021-06-06 12:57:16 DATA:  test-node.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 1 person: 1 {"age":29.5,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.96,"keypoints":16}
2021-06-06 12:57:16 DATA:  test-node.js result: performance: load: 375 total: 1070
2021-06-06 12:57:17 STATE: test-node.js passed: load image: samples/ai-body.jpg [1,1200,1200,3]
2021-06-06 12:57:17 STATE: test-node.js passed: detect: samples/ai-body.jpg movenet
2021-06-06 12:57:17 DATA:  test-node.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 1 person: 1 {"age":29.5,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.93,"keypoints":17}
2021-06-06 12:57:17 DATA:  test-node.js result: performance: load: 375 total: 272
2021-06-06 12:57:18 STATE: test-node.js passed: detect: random default
2021-06-06 12:57:18 DATA:  test-node.js result: face: 0 body: 1 hand: 0 gesture: 0 object: 1 person: 0 {} {"score":0.72,"class":"person"} {"score":0,"keypoints":0}
2021-06-06 12:57:18 DATA:  test-node.js result: performance: load: 375 total: 226
2021-06-06 12:57:18 INFO:  test-node.js test: first instance
2021-06-06 12:57:18 STATE: test-node.js passed: load image: samples/ai-upper.jpg [1,720,688,3]
2021-06-06 12:57:18 STATE: test-node.js passed: detect: samples/ai-upper.jpg default
2021-06-06 12:57:18 DATA:  test-node.js result: face: 0 body: 1 hand: 0 gesture: 1 object: 1 person: 0 {} {"score":0.72,"class":"person"} {"score":0.78,"keypoints":7}
2021-06-06 12:57:18 DATA:  test-node.js result: performance: load: 375 total: 206
2021-06-06 12:57:18 INFO:  test-node.js test: second instance
2021-06-06 12:57:19 STATE: test-node.js passed: load image: samples/ai-upper.jpg [1,720,688,3]
2021-06-06 12:57:20 STATE: test-node.js passed: detect: samples/ai-upper.jpg default
2021-06-06 12:57:20 DATA:  test-node.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 1 person: 1 {"age":29.5,"gender":"female"} {"score":0.71,"class":"person"} {"score":0.78,"keypoints":7}
2021-06-06 12:57:20 DATA:  test-node.js result: performance: load: 3 total: 1254
2021-06-06 12:57:20 INFO:  test-node.js test: concurrent
2021-06-06 12:57:20 STATE: test-node.js passed: load image: samples/ai-face.jpg [1,256,256,3]
2021-06-06 12:57:20 STATE: test-node.js passed: load image: samples/ai-face.jpg [1,256,256,3]
2021-06-06 12:57:21 STATE: test-node.js passed: load image: samples/ai-body.jpg [1,1200,1200,3]
2021-06-06 12:57:22 STATE: test-node.js passed: load image: samples/ai-body.jpg [1,1200,1200,3]
2021-06-06 12:57:31 STATE: test-node.js passed: detect: samples/ai-face.jpg default
2021-06-06 12:57:31 DATA:  test-node.js result: face: 1 body: 1 hand: 0 gesture: 4 object: 1 person: 1 {"age":23.6,"gender":"female"} {"score":0.82,"class":"person"} {"score":0.73,"keypoints":17}
2021-06-06 12:57:31 DATA:  test-node.js result: performance: load: 375 total: 8584
2021-06-06 12:57:31 STATE: test-node.js passed: detect: samples/ai-face.jpg default
2021-06-06 12:57:31 DATA:  test-node.js result: face: 1 body: 1 hand: 0 gesture: 4 object: 1 person: 1 {"age":23.6,"gender":"female"} {"score":0.82,"class":"person"} {"score":0.73,"keypoints":17}
2021-06-06 12:57:31 DATA:  test-node.js result: performance: load: 3 total: 8584
2021-06-06 12:57:31 STATE: test-node.js passed: detect: samples/ai-body.jpg default
2021-06-06 12:57:31 DATA:  test-node.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 1 person: 1 {"age":28.5,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.93,"keypoints":17}
2021-06-06 12:57:31 DATA:  test-node.js result: performance: load: 375 total: 8584
2021-06-06 12:57:31 STATE: test-node.js passed: detect: samples/ai-body.jpg default
2021-06-06 12:57:31 DATA:  test-node.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 1 person: 1 {"age":28.5,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.93,"keypoints":17}
2021-06-06 12:57:31 DATA:  test-node.js result: performance: load: 3 total: 8584
2021-06-06 12:57:31 INFO:  test-node.js test complete: 20503 ms
2021-06-06 12:57:31 INFO:  test-node-gpu.js start
2021-06-06 12:57:32 WARN:  test-node-gpu.js stderr: 2021-06-06 12:57:32.241541: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2021-06-06 12:57:32 WARN:  test-node-gpu.js stderr: 2021-06-06 12:57:32.462321: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory
2021-06-06 12:57:32 WARN:  test-node-gpu.js stderr: 2021-06-06 12:57:32.462355: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (wyse): /proc/driver/nvidia/version does not exist
2021-06-06 12:57:32 STATE: test-node-gpu.js passed: create human
2021-06-06 12:57:32 INFO:  test-node-gpu.js human version: 2.0.0
2021-06-06 12:57:32 INFO:  test-node-gpu.js platform: linux x64 agent: NodeJS v16.0.0
2021-06-06 12:57:32 INFO:  test-node-gpu.js tfjs version: 3.7.0
2021-06-06 12:57:33 STATE: test-node-gpu.js passed: set backend: tensorflow
2021-06-06 12:57:33 STATE: test-node-gpu.js passed: load models
2021-06-06 12:57:33 STATE: test-node-gpu.js result: defined models: 14 loaded models: 7
2021-06-06 12:57:33 STATE: test-node-gpu.js passed: warmup: none default
2021-06-06 12:57:35 STATE: test-node-gpu.js passed: warmup: face default
2021-06-06 12:57:35 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 1 person: 1 {"age":23.6,"gender":"female"} {"score":0.82,"class":"person"} {"score":0.73,"keypoints":5}
2021-06-06 12:57:35 DATA:  test-node-gpu.js result: performance: load: 451 total: 2121
2021-06-06 12:57:37 STATE: test-node-gpu.js passed: warmup: body default
2021-06-06 12:57:37 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 1 person: 1 {"age":29.5,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.93,"keypoints":17}
2021-06-06 12:57:37 DATA:  test-node-gpu.js result: performance: load: 451 total: 2013
2021-06-06 12:57:37 INFO:  test-node-gpu.js test body variants
2021-06-06 12:57:38 STATE: test-node-gpu.js passed: load image: samples/ai-body.jpg [1,1200,1200,3]
2021-06-06 12:57:39 STATE: test-node-gpu.js passed: detect: samples/ai-body.jpg posenet
2021-06-06 12:57:39 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 1 person: 1 {"age":29.5,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.96,"keypoints":16}
2021-06-06 12:57:39 DATA:  test-node-gpu.js result: performance: load: 451 total: 1224
2021-06-06 12:57:40 STATE: test-node-gpu.js passed: load image: samples/ai-body.jpg [1,1200,1200,3]
2021-06-06 12:57:40 STATE: test-node-gpu.js passed: detect: samples/ai-body.jpg movenet
2021-06-06 12:57:40 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 1 person: 1 {"age":29.5,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.93,"keypoints":17}
2021-06-06 12:57:40 DATA:  test-node-gpu.js result: performance: load: 451 total: 268
2021-06-06 12:57:41 STATE: test-node-gpu.js passed: detect: random default
2021-06-06 12:57:41 DATA:  test-node-gpu.js result: face: 0 body: 1 hand: 0 gesture: 0 object: 0 person: 0 {} {} {"score":0,"keypoints":0}
2021-06-06 12:57:41 DATA:  test-node-gpu.js result: performance: load: 451 total: 869
2021-06-06 12:57:41 INFO:  test-node-gpu.js test: first instance
2021-06-06 12:57:41 STATE: test-node-gpu.js passed: load image: samples/ai-upper.jpg [1,720,688,3]
2021-06-06 12:57:43 STATE: test-node-gpu.js passed: detect: samples/ai-upper.jpg default
2021-06-06 12:57:43 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 1 person: 1 {"age":29.5,"gender":"female"} {"score":0.71,"class":"person"} {"score":0.78,"keypoints":7}
2021-06-06 12:57:43 DATA:  test-node-gpu.js result: performance: load: 451 total: 1211
2021-06-06 12:57:43 INFO:  test-node-gpu.js test: second instance
2021-06-06 12:57:43 STATE: test-node-gpu.js passed: load image: samples/ai-upper.jpg [1,720,688,3]
2021-06-06 12:57:44 STATE: test-node-gpu.js passed: detect: samples/ai-upper.jpg default
2021-06-06 12:57:44 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 1 person: 1 {"age":29.5,"gender":"female"} {"score":0.71,"class":"person"} {"score":0.78,"keypoints":7}
2021-06-06 12:57:44 DATA:  test-node-gpu.js result: performance: load: 2 total: 1288
2021-06-06 12:57:44 INFO:  test-node-gpu.js test: concurrent
2021-06-06 12:57:44 STATE: test-node-gpu.js passed: load image: samples/ai-face.jpg [1,256,256,3]
2021-06-06 12:57:44 STATE: test-node-gpu.js passed: load image: samples/ai-face.jpg [1,256,256,3]
2021-06-06 12:57:45 STATE: test-node-gpu.js passed: load image: samples/ai-body.jpg [1,1200,1200,3]
2021-06-06 12:57:46 STATE: test-node-gpu.js passed: load image: samples/ai-body.jpg [1,1200,1200,3]
2021-06-06 12:57:52 STATE: test-node-gpu.js passed: detect: samples/ai-face.jpg default
2021-06-06 12:57:52 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 0 gesture: 4 object: 1 person: 1 {"age":23.6,"gender":"female"} {"score":0.82,"class":"person"} {"score":0.73,"keypoints":17}
2021-06-06 12:57:52 DATA:  test-node-gpu.js result: performance: load: 451 total: 5561
2021-06-06 12:57:52 STATE: test-node-gpu.js passed: detect: samples/ai-face.jpg default
2021-06-06 12:57:52 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 0 gesture: 4 object: 1 person: 1 {"age":23.6,"gender":"female"} {"score":0.82,"class":"person"} {"score":0.73,"keypoints":17}
2021-06-06 12:57:52 DATA:  test-node-gpu.js result: performance: load: 2 total: 5561
2021-06-06 12:57:52 STATE: test-node-gpu.js passed: detect: samples/ai-body.jpg default
2021-06-06 12:57:52 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 1 person: 1 {"age":28.5,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.93,"keypoints":17}
2021-06-06 12:57:52 DATA:  test-node-gpu.js result: performance: load: 451 total: 5561
2021-06-06 12:57:52 STATE: test-node-gpu.js passed: detect: samples/ai-body.jpg default
2021-06-06 12:57:52 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 0 gesture: 3 object: 1 person: 1 {"age":28.5,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.93,"keypoints":17}
2021-06-06 12:57:52 DATA:  test-node-gpu.js result: performance: load: 2 total: 5561
2021-06-06 12:57:52 INFO:  test-node-gpu.js test complete: 19813 ms
2021-06-06 12:57:52 INFO:  test-node-wasm.js start
2021-06-06 12:57:52 ERROR: test-node-wasm.js failed: model server: request to http://localhost:10030/models/ failed, reason: connect ECONNREFUSED 127.0.0.1:10030
2021-06-06 12:57:52 ERROR: test-node-wasm.js aborting test
2021-06-06 12:57:52 INFO:  status: {"passed":46,"failed":1}

View File

@ -50,6 +50,8 @@
"readme": "none",
"out": "typedoc",
"entryPoints": "src/human.ts",
"exclude": ["**/node_modules/**"],
"externalPattern": ["**/node_modules/**"],
"logLevel": "Info",
"logger": "none",
"theme": "wiki/theme/"

File diff suppressed because one or more lines are too long