TFJS-object-detection icon indicating copy to clipboard operation
TFJS-object-detection copied to clipboard

trouble on local master branch

Open NelozBri opened this issue 2 years ago • 1 comments

@hugozanini , I tried to run the code, but I had problems with the order in my local, to fix it, it was necessary to change the order of the objects you call in src/index.js, I don't really know if it is a problem with the javascript version, but now it works with the model: generatedBy: 2.4.0 convertedBy: Tensorflow v2.8.0

The new order is on line 118-120:

const boxes = predictions[0].arraySync();
const scores = predictions[4].arraySync();
const classes = predictions[5].dataSync();

javascript version: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 node version: v16.17.0

can you review and comment please

NelozBri avatar Jul 12 '23 21:07 NelozBri

Hi @NelozBri i just created a new Issue to add a comment on how to find the output definition. Did you already have some kind of documentation?

toky03 avatar Sep 29 '23 08:09 toky03