From 17356e0a4d0d69bd092b40e5752a80bb030bd34b Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Mon, 23 Aug 2021 08:41:50 -0400 Subject: [PATCH] updated wiki --- CHANGELOG.md | 1 + package.json | 4 ++-- src/human.ts | 4 ++-- src/warmup.ts | 0 wiki | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 src/warmup.ts diff --git a/CHANGELOG.md b/CHANGELOG.md index 3065015c..83130ca4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ Repository: **** ### **HEAD -> main** 2021/08/20 mandic00@live.com +- implemented movenet-multipose model ### **2.1.4** 2021/08/19 mandic00@live.com diff --git a/package.json b/package.json index fad861a7..beed9998 100644 --- a/package.json +++ b/package.json @@ -66,14 +66,14 @@ "@tensorflow/tfjs-layers": "^3.8.0", "@tensorflow/tfjs-node": "^3.8.0", "@tensorflow/tfjs-node-gpu": "^3.8.0", - "@types/node": "^16.6.2", + "@types/node": "^16.7.1", "@typescript-eslint/eslint-plugin": "^4.29.2", "@typescript-eslint/parser": "^4.29.2", "@vladmandic/pilogger": "^0.2.18", "canvas": "^2.8.0", "chokidar": "^3.5.2", "dayjs": "^1.10.6", - "esbuild": "^0.12.21", + "esbuild": "^0.12.22", "eslint": "^7.32.0", "eslint-config-airbnb-base": "^14.2.1", "eslint-plugin-import": "^2.24.1", diff --git a/src/human.ts b/src/human.ts index 4eb7e38b..f00f936c 100644 --- a/src/human.ts +++ b/src/human.ts @@ -30,7 +30,7 @@ import * as app from '../package.json'; import { Tensor, GraphModel } from './tfjs/types'; // export types -export type { Config } from './config'; +export { Config } from './config'; export type { Result, Face, Hand, Body, Item, Gesture, Person } from './result'; export type { DrawOptions } from './draw/draw'; @@ -371,7 +371,7 @@ export class Human { if (this.tf.getBackend() === 'webgl' || this.tf.getBackend() === 'humangl') { this.tf.ENV.set('CHECK_COMPUTATION_FOR_ERRORS', false); this.tf.ENV.set('WEBGL_CPU_FORWARD', true); - this.tf.ENV.set('WEBGL_PACK_DEPTHWISECONV', false); + this.tf.ENV.set('WEBGL_PACK_DEPTHWISECONV', true); this.tf.ENV.set('WEBGL_USE_SHAPES_UNIFORMS', true); // if (!this.config.object.enabled) this.tf.ENV.set('WEBGL_FORCE_F16_TEXTURES', true); // safe to use 16bit precision if (typeof this.config['deallocate'] !== 'undefined' && this.config['deallocate']) { // hidden param diff --git a/src/warmup.ts b/src/warmup.ts new file mode 100644 index 00000000..e69de29b diff --git a/wiki b/wiki index 65558ea9..e894eff5 160000 --- a/wiki +++ b/wiki @@ -1 +1 @@ -Subproject commit 65558ea91f6d5ec2dbc46bf9c46c592d34dce706 +Subproject commit e894eff5aee6aeca6a7690c5a3d6a0f7404d7f2c