fix backend order initialization

pull/193/head
Vladimir Mandic 2021-10-03 08:12:26 -04:00
parent 3f2e6f5686
commit 3e1160237e
14 changed files with 804 additions and 760 deletions

View File

@ -135,6 +135,7 @@ async function detect(input) {
} else {
log.data(' Gesture: N/A');
}
if (result && result.object && result.object.length > 0) {
for (let i = 0; i < result.object.length; i++) {
const object = result.object[i];

View File

@ -10426,13 +10426,6 @@ async function register(instance) {
log("error: cannot set WebGL context:", err);
return;
}
const current = tfjs_esm_exports.backend().getGPGPUContext ? tfjs_esm_exports.backend().getGPGPUContext().gl : null;
if (current) {
log(`humangl webgl version:${current.getParameter(current.VERSION)} renderer:${current.getParameter(current.RENDERER)}`);
} else {
log("error: no current gl context:", current, config2.gl);
return;
}
try {
const ctx = new tfjs_esm_exports.GPGPUContext(config2.gl);
tfjs_esm_exports.registerBackend(config2.name, () => new tfjs_esm_exports.MathBackendWebGL(ctx), config2.priority);
@ -10450,6 +10443,13 @@ async function register(instance) {
log("error: cannot update WebGL backend registration:", err);
return;
}
const current = tfjs_esm_exports.backend().getGPGPUContext ? tfjs_esm_exports.backend().getGPGPUContext().gl : null;
if (current) {
log(`humangl webgl version:${current.getParameter(current.VERSION)} renderer:${current.getParameter(current.RENDERER)}`);
} else {
log("error: no current gl context:", current, config2.gl);
return;
}
try {
tfjs_esm_exports.ENV.set("WEBGL_VERSION", 2);
} catch (err) {
@ -10498,7 +10498,7 @@ async function check(instance, force = false) {
log("available backends:", available);
if (!available.includes(instance.config.backend)) {
log(`error: backend ${instance.config.backend} not found in registry`);
instance.config.backend = env2.node ? "tensorflow" : "humangl";
instance.config.backend = env2.node ? "tensorflow" : "webgl";
if (instance.config.debug)
log(`override: setting backend ${instance.config.backend}`);
}
@ -10536,9 +10536,16 @@ async function check(instance, force = false) {
log("changing webgl: WEBGL_DELETE_TEXTURE_THRESHOLD:", true);
tfjs_esm_exports.ENV.set("WEBGL_DELETE_TEXTURE_THRESHOLD", 0);
}
const gl = await tfjs_esm_exports.backend().getGPGPUContext().gl;
if (instance.config.debug)
log(`gl version:${gl.getParameter(gl.VERSION)} renderer:${gl.getParameter(gl.RENDERER)}`);
if (tfjs_esm_exports.backend().getGPGPUContext) {
const gl = await tfjs_esm_exports.backend().getGPGPUContext().gl;
if (instance.config.debug)
log(`gl version:${gl.getParameter(gl.VERSION)} renderer:${gl.getParameter(gl.RENDERER)}`);
}
}
if (tfjs_esm_exports.getBackend() === "humangl") {
tfjs_esm_exports.ENV.set("WEBGPU_USE_GLSL", true);
tfjs_esm_exports.ENV.set("WEBGL_PACK_DEPTHWISECONV", false);
tfjs_esm_exports.ENV.set("WEBGL_USE_SHAPES_UNIFORMS", true);
}
tfjs_esm_exports.enableProdMode();
await tfjs_esm_exports.ready();

File diff suppressed because one or more lines are too long

29
dist/human.esm.js vendored
View File

@ -70494,13 +70494,6 @@ async function register(instance) {
log("error: cannot set WebGL context:", err);
return;
}
const current = backend().getGPGPUContext ? backend().getGPGPUContext().gl : null;
if (current) {
log(`humangl webgl version:${current.getParameter(current.VERSION)} renderer:${current.getParameter(current.RENDERER)}`);
} else {
log("error: no current gl context:", current, config2.gl);
return;
}
try {
const ctx = new GPGPUContext(config2.gl);
registerBackend(config2.name, () => new MathBackendWebGL(ctx), config2.priority);
@ -70518,6 +70511,13 @@ async function register(instance) {
log("error: cannot update WebGL backend registration:", err);
return;
}
const current = backend().getGPGPUContext ? backend().getGPGPUContext().gl : null;
if (current) {
log(`humangl webgl version:${current.getParameter(current.VERSION)} renderer:${current.getParameter(current.RENDERER)}`);
} else {
log("error: no current gl context:", current, config2.gl);
return;
}
try {
ENV.set("WEBGL_VERSION", 2);
} catch (err) {
@ -70566,7 +70566,7 @@ async function check(instance, force = false) {
log("available backends:", available);
if (!available.includes(instance.config.backend)) {
log(`error: backend ${instance.config.backend} not found in registry`);
instance.config.backend = env2.node ? "tensorflow" : "humangl";
instance.config.backend = env2.node ? "tensorflow" : "webgl";
if (instance.config.debug)
log(`override: setting backend ${instance.config.backend}`);
}
@ -70604,9 +70604,16 @@ async function check(instance, force = false) {
log("changing webgl: WEBGL_DELETE_TEXTURE_THRESHOLD:", true);
ENV.set("WEBGL_DELETE_TEXTURE_THRESHOLD", 0);
}
const gl = await backend().getGPGPUContext().gl;
if (instance.config.debug)
log(`gl version:${gl.getParameter(gl.VERSION)} renderer:${gl.getParameter(gl.RENDERER)}`);
if (backend().getGPGPUContext) {
const gl = await backend().getGPGPUContext().gl;
if (instance.config.debug)
log(`gl version:${gl.getParameter(gl.VERSION)} renderer:${gl.getParameter(gl.RENDERER)}`);
}
}
if (getBackend() === "humangl") {
ENV.set("WEBGPU_USE_GLSL", true);
ENV.set("WEBGL_PACK_DEPTHWISECONV", false);
ENV.set("WEBGL_USE_SHAPES_UNIFORMS", true);
}
enableProdMode();
await ready();

File diff suppressed because one or more lines are too long

126
dist/human.js vendored

File diff suppressed because one or more lines are too long

View File

@ -10486,13 +10486,6 @@ async function register(instance) {
log("error: cannot set WebGL context:", err);
return;
}
const current = tf22.backend().getGPGPUContext ? tf22.backend().getGPGPUContext().gl : null;
if (current) {
log(`humangl webgl version:${current.getParameter(current.VERSION)} renderer:${current.getParameter(current.RENDERER)}`);
} else {
log("error: no current gl context:", current, config2.gl);
return;
}
try {
const ctx = new tf22.GPGPUContext(config2.gl);
tf22.registerBackend(config2.name, () => new tf22.MathBackendWebGL(ctx), config2.priority);
@ -10510,6 +10503,13 @@ async function register(instance) {
log("error: cannot update WebGL backend registration:", err);
return;
}
const current = tf22.backend().getGPGPUContext ? tf22.backend().getGPGPUContext().gl : null;
if (current) {
log(`humangl webgl version:${current.getParameter(current.VERSION)} renderer:${current.getParameter(current.RENDERER)}`);
} else {
log("error: no current gl context:", current, config2.gl);
return;
}
try {
tf22.ENV.set("WEBGL_VERSION", 2);
} catch (err) {
@ -10559,7 +10559,7 @@ async function check(instance, force = false) {
log("available backends:", available);
if (!available.includes(instance.config.backend)) {
log(`error: backend ${instance.config.backend} not found in registry`);
instance.config.backend = env2.node ? "tensorflow" : "humangl";
instance.config.backend = env2.node ? "tensorflow" : "webgl";
if (instance.config.debug)
log(`override: setting backend ${instance.config.backend}`);
}
@ -10597,9 +10597,16 @@ async function check(instance, force = false) {
log("changing webgl: WEBGL_DELETE_TEXTURE_THRESHOLD:", true);
tf23.ENV.set("WEBGL_DELETE_TEXTURE_THRESHOLD", 0);
}
const gl = await tf23.backend().getGPGPUContext().gl;
if (instance.config.debug)
log(`gl version:${gl.getParameter(gl.VERSION)} renderer:${gl.getParameter(gl.RENDERER)}`);
if (tf23.backend().getGPGPUContext) {
const gl = await tf23.backend().getGPGPUContext().gl;
if (instance.config.debug)
log(`gl version:${gl.getParameter(gl.VERSION)} renderer:${gl.getParameter(gl.RENDERER)}`);
}
}
if (tf23.getBackend() === "humangl") {
tf23.ENV.set("WEBGPU_USE_GLSL", true);
tf23.ENV.set("WEBGL_PACK_DEPTHWISECONV", false);
tf23.ENV.set("WEBGL_USE_SHAPES_UNIFORMS", true);
}
tf23.enableProdMode();
await tf23.ready();

View File

@ -10487,13 +10487,6 @@ async function register(instance) {
log("error: cannot set WebGL context:", err);
return;
}
const current = tf22.backend().getGPGPUContext ? tf22.backend().getGPGPUContext().gl : null;
if (current) {
log(`humangl webgl version:${current.getParameter(current.VERSION)} renderer:${current.getParameter(current.RENDERER)}`);
} else {
log("error: no current gl context:", current, config2.gl);
return;
}
try {
const ctx = new tf22.GPGPUContext(config2.gl);
tf22.registerBackend(config2.name, () => new tf22.MathBackendWebGL(ctx), config2.priority);
@ -10511,6 +10504,13 @@ async function register(instance) {
log("error: cannot update WebGL backend registration:", err);
return;
}
const current = tf22.backend().getGPGPUContext ? tf22.backend().getGPGPUContext().gl : null;
if (current) {
log(`humangl webgl version:${current.getParameter(current.VERSION)} renderer:${current.getParameter(current.RENDERER)}`);
} else {
log("error: no current gl context:", current, config2.gl);
return;
}
try {
tf22.ENV.set("WEBGL_VERSION", 2);
} catch (err) {
@ -10560,7 +10560,7 @@ async function check(instance, force = false) {
log("available backends:", available);
if (!available.includes(instance.config.backend)) {
log(`error: backend ${instance.config.backend} not found in registry`);
instance.config.backend = env2.node ? "tensorflow" : "humangl";
instance.config.backend = env2.node ? "tensorflow" : "webgl";
if (instance.config.debug)
log(`override: setting backend ${instance.config.backend}`);
}
@ -10598,9 +10598,16 @@ async function check(instance, force = false) {
log("changing webgl: WEBGL_DELETE_TEXTURE_THRESHOLD:", true);
tf23.ENV.set("WEBGL_DELETE_TEXTURE_THRESHOLD", 0);
}
const gl = await tf23.backend().getGPGPUContext().gl;
if (instance.config.debug)
log(`gl version:${gl.getParameter(gl.VERSION)} renderer:${gl.getParameter(gl.RENDERER)}`);
if (tf23.backend().getGPGPUContext) {
const gl = await tf23.backend().getGPGPUContext().gl;
if (instance.config.debug)
log(`gl version:${gl.getParameter(gl.VERSION)} renderer:${gl.getParameter(gl.RENDERER)}`);
}
}
if (tf23.getBackend() === "humangl") {
tf23.ENV.set("WEBGPU_USE_GLSL", true);
tf23.ENV.set("WEBGL_PACK_DEPTHWISECONV", false);
tf23.ENV.set("WEBGL_USE_SHAPES_UNIFORMS", true);
}
tf23.enableProdMode();
await tf23.ready();

29
dist/human.node.js vendored
View File

@ -10486,13 +10486,6 @@ async function register(instance) {
log("error: cannot set WebGL context:", err);
return;
}
const current = tf22.backend().getGPGPUContext ? tf22.backend().getGPGPUContext().gl : null;
if (current) {
log(`humangl webgl version:${current.getParameter(current.VERSION)} renderer:${current.getParameter(current.RENDERER)}`);
} else {
log("error: no current gl context:", current, config2.gl);
return;
}
try {
const ctx = new tf22.GPGPUContext(config2.gl);
tf22.registerBackend(config2.name, () => new tf22.MathBackendWebGL(ctx), config2.priority);
@ -10510,6 +10503,13 @@ async function register(instance) {
log("error: cannot update WebGL backend registration:", err);
return;
}
const current = tf22.backend().getGPGPUContext ? tf22.backend().getGPGPUContext().gl : null;
if (current) {
log(`humangl webgl version:${current.getParameter(current.VERSION)} renderer:${current.getParameter(current.RENDERER)}`);
} else {
log("error: no current gl context:", current, config2.gl);
return;
}
try {
tf22.ENV.set("WEBGL_VERSION", 2);
} catch (err) {
@ -10559,7 +10559,7 @@ async function check(instance, force = false) {
log("available backends:", available);
if (!available.includes(instance.config.backend)) {
log(`error: backend ${instance.config.backend} not found in registry`);
instance.config.backend = env2.node ? "tensorflow" : "humangl";
instance.config.backend = env2.node ? "tensorflow" : "webgl";
if (instance.config.debug)
log(`override: setting backend ${instance.config.backend}`);
}
@ -10597,9 +10597,16 @@ async function check(instance, force = false) {
log("changing webgl: WEBGL_DELETE_TEXTURE_THRESHOLD:", true);
tf23.ENV.set("WEBGL_DELETE_TEXTURE_THRESHOLD", 0);
}
const gl = await tf23.backend().getGPGPUContext().gl;
if (instance.config.debug)
log(`gl version:${gl.getParameter(gl.VERSION)} renderer:${gl.getParameter(gl.RENDERER)}`);
if (tf23.backend().getGPGPUContext) {
const gl = await tf23.backend().getGPGPUContext().gl;
if (instance.config.debug)
log(`gl version:${gl.getParameter(gl.VERSION)} renderer:${gl.getParameter(gl.RENDERER)}`);
}
}
if (tf23.getBackend() === "humangl") {
tf23.ENV.set("WEBGPU_USE_GLSL", true);
tf23.ENV.set("WEBGL_PACK_DEPTHWISECONV", false);
tf23.ENV.set("WEBGL_USE_SHAPES_UNIFORMS", true);
}
tf23.enableProdMode();
await tf23.ready();

View File

@ -45,7 +45,7 @@ export async function check(instance, force = false) {
if (!available.includes(instance.config.backend)) {
log(`error: backend ${instance.config.backend} not found in registry`);
instance.config.backend = env.env.node ? 'tensorflow' : 'humangl';
instance.config.backend = env.env.node ? 'tensorflow' : 'webgl';
if (instance.config.debug) log(`override: setting backend ${instance.config.backend}`);
}
@ -83,9 +83,17 @@ export async function check(instance, force = false) {
log('changing webgl: WEBGL_DELETE_TEXTURE_THRESHOLD:', true);
tf.ENV.set('WEBGL_DELETE_TEXTURE_THRESHOLD', 0);
}
// @ts-ignore getGPGPUContext only exists on WebGL backend
const gl = await tf.backend().getGPGPUContext().gl;
if (instance.config.debug) log(`gl version:${gl.getParameter(gl.VERSION)} renderer:${gl.getParameter(gl.RENDERER)}`);
if (tf.backend().getGPGPUContext) {
const gl = await tf.backend().getGPGPUContext().gl;
if (instance.config.debug) log(`gl version:${gl.getParameter(gl.VERSION)} renderer:${gl.getParameter(gl.RENDERER)}`);
}
}
// handle webgpu
if (tf.getBackend() === 'humangl') {
tf.ENV.set('WEBGPU_USE_GLSL', true);
tf.ENV.set('WEBGL_PACK_DEPTHWISECONV', false);
tf.ENV.set('WEBGL_USE_SHAPES_UNIFORMS', true);
}
// wait for ready

View File

@ -93,13 +93,6 @@ export async function register(instance): Promise<void> {
log('error: cannot set WebGL context:', err);
return;
}
const current = tf.backend().getGPGPUContext ? tf.backend().getGPGPUContext().gl : null;
if (current) {
log(`humangl webgl version:${current.getParameter(current.VERSION)} renderer:${current.getParameter(current.RENDERER)}`);
} else {
log('error: no current gl context:', current, config.gl);
return;
}
try {
const ctx = new tf.GPGPUContext(config.gl);
tf.registerBackend(config.name, () => new tf.MathBackendWebGL(ctx), config.priority);
@ -117,6 +110,13 @@ export async function register(instance): Promise<void> {
log('error: cannot update WebGL backend registration:', err);
return;
}
const current = tf.backend().getGPGPUContext ? tf.backend().getGPGPUContext().gl : null;
if (current) {
log(`humangl webgl version:${current.getParameter(current.VERSION)} renderer:${current.getParameter(current.RENDERER)}`);
} else {
log('error: no current gl context:', current, config.gl);
return;
}
try {
tf.ENV.set('WEBGL_VERSION', 2);
} catch (err) {

View File

@ -1,24 +1,24 @@
2021-10-02 11:32:57 INFO:  @vladmandic/human version 2.3.0
2021-10-02 11:32:57 INFO:  User: vlado Platform: linux Arch: x64 Node: v16.10.0
2021-10-02 11:32:57 INFO:  Application: {"name":"@vladmandic/human","version":"2.3.0"}
2021-10-02 11:32:57 INFO:  Environment: {"profile":"production","config":"build.json","tsconfig":true,"eslintrc":true,"git":true}
2021-10-02 11:32:57 INFO:  Toolchain: {"build":"0.5.3","esbuild":"0.13.3","typescript":"4.4.3","typedoc":"0.22.4","eslint":"7.32.0"}
2021-10-02 11:32:57 INFO:  Build: {"profile":"production","steps":["clean","compile","typings","typedoc","lint","changelog"]}
2021-10-02 11:32:57 STATE: Clean: {"locations":["dist/*","types/*","typedoc/*"]}
2021-10-02 11:32:57 STATE: Compile: {"name":"tfjs/nodejs/cpu","format":"cjs","platform":"node","input":"tfjs/tf-node.ts","output":"dist/tfjs.esm.js","files":1,"inputBytes":102,"outputBytes":1275}
2021-10-02 11:32:57 STATE: Compile: {"name":"human/nodejs/cpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node.js","files":50,"inputBytes":506998,"outputBytes":421960}
2021-10-02 11:32:57 STATE: Compile: {"name":"tfjs/nodejs/gpu","format":"cjs","platform":"node","input":"tfjs/tf-node-gpu.ts","output":"dist/tfjs.esm.js","files":1,"inputBytes":110,"outputBytes":1283}
2021-10-02 11:32:57 STATE: Compile: {"name":"human/nodejs/gpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-gpu.js","files":50,"inputBytes":507006,"outputBytes":421964}
2021-10-02 11:32:57 STATE: Compile: {"name":"tfjs/nodejs/wasm","format":"cjs","platform":"node","input":"tfjs/tf-node-wasm.ts","output":"dist/tfjs.esm.js","files":1,"inputBytes":149,"outputBytes":1350}
2021-10-02 11:32:57 STATE: Compile: {"name":"human/nodejs/wasm","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-wasm.js","files":50,"inputBytes":507073,"outputBytes":422036}
2021-10-02 11:32:57 STATE: Compile: {"name":"tfjs/browser/version","format":"esm","platform":"browser","input":"tfjs/tf-version.ts","output":"dist/tfjs.version.js","files":1,"inputBytes":1063,"outputBytes":1631}
2021-10-02 11:32:57 STATE: Compile: {"name":"tfjs/browser/esm/nobundle","format":"esm","platform":"browser","input":"tfjs/tf-browser.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":3088,"outputBytes":793}
2021-10-02 11:32:57 STATE: Compile: {"name":"human/browser/esm/nobundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm-nobundle.js","files":50,"inputBytes":506516,"outputBytes":423422}
2021-10-02 11:32:57 STATE: Compile: {"name":"tfjs/browser/esm/bundle","format":"esm","platform":"browser","input":"tfjs/tf-browser.ts","output":"dist/tfjs.esm.js","files":8,"inputBytes":3088,"outputBytes":2377041}
2021-10-02 11:32:58 STATE: Compile: {"name":"human/browser/iife/bundle","format":"iife","platform":"browser","input":"src/human.ts","output":"dist/human.js","files":50,"inputBytes":2882764,"outputBytes":1417562}
2021-10-02 11:32:58 STATE: Compile: {"name":"human/browser/esm/bundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm.js","files":50,"inputBytes":2882764,"outputBytes":2628425}
2021-10-02 11:33:14 STATE: Typings: {"input":"src/human.ts","output":"types","files":6}
2021-10-02 11:33:19 STATE: TypeDoc: {"input":"src/human.ts","output":"typedoc","objects":34,"generated":true}
2021-10-02 11:33:45 STATE: Lint: {"locations":["*.json","src/**/*.ts","test/**/*.js","demo/**/*.js"],"files":84,"errors":0,"warnings":0}
2021-10-02 11:33:45 STATE: ChangeLog: {"repository":"https://github.com/vladmandic/human","branch":"main","output":"CHANGELOG.md"}
2021-10-02 11:33:45 INFO:  Done...
2021-10-03 08:08:21 INFO:  @vladmandic/human version 2.3.0
2021-10-03 08:08:21 INFO:  User: vlado Platform: linux Arch: x64 Node: v16.10.0
2021-10-03 08:08:21 INFO:  Application: {"name":"@vladmandic/human","version":"2.3.0"}
2021-10-03 08:08:21 INFO:  Environment: {"profile":"production","config":"build.json","tsconfig":true,"eslintrc":true,"git":true}
2021-10-03 08:08:21 INFO:  Toolchain: {"build":"0.5.3","esbuild":"0.13.3","typescript":"4.4.3","typedoc":"0.22.4","eslint":"7.32.0"}
2021-10-03 08:08:21 INFO:  Build: {"profile":"production","steps":["clean","compile","typings","typedoc","lint","changelog"]}
2021-10-03 08:08:21 STATE: Clean: {"locations":["dist/*","types/*","typedoc/*"]}
2021-10-03 08:08:21 STATE: Compile: {"name":"tfjs/nodejs/cpu","format":"cjs","platform":"node","input":"tfjs/tf-node.ts","output":"dist/tfjs.esm.js","files":1,"inputBytes":102,"outputBytes":1275}
2021-10-03 08:08:21 STATE: Compile: {"name":"human/nodejs/cpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node.js","files":50,"inputBytes":507203,"outputBytes":422220}
2021-10-03 08:08:21 STATE: Compile: {"name":"tfjs/nodejs/gpu","format":"cjs","platform":"node","input":"tfjs/tf-node-gpu.ts","output":"dist/tfjs.esm.js","files":1,"inputBytes":110,"outputBytes":1283}
2021-10-03 08:08:21 STATE: Compile: {"name":"human/nodejs/gpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-gpu.js","files":50,"inputBytes":507211,"outputBytes":422224}
2021-10-03 08:08:21 STATE: Compile: {"name":"tfjs/nodejs/wasm","format":"cjs","platform":"node","input":"tfjs/tf-node-wasm.ts","output":"dist/tfjs.esm.js","files":1,"inputBytes":149,"outputBytes":1350}
2021-10-03 08:08:21 STATE: Compile: {"name":"human/nodejs/wasm","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-wasm.js","files":50,"inputBytes":507278,"outputBytes":422296}
2021-10-03 08:08:21 STATE: Compile: {"name":"tfjs/browser/version","format":"esm","platform":"browser","input":"tfjs/tf-version.ts","output":"dist/tfjs.version.js","files":1,"inputBytes":1063,"outputBytes":1631}
2021-10-03 08:08:21 STATE: Compile: {"name":"tfjs/browser/esm/nobundle","format":"esm","platform":"browser","input":"tfjs/tf-browser.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":3088,"outputBytes":793}
2021-10-03 08:08:21 STATE: Compile: {"name":"human/browser/esm/nobundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm-nobundle.js","files":50,"inputBytes":506721,"outputBytes":423742}
2021-10-03 08:08:21 STATE: Compile: {"name":"tfjs/browser/esm/bundle","format":"esm","platform":"browser","input":"tfjs/tf-browser.ts","output":"dist/tfjs.esm.js","files":8,"inputBytes":3088,"outputBytes":2377041}
2021-10-03 08:08:22 STATE: Compile: {"name":"human/browser/iife/bundle","format":"iife","platform":"browser","input":"src/human.ts","output":"dist/human.js","files":50,"inputBytes":2882969,"outputBytes":1417710}
2021-10-03 08:08:22 STATE: Compile: {"name":"human/browser/esm/bundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm.js","files":50,"inputBytes":2882969,"outputBytes":2628660}
2021-10-03 08:08:38 STATE: Typings: {"input":"src/human.ts","output":"types","files":6}
2021-10-03 08:08:44 STATE: TypeDoc: {"input":"src/human.ts","output":"typedoc","objects":34,"generated":true}
2021-10-03 08:09:11 STATE: Lint: {"locations":["*.json","src/**/*.ts","test/**/*.js","demo/**/*.js"],"files":84,"errors":0,"warnings":0}
2021-10-03 08:09:12 STATE: ChangeLog: {"repository":"https://github.com/vladmandic/human","branch":"main","output":"CHANGELOG.md"}
2021-10-03 08:09:12 INFO:  Done...

File diff suppressed because it is too large Load Diff

View File

@ -1 +1 @@
{"version":3,"file":"backend.d.ts","sourceRoot":"","sources":["../../../src/tfjs/backend.ts"],"names":[],"mappings":"AAAA,oDAAoD;AAOpD,wBAAsB,KAAK,CAAC,QAAQ,KAAA,EAAE,KAAK,UAAQ,oBA6FlD;AAGD,wBAAgB,OAAO,CAAC,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,MAAM,KAAA,QAazD"}
{"version":3,"file":"backend.d.ts","sourceRoot":"","sources":["../../../src/tfjs/backend.ts"],"names":[],"mappings":"AAAA,oDAAoD;AAOpD,wBAAsB,KAAK,CAAC,QAAQ,KAAA,EAAE,KAAK,UAAQ,oBAqGlD;AAGD,wBAAgB,OAAO,CAAC,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,MAAM,KAAA,QAazD"}