pull/280/head
Vladimir Mandic 2021-04-15 17:13:27 -04:00
parent 97fe47df86
commit da92d53667
2 changed files with 4 additions and 3 deletions

View File

@ -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>

View File

@ -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() {