mirror of https://github.com/vladmandic/human
update
parent
beb2987ae0
commit
774f649f5a
|
@ -23,7 +23,7 @@
|
|||
- Image filters are disabled due to lack of Canvas and WeBGL access
|
||||
- Only supported input is Tensor due to missing image decoders
|
||||
- Warmup returns null and is marked as failed
|
||||
Missing native Image implementation in NodeJS
|
||||
Missing image decode in `tfjs-core`
|
||||
- Fails on object detection:
|
||||
`Kernel 'SparseToDense' not registered for backend 'wasm'`
|
||||
<https://github.com/tensorflow/tfjs/issues/4824>
|
||||
|
|
|
@ -5,8 +5,9 @@ const fetch = require('node-fetch').default;
|
|||
let config;
|
||||
|
||||
const log = (status, ...data) => {
|
||||
if (typeof process.send !== 'undefined') process.send([status, data]);
|
||||
else process.stdout.write(JSON.stringify(data));
|
||||
if (typeof process.send !== 'undefined') process.send([status, data]); // send to parent process over ipc
|
||||
// eslint-disable-next-line no-console
|
||||
else console.log(status, ...data); // write to console if no parent process
|
||||
};
|
||||
|
||||
async function testHTTP() {
|
||||
|
|
Loading…
Reference in New Issue