mirror of https://github.com/vladmandic/human
update for node v15
parent
e7e51641e8
commit
2be58d94ab
|
@ -62,17 +62,17 @@ function str(...msg) {
|
|||
}
|
||||
|
||||
// helper function: wrapper around console output
|
||||
const log = (...msg) => {
|
||||
function log(...msg) {
|
||||
const dt = new Date();
|
||||
const ts = `${dt.getHours().toString().padStart(2, '0')}:${dt.getMinutes().toString().padStart(2, '0')}:${dt.getSeconds().toString().padStart(2, '0')}.${dt.getMilliseconds().toString().padStart(3, '0')}`;
|
||||
// eslint-disable-next-line no-console
|
||||
if (ui.console) console.log(ts, ...msg);
|
||||
};
|
||||
}
|
||||
|
||||
const status = (msg) => {
|
||||
function status(msg) {
|
||||
// eslint-disable-next-line no-console
|
||||
document.getElementById('status').innerText = msg;
|
||||
};
|
||||
}
|
||||
|
||||
let original;
|
||||
async function calcSimmilariry(result) {
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
"@tensorflow/tfjs-layers": "^2.7.0",
|
||||
"@tensorflow/tfjs-node": "^2.7.0",
|
||||
"@tensorflow/tfjs-node-gpu": "^2.7.0",
|
||||
"@vladmandic/pilogger": "^0.2.7",
|
||||
"@vladmandic/pilogger": "^0.2.9",
|
||||
"chokidar": "^3.4.3",
|
||||
"dayjs": "^1.9.6",
|
||||
"esbuild": "^0.8.12",
|
||||
"esbuild": "^0.8.15",
|
||||
"eslint": "^7.14.0",
|
||||
"eslint-config-airbnb-base": "^14.2.1",
|
||||
"eslint-plugin-import": "^2.22.1",
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
// { modules: 1061, moduleBytes: 3772720, outputBytes: 1531035 }
|
||||
|
||||
export * from '@tensorflow/tfjs/dist/index.js';
|
||||
export * from '@tensorflow/tfjs-backend-wasm/dist/index.js';
|
||||
export * from '@tensorflow/tfjs-backend-wasm';
|
||||
|
||||
// modular
|
||||
// { modules: 1064, moduleBytes: 3793219, outputBytes: 1535600 }
|
||||
|
|
Loading…
Reference in New Issue