replace movenet with lightning-v4

pull/193/head
Vladimir Mandic 2021-07-30 07:18:54 -04:00
parent abcc8a0221
commit 510e9dd8cf
6 changed files with 351 additions and 350 deletions

View File

@ -9,11 +9,13 @@ Repository: **<git+https://github.com/vladmandic/human.git>**
## Changelog
### **HEAD -> main** 2021/07/30 mandic00@live.com
- enable webgl uniform support for faster warmup
### **2.1.2** 2021/07/29 mandic00@live.com
### **origin/main** 2021/07/29 mandic00@live.com
- fix unregistered ops in tfjs
- fix typo
- rebuild new release

View File

@ -6,9 +6,7 @@ N/A
## Work in Progress
- Modularize `detect` with class inheritance
- Modularize `warmup` with class inheritance
- Refactor `checkBackend` into `backend.check`
N/A
## Known Issues

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -1,22 +1,22 @@
2021-07-29 16:34:07 INFO:  @vladmandic/human version 2.1.2
2021-07-29 16:34:07 INFO:  User: vlado Platform: linux Arch: x64 Node: v16.0.0
2021-07-29 16:34:07 INFO:  Toolchain: {"tfjs":"3.8.0","esbuild":"0.12.17","typescript":"4.3.5","typedoc":"0.21.4","eslint":"7.31.0"}
2021-07-29 16:34:07 INFO:  Clean: ["dist/*","types/*","typedoc/*"]
2021-07-29 16:34:07 INFO:  Build: file startup all type: production config: {"minifyWhitespace":true,"minifyIdentifiers":true,"minifySyntax":true}
2021-07-29 16:34:07 STATE: target: node type: tfjs: {"imports":1,"importBytes":102,"outputBytes":1303,"outputFiles":"dist/tfjs.esm.js"}
2021-07-29 16:34:07 STATE: target: node type: node: {"imports":42,"importBytes":434230,"outputBytes":377710,"outputFiles":"dist/human.node.js"}
2021-07-29 16:34:07 STATE: target: nodeGPU type: tfjs: {"imports":1,"importBytes":110,"outputBytes":1311,"outputFiles":"dist/tfjs.esm.js"}
2021-07-29 16:34:07 STATE: target: nodeGPU type: node: {"imports":42,"importBytes":434238,"outputBytes":377714,"outputFiles":"dist/human.node-gpu.js"}
2021-07-29 16:34:07 STATE: target: nodeWASM type: tfjs: {"imports":1,"importBytes":149,"outputBytes":1378,"outputFiles":"dist/tfjs.esm.js"}
2021-07-29 16:34:08 STATE: target: nodeWASM type: node: {"imports":42,"importBytes":434305,"outputBytes":377786,"outputFiles":"dist/human.node-wasm.js"}
2021-07-29 16:34:08 STATE: target: browserNoBundle type: tfjs: {"imports":1,"importBytes":2111,"outputBytes":1242,"outputFiles":"dist/tfjs.esm.js"}
2021-07-29 16:34:08 STATE: target: browserNoBundle type: esm: {"imports":42,"importBytes":434169,"outputBytes":247939,"outputFiles":"dist/human.esm-nobundle.js"}
2021-07-29 16:34:08 STATE: target: browserBundle type: tfjs: {"modules":1170,"moduleBytes":4145868,"imports":7,"importBytes":2111,"outputBytes":2334701,"outputFiles":"dist/tfjs.esm.js"}
2021-07-29 16:34:09 STATE: target: browserBundle type: iife: {"imports":42,"importBytes":2767628,"outputBytes":1378402,"outputFiles":"dist/human.js"}
2021-07-29 16:34:09 STATE: target: browserBundle type: esm: {"imports":42,"importBytes":2767628,"outputBytes":1378394,"outputFiles":"dist/human.esm.js"}
2021-07-29 16:34:09 INFO:  Running Linter: ["server/","src/","tfjs/","test/","demo/"]
2021-07-29 16:34:32 INFO:  Linter complete: files: 74 errors: 0 warnings: 0
2021-07-29 16:34:33 INFO:  Generate ChangeLog: ["/home/vlado/dev/human/CHANGELOG.md"]
2021-07-29 16:34:33 INFO:  Generate Typings: ["src/human.ts"] outDir: ["types"]
2021-07-29 16:34:46 INFO:  Generate TypeDocs: ["src/human.ts"] outDir: ["typedoc"]
2021-07-29 16:35:00 INFO:  Documentation generated at /home/vlado/dev/human/typedoc 1
2021-07-30 07:15:56 INFO:  @vladmandic/human version 2.1.2
2021-07-30 07:15:56 INFO:  User: vlado Platform: linux Arch: x64 Node: v16.0.0
2021-07-30 07:15:56 INFO:  Toolchain: {"tfjs":"3.8.0","esbuild":"0.12.17","typescript":"4.3.5","typedoc":"0.21.4","eslint":"7.31.0"}
2021-07-30 07:15:56 INFO:  Clean: ["dist/*","types/*","typedoc/*"]
2021-07-30 07:15:56 INFO:  Build: file startup all type: production config: {"minifyWhitespace":true,"minifyIdentifiers":true,"minifySyntax":true}
2021-07-30 07:15:56 STATE: target: node type: tfjs: {"imports":1,"importBytes":102,"outputBytes":1303,"outputFiles":"dist/tfjs.esm.js"}
2021-07-30 07:15:56 STATE: target: node type: node: {"imports":42,"importBytes":434230,"outputBytes":377710,"outputFiles":"dist/human.node.js"}
2021-07-30 07:15:56 STATE: target: nodeGPU type: tfjs: {"imports":1,"importBytes":110,"outputBytes":1311,"outputFiles":"dist/tfjs.esm.js"}
2021-07-30 07:15:56 STATE: target: nodeGPU type: node: {"imports":42,"importBytes":434238,"outputBytes":377714,"outputFiles":"dist/human.node-gpu.js"}
2021-07-30 07:15:56 STATE: target: nodeWASM type: tfjs: {"imports":1,"importBytes":149,"outputBytes":1378,"outputFiles":"dist/tfjs.esm.js"}
2021-07-30 07:15:56 STATE: target: nodeWASM type: node: {"imports":42,"importBytes":434305,"outputBytes":377786,"outputFiles":"dist/human.node-wasm.js"}
2021-07-30 07:15:56 STATE: target: browserNoBundle type: tfjs: {"imports":1,"importBytes":2111,"outputBytes":1242,"outputFiles":"dist/tfjs.esm.js"}
2021-07-30 07:15:56 STATE: target: browserNoBundle type: esm: {"imports":42,"importBytes":434169,"outputBytes":247939,"outputFiles":"dist/human.esm-nobundle.js"}
2021-07-30 07:15:56 STATE: target: browserBundle type: tfjs: {"modules":1170,"moduleBytes":4145868,"imports":7,"importBytes":2111,"outputBytes":2334701,"outputFiles":"dist/tfjs.esm.js"}
2021-07-30 07:15:57 STATE: target: browserBundle type: iife: {"imports":42,"importBytes":2767628,"outputBytes":1378402,"outputFiles":"dist/human.js"}
2021-07-30 07:15:57 STATE: target: browserBundle type: esm: {"imports":42,"importBytes":2767628,"outputBytes":1378394,"outputFiles":"dist/human.esm.js"}
2021-07-30 07:15:57 INFO:  Running Linter: ["server/","src/","tfjs/","test/","demo/"]
2021-07-30 07:16:20 INFO:  Linter complete: files: 74 errors: 0 warnings: 0
2021-07-30 07:16:20 INFO:  Generate ChangeLog: ["/home/vlado/dev/human/CHANGELOG.md"]
2021-07-30 07:16:20 INFO:  Generate Typings: ["src/human.ts"] outDir: ["types"]
2021-07-30 07:16:34 INFO:  Generate TypeDocs: ["src/human.ts"] outDir: ["typedoc"]
2021-07-30 07:16:47 INFO:  Documentation generated at /home/vlado/dev/human/typedoc 1

View File

@ -1,120 +1,120 @@
2021-07-29 16:33:25 INFO:  @vladmandic/human version 2.1.1
2021-07-29 16:33:25 INFO:  User: vlado Platform: linux Arch: x64 Node: v16.0.0
2021-07-29 16:33:25 INFO:  tests: ["test-node.js","test-node-gpu.js","test-node-wasm.js"]
2021-07-29 16:33:25 INFO:  test-node.js start
2021-07-29 16:33:26 STATE: test-node.js passed: create human
2021-07-29 16:33:26 INFO:  test-node.js human version: 2.1.1
2021-07-29 16:33:26 INFO:  test-node.js platform: linux x64 agent: NodeJS v16.0.0
2021-07-29 16:33:26 INFO:  test-node.js tfjs version: 3.8.0
2021-07-29 16:33:26 STATE: test-node.js passed: set backend: tensorflow
2021-07-29 16:33:26 STATE: test-node.js passed: load models
2021-07-29 16:33:26 STATE: test-node.js result: defined models: 14 loaded models: 7
2021-07-29 16:33:26 STATE: test-node.js passed: warmup: none default
2021-07-29 16:33:28 STATE: test-node.js passed: warmup: face default
2021-07-29 16:33:28 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-07-29 16:33:28 DATA:  test-node.js result: performance: load: 295 total: 1315
2021-07-29 16:33:29 STATE: test-node.js passed: warmup: body default
2021-07-29 16:33:29 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-07-29 16:33:29 DATA:  test-node.js result: performance: load: 295 total: 1065
2021-07-29 16:33:29 INFO:  test-node.js test body variants
2021-07-29 16:33:30 STATE: test-node.js passed: load image: samples/ai-body.jpg [1,1200,1200,3]
2021-07-29 16:33:30 STATE: test-node.js passed: detect: samples/ai-body.jpg posenet
2021-07-29 16:33: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.72,"class":"person"} {"score":0.96,"keypoints":16}
2021-07-29 16:33:30 DATA:  test-node.js result: performance: load: 295 total: 716
2021-07-29 16:33:31 STATE: test-node.js passed: load image: samples/ai-body.jpg [1,1200,1200,3]
2021-07-29 16:33:31 STATE: test-node.js passed: detect: samples/ai-body.jpg movenet
2021-07-29 16:33: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.72,"class":"person"} {"score":0.93,"keypoints":17}
2021-07-29 16:33:32 DATA:  test-node.js result: performance: load: 295 total: 202
2021-07-29 16:33:32 STATE: test-node.js passed: detect: random default
2021-07-29 16:33:32 DATA:  test-node.js result: face: 0 body: 1 hand: 0 gesture: 0 object: 0 person: 0 {} {} {"score":0,"keypoints":0}
2021-07-29 16:33:32 DATA:  test-node.js result: performance: load: 295 total: 592
2021-07-29 16:33:32 INFO:  test-node.js test: first instance
2021-07-29 16:33:33 STATE: test-node.js passed: load image: samples/ai-upper.jpg [1,720,688,3]
2021-07-29 16:33:33 STATE: test-node.js passed: detect: samples/ai-upper.jpg default
2021-07-29 16:33:33 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-07-29 16:33:33 DATA:  test-node.js result: performance: load: 295 total: 848
2021-07-29 16:33:33 INFO:  test-node.js test: second instance
2021-07-29 16:33:34 STATE: test-node.js passed: load image: samples/ai-upper.jpg [1,720,688,3]
2021-07-29 16:33:35 STATE: test-node.js passed: detect: samples/ai-upper.jpg default
2021-07-29 16:33:35 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-07-29 16:33:35 DATA:  test-node.js result: performance: load: 2 total: 825
2021-07-29 16:33:35 INFO:  test-node.js test: concurrent
2021-07-29 16:33:35 STATE: test-node.js passed: load image: samples/ai-face.jpg [1,256,256,3]
2021-07-29 16:33:35 STATE: test-node.js passed: load image: samples/ai-face.jpg [1,256,256,3]
2021-07-29 16:33:35 STATE: test-node.js passed: load image: samples/ai-body.jpg [1,1200,1200,3]
2021-07-29 16:33:36 STATE: test-node.js passed: load image: samples/ai-body.jpg [1,1200,1200,3]
2021-07-29 16:33:40 STATE: test-node.js passed: detect: samples/ai-face.jpg default
2021-07-29 16:33: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-07-29 16:33:40 DATA:  test-node.js result: performance: load: 295 total: 3744
2021-07-29 16:33:40 STATE: test-node.js passed: detect: samples/ai-face.jpg default
2021-07-29 16:33: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-07-29 16:33:40 DATA:  test-node.js result: performance: load: 2 total: 3744
2021-07-29 16:33:40 STATE: test-node.js passed: detect: samples/ai-body.jpg default
2021-07-29 16:33: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-07-29 16:33:40 DATA:  test-node.js result: performance: load: 295 total: 3744
2021-07-29 16:33:40 STATE: test-node.js passed: detect: samples/ai-body.jpg default
2021-07-29 16:33: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-07-29 16:33:40 DATA:  test-node.js result: performance: load: 2 total: 3744
2021-07-29 16:33:40 INFO:  test-node.js test complete: 13942 ms
2021-07-29 16:33:40 INFO:  test-node-gpu.js start
2021-07-29 16:33:41 WARN:  test-node-gpu.js stderr: 2021-07-29 16:33:41.667000: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] 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-07-29 16:33:41 WARN:  test-node-gpu.js stderr: 2021-07-29 16:33:41.954020: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory
2021-07-29 16:33:41 WARN:  test-node-gpu.js stderr: 2021-07-29 16:33:41.954055: 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-07-29 16:33:42 STATE: test-node-gpu.js passed: create human
2021-07-29 16:33:42 INFO:  test-node-gpu.js human version: 2.1.1
2021-07-29 16:33:42 INFO:  test-node-gpu.js platform: linux x64 agent: NodeJS v16.0.0
2021-07-29 16:33:42 INFO:  test-node-gpu.js tfjs version: 3.8.0
2021-07-29 16:33:42 STATE: test-node-gpu.js passed: set backend: tensorflow
2021-07-29 16:33:42 STATE: test-node-gpu.js passed: load models
2021-07-29 16:33:42 STATE: test-node-gpu.js result: defined models: 14 loaded models: 7
2021-07-29 16:33:42 STATE: test-node-gpu.js passed: warmup: none default
2021-07-29 16:33:43 STATE: test-node-gpu.js passed: warmup: face default
2021-07-29 16:33: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-07-29 16:33:43 DATA:  test-node-gpu.js result: performance: load: 280 total: 1365
2021-07-29 16:33:44 STATE: test-node-gpu.js passed: warmup: body default
2021-07-29 16:33: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-07-29 16:33:44 DATA:  test-node-gpu.js result: performance: load: 280 total: 1061
2021-07-29 16:33:44 INFO:  test-node-gpu.js test body variants
2021-07-29 16:33:45 STATE: test-node-gpu.js passed: load image: samples/ai-body.jpg [1,1200,1200,3]
2021-07-29 16:33:46 STATE: test-node-gpu.js passed: detect: samples/ai-body.jpg posenet
2021-07-29 16:33: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-07-29 16:33:46 DATA:  test-node-gpu.js result: performance: load: 280 total: 729
2021-07-29 16:33:47 STATE: test-node-gpu.js passed: load image: samples/ai-body.jpg [1,1200,1200,3]
2021-07-29 16:33:47 STATE: test-node-gpu.js passed: detect: samples/ai-body.jpg movenet
2021-07-29 16:33:47 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-07-29 16:33:47 DATA:  test-node-gpu.js result: performance: load: 280 total: 199
2021-07-29 16:33:47 STATE: test-node-gpu.js passed: detect: random default
2021-07-29 16:33:47 DATA:  test-node-gpu.js result: face: 0 body: 1 hand: 0 gesture: 0 object: 1 person: 0 {} {"score":0.72,"class":"person"} {"score":0,"keypoints":0}
2021-07-29 16:33:47 DATA:  test-node-gpu.js result: performance: load: 280 total: 172
2021-07-29 16:33:47 INFO:  test-node-gpu.js test: first instance
2021-07-29 16:33:48 STATE: test-node-gpu.js passed: load image: samples/ai-upper.jpg [1,720,688,3]
2021-07-29 16:33:48 STATE: test-node-gpu.js passed: detect: samples/ai-upper.jpg default
2021-07-29 16:33:48 DATA:  test-node-gpu.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-07-29 16:33:48 DATA:  test-node-gpu.js result: performance: load: 280 total: 146
2021-07-29 16:33:48 INFO:  test-node-gpu.js test: second instance
2021-07-29 16:33:48 STATE: test-node-gpu.js passed: load image: samples/ai-upper.jpg [1,720,688,3]
2021-07-29 16:33:49 STATE: test-node-gpu.js passed: detect: samples/ai-upper.jpg default
2021-07-29 16:33:49 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-07-29 16:33:49 DATA:  test-node-gpu.js result: performance: load: 7 total: 905
2021-07-29 16:33:49 INFO:  test-node-gpu.js test: concurrent
2021-07-29 16:33:49 STATE: test-node-gpu.js passed: load image: samples/ai-face.jpg [1,256,256,3]
2021-07-29 16:33:49 STATE: test-node-gpu.js passed: load image: samples/ai-face.jpg [1,256,256,3]
2021-07-29 16:33:50 STATE: test-node-gpu.js passed: load image: samples/ai-body.jpg [1,1200,1200,3]
2021-07-29 16:33:51 STATE: test-node-gpu.js passed: load image: samples/ai-body.jpg [1,1200,1200,3]
2021-07-29 16:33:55 STATE: test-node-gpu.js passed: detect: samples/ai-face.jpg default
2021-07-29 16:33:55 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-07-29 16:33:55 DATA:  test-node-gpu.js result: performance: load: 280 total: 3895
2021-07-29 16:33:55 STATE: test-node-gpu.js passed: detect: samples/ai-face.jpg default
2021-07-29 16:33:55 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-07-29 16:33:55 DATA:  test-node-gpu.js result: performance: load: 7 total: 3895
2021-07-29 16:33:55 STATE: test-node-gpu.js passed: detect: samples/ai-body.jpg default
2021-07-29 16:33:55 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-07-29 16:33:55 DATA:  test-node-gpu.js result: performance: load: 280 total: 3895
2021-07-29 16:33:55 STATE: test-node-gpu.js passed: detect: samples/ai-body.jpg default
2021-07-29 16:33:55 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-07-29 16:33:55 DATA:  test-node-gpu.js result: performance: load: 7 total: 3895
2021-07-29 16:33:55 INFO:  test-node-gpu.js test complete: 13148 ms
2021-07-29 16:33:55 INFO:  test-node-wasm.js start
2021-07-29 16:33:55 ERROR: test-node-wasm.js failed: model server: request to http://localhost:10030/models/ failed, reason: connect ECONNREFUSED 127.0.0.1:10030
2021-07-29 16:33:55 ERROR: test-node-wasm.js aborting test
2021-07-29 16:33:55 INFO:  status: {"passed":46,"failed":1}
2021-07-30 07:16:51 INFO:  @vladmandic/human version 2.1.2
2021-07-30 07:16:51 INFO:  User: vlado Platform: linux Arch: x64 Node: v16.0.0
2021-07-30 07:16:51 INFO:  tests: ["test-node.js","test-node-gpu.js","test-node-wasm.js"]
2021-07-30 07:16:51 INFO:  test-node.js start
2021-07-30 07:16:52 STATE: test-node.js passed: create human
2021-07-30 07:16:52 INFO:  test-node.js human version: 2.1.2
2021-07-30 07:16:52 INFO:  test-node.js platform: linux x64 agent: NodeJS v16.0.0
2021-07-30 07:16:52 INFO:  test-node.js tfjs version: 3.8.0
2021-07-30 07:16:53 STATE: test-node.js passed: set backend: tensorflow
2021-07-30 07:16:53 STATE: test-node.js passed: load models
2021-07-30 07:16:53 STATE: test-node.js result: defined models: 14 loaded models: 7
2021-07-30 07:16:53 STATE: test-node.js passed: warmup: none default
2021-07-30 07:16:54 STATE: test-node.js passed: warmup: face default
2021-07-30 07:16:54 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.42,"keypoints":4}
2021-07-30 07:16:54 DATA:  test-node.js result: performance: load: 285 total: 1298
2021-07-30 07:16:55 STATE: test-node.js passed: warmup: body default
2021-07-30 07:16:55 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.92,"keypoints":17}
2021-07-30 07:16:55 DATA:  test-node.js result: performance: load: 285 total: 1055
2021-07-30 07:16:55 INFO:  test-node.js test body variants
2021-07-30 07:16:56 STATE: test-node.js passed: load image: samples/ai-body.jpg [1,1200,1200,3]
2021-07-30 07:16:57 STATE: test-node.js passed: detect: samples/ai-body.jpg posenet
2021-07-30 07:16:57 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-07-30 07:16:57 DATA:  test-node.js result: performance: load: 285 total: 732
2021-07-30 07:16:57 STATE: test-node.js passed: load image: samples/ai-body.jpg [1,1200,1200,3]
2021-07-30 07:16:58 STATE: test-node.js passed: detect: samples/ai-body.jpg movenet
2021-07-30 07:16:58 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.92,"keypoints":17}
2021-07-30 07:16:58 DATA:  test-node.js result: performance: load: 285 total: 199
2021-07-30 07:16:58 STATE: test-node.js passed: detect: random default
2021-07-30 07:16:58 DATA:  test-node.js result: face: 0 body: 1 hand: 0 gesture: 0 object: 0 person: 0 {} {} {"score":0,"keypoints":0}
2021-07-30 07:16:58 DATA:  test-node.js result: performance: load: 285 total: 583
2021-07-30 07:16:58 INFO:  test-node.js test: first instance
2021-07-30 07:16:59 STATE: test-node.js passed: load image: samples/ai-upper.jpg [1,720,688,3]
2021-07-30 07:16:59 STATE: test-node.js passed: detect: samples/ai-upper.jpg default
2021-07-30 07:16:59 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.69,"keypoints":10}
2021-07-30 07:16:59 DATA:  test-node.js result: performance: load: 285 total: 857
2021-07-30 07:16:59 INFO:  test-node.js test: second instance
2021-07-30 07:17:00 STATE: test-node.js passed: load image: samples/ai-upper.jpg [1,720,688,3]
2021-07-30 07:17:01 STATE: test-node.js passed: detect: samples/ai-upper.jpg default
2021-07-30 07:17:01 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.69,"keypoints":10}
2021-07-30 07:17:01 DATA:  test-node.js result: performance: load: 1 total: 841
2021-07-30 07:17:01 INFO:  test-node.js test: concurrent
2021-07-30 07:17:01 STATE: test-node.js passed: load image: samples/ai-face.jpg [1,256,256,3]
2021-07-30 07:17:01 STATE: test-node.js passed: load image: samples/ai-face.jpg [1,256,256,3]
2021-07-30 07:17:02 STATE: test-node.js passed: load image: samples/ai-body.jpg [1,1200,1200,3]
2021-07-30 07:17:02 STATE: test-node.js passed: load image: samples/ai-body.jpg [1,1200,1200,3]
2021-07-30 07:17:06 STATE: test-node.js passed: detect: samples/ai-face.jpg default
2021-07-30 07:17:06 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.47,"keypoints":17}
2021-07-30 07:17:06 DATA:  test-node.js result: performance: load: 285 total: 3647
2021-07-30 07:17:06 STATE: test-node.js passed: detect: samples/ai-face.jpg default
2021-07-30 07:17:06 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.47,"keypoints":17}
2021-07-30 07:17:06 DATA:  test-node.js result: performance: load: 1 total: 3647
2021-07-30 07:17:06 STATE: test-node.js passed: detect: samples/ai-body.jpg default
2021-07-30 07:17:06 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.92,"keypoints":17}
2021-07-30 07:17:06 DATA:  test-node.js result: performance: load: 285 total: 3647
2021-07-30 07:17:06 STATE: test-node.js passed: detect: samples/ai-body.jpg default
2021-07-30 07:17:06 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.92,"keypoints":17}
2021-07-30 07:17:06 DATA:  test-node.js result: performance: load: 1 total: 3647
2021-07-30 07:17:06 INFO:  test-node.js test complete: 13835 ms
2021-07-30 07:17:06 INFO:  test-node-gpu.js start
2021-07-30 07:17:07 WARN:  test-node-gpu.js stderr: 2021-07-30 07:17:07.692969: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] 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-07-30 07:17:08 WARN:  test-node-gpu.js stderr: 2021-07-30 07:17:08.019268: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory
2021-07-30 07:17:08 WARN:  test-node-gpu.js stderr: 2021-07-30 07:17:08.019434: 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-07-30 07:17:08 STATE: test-node-gpu.js passed: create human
2021-07-30 07:17:08 INFO:  test-node-gpu.js human version: 2.1.2
2021-07-30 07:17:08 INFO:  test-node-gpu.js platform: linux x64 agent: NodeJS v16.0.0
2021-07-30 07:17:08 INFO:  test-node-gpu.js tfjs version: 3.8.0
2021-07-30 07:17:08 STATE: test-node-gpu.js passed: set backend: tensorflow
2021-07-30 07:17:08 STATE: test-node-gpu.js passed: load models
2021-07-30 07:17:08 STATE: test-node-gpu.js result: defined models: 14 loaded models: 7
2021-07-30 07:17:08 STATE: test-node-gpu.js passed: warmup: none default
2021-07-30 07:17:09 STATE: test-node-gpu.js passed: warmup: face default
2021-07-30 07:17:09 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.42,"keypoints":4}
2021-07-30 07:17:09 DATA:  test-node-gpu.js result: performance: load: 294 total: 1375
2021-07-30 07:17:10 STATE: test-node-gpu.js passed: warmup: body default
2021-07-30 07:17:10 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.92,"keypoints":17}
2021-07-30 07:17:10 DATA:  test-node-gpu.js result: performance: load: 294 total: 1066
2021-07-30 07:17:10 INFO:  test-node-gpu.js test body variants
2021-07-30 07:17:11 STATE: test-node-gpu.js passed: load image: samples/ai-body.jpg [1,1200,1200,3]
2021-07-30 07:17:12 STATE: test-node-gpu.js passed: detect: samples/ai-body.jpg posenet
2021-07-30 07:17:12 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-07-30 07:17:12 DATA:  test-node-gpu.js result: performance: load: 294 total: 738
2021-07-30 07:17:13 STATE: test-node-gpu.js passed: load image: samples/ai-body.jpg [1,1200,1200,3]
2021-07-30 07:17:13 STATE: test-node-gpu.js passed: detect: samples/ai-body.jpg movenet
2021-07-30 07:17:13 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.92,"keypoints":17}
2021-07-30 07:17:13 DATA:  test-node-gpu.js result: performance: load: 294 total: 195
2021-07-30 07:17:14 STATE: test-node-gpu.js passed: detect: random default
2021-07-30 07:17:14 DATA:  test-node-gpu.js result: face: 0 body: 1 hand: 0 gesture: 0 object: 0 person: 0 {} {} {"score":0,"keypoints":0}
2021-07-30 07:17:14 DATA:  test-node-gpu.js result: performance: load: 294 total: 616
2021-07-30 07:17:14 INFO:  test-node-gpu.js test: first instance
2021-07-30 07:17:14 STATE: test-node-gpu.js passed: load image: samples/ai-upper.jpg [1,720,688,3]
2021-07-30 07:17:15 STATE: test-node-gpu.js passed: detect: samples/ai-upper.jpg default
2021-07-30 07:17:15 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.69,"keypoints":10}
2021-07-30 07:17:15 DATA:  test-node-gpu.js result: performance: load: 294 total: 900
2021-07-30 07:17:15 INFO:  test-node-gpu.js test: second instance
2021-07-30 07:17:15 STATE: test-node-gpu.js passed: load image: samples/ai-upper.jpg [1,720,688,3]
2021-07-30 07:17:16 STATE: test-node-gpu.js passed: detect: samples/ai-upper.jpg default
2021-07-30 07:17:16 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.69,"keypoints":10}
2021-07-30 07:17:16 DATA:  test-node-gpu.js result: performance: load: 4 total: 901
2021-07-30 07:17:16 INFO:  test-node-gpu.js test: concurrent
2021-07-30 07:17:16 STATE: test-node-gpu.js passed: load image: samples/ai-face.jpg [1,256,256,3]
2021-07-30 07:17:16 STATE: test-node-gpu.js passed: load image: samples/ai-face.jpg [1,256,256,3]
2021-07-30 07:17:17 STATE: test-node-gpu.js passed: load image: samples/ai-body.jpg [1,1200,1200,3]
2021-07-30 07:17:18 STATE: test-node-gpu.js passed: load image: samples/ai-body.jpg [1,1200,1200,3]
2021-07-30 07:17:22 STATE: test-node-gpu.js passed: detect: samples/ai-face.jpg default
2021-07-30 07:17:22 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.47,"keypoints":17}
2021-07-30 07:17:22 DATA:  test-node-gpu.js result: performance: load: 294 total: 3775
2021-07-30 07:17:22 STATE: test-node-gpu.js passed: detect: samples/ai-face.jpg default
2021-07-30 07:17:22 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.47,"keypoints":17}
2021-07-30 07:17:22 DATA:  test-node-gpu.js result: performance: load: 4 total: 3775
2021-07-30 07:17:22 STATE: test-node-gpu.js passed: detect: samples/ai-body.jpg default
2021-07-30 07:17:22 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.92,"keypoints":17}
2021-07-30 07:17:22 DATA:  test-node-gpu.js result: performance: load: 294 total: 3775
2021-07-30 07:17:22 STATE: test-node-gpu.js passed: detect: samples/ai-body.jpg default
2021-07-30 07:17:22 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.92,"keypoints":17}
2021-07-30 07:17:22 DATA:  test-node-gpu.js result: performance: load: 4 total: 3775
2021-07-30 07:17:22 INFO:  test-node-gpu.js test complete: 14136 ms
2021-07-30 07:17:22 INFO:  test-node-wasm.js start
2021-07-30 07:17:22 ERROR: test-node-wasm.js failed: model server: request to http://localhost:10030/models/ failed, reason: connect ECONNREFUSED 127.0.0.1:10030
2021-07-30 07:17:22 ERROR: test-node-wasm.js aborting test
2021-07-30 07:17:22 INFO:  status: {"passed":46,"failed":1}