I’m using inferencejs
version 1.0.16 from here: inferencejs - npm but I’m having an issue trying to set configuration parameters like the guide. This is the example:
const configuration = {scoreThreshold: 0.5, iouThreshold: 0.5, maxNumBoxes: 20};
const workerId = await inferEngine.startWorker("[model name]", "[version]", "[publishable key]", configuration);
However, configuration parameter is expecting an array. If you pass in an object, you get an error indicating that the passed in object is not an iterable since it is trying to use the spread operator.