pull/79/head
Vladimir Mandic 2021-02-26 10:13:31 -05:00
parent e8ce97c332
commit ccbd6d0021
11 changed files with 16 additions and 16 deletions

View File

@ -530,7 +530,7 @@ async function main() {
if (ui.modelsPreload && !ui.useWorker) {
status('loading');
await human.load(userConfig); // this is not required, just pre-loads all models
const loaded = Object.keys(human.models).filter((a) => human.models[a]).map((b) => b);
const loaded = Object.keys(human.models).filter((a) => human.models[a]);
log('Demo loaded models:', loaded);
}
if (!ui.useWorker) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -17,7 +17,7 @@
"imports": []
},
"demo/browser.js": {
"bytes": 26849,
"bytes": 26835,
"imports": [
{
"path": "dist/human.esm.js",
@ -43,7 +43,7 @@
"imports": [],
"exports": [],
"inputs": {},
"bytes": 2038335
"bytes": 2038301
},
"dist/demo-browser-index.js": {
"imports": [],
@ -63,10 +63,10 @@
"bytesInOutput": 6759
},
"demo/browser.js": {
"bytesInOutput": 17645
"bytesInOutput": 17635
}
},
"bytes": 1380276
"bytes": 1380266
}
}
}

File diff suppressed because one or more lines are too long

2
dist/human.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

2
dist/human.node.js vendored

File diff suppressed because one or more lines are too long

2
dist/human.ts vendored

File diff suppressed because one or more lines are too long

View File

@ -52,7 +52,7 @@ async function main() {
logger.info('TFJS Flags:', tf.env().features);
logger.info('Loading models:');
await human.load(config);
const loaded = Object.keys(human.models).filter((a) => human.models[a]).map((b) => b);
const loaded = Object.keys(human.models).filter((a) => human.models[a]);
logger.info('Loaded:', loaded);
logger.info('Memory state:', human.tf.engine().memory());
logger.info('Test Complete');

2
wiki

@ -1 +1 @@
Subproject commit ac89ded33d7063aa059575eae1df3f81bfb35b7f
Subproject commit fcace27e636586c0174742198c9b3df3d06e07ee