Hi;
Just trying your code with my own tensorflow lite classification model. But i'm getting out of bounds error in
tfService.Recognize(colors, colorCount);
for the reason of
outputTensors = new Tensor[output.Length]; is 1 but need 4 for
var detectionBoxes = (float[])outputTensors[0].GetData();
var detectionClasses = (float[])outputTensors[1].GetData();
var detectionScores = (float[])outputTensors[2].GetData();
var detectionNumDetections = (float[])outputTensors[3].GetData();
.
What could be the reason?
Hi;
Just trying your code with my own tensorflow lite classification model. But i'm getting out of bounds error in
tfService.Recognize(colors, colorCount);
for the reason of
outputTensors = new Tensor[output.Length]; is 1 but need 4 for
var detectionBoxes = (float[])outputTensors[0].GetData();
var detectionClasses = (float[])outputTensors[1].GetData();
var detectionScores = (float[])outputTensors[2].GetData();
var detectionNumDetections = (float[])outputTensors[3].GetData();
.
What could be the reason?