I am using mobilenet_ssd.tflite as the mode from the official tensorflow github. Code below:
int input = interpreter->inputs()[0];
interpreter->ResizeInputTensor(input, sizes);
This will cause error when calling :
interpreter->AllocateTensors()
If I comment out the interpreter->ResizeInputTensor(input, sizes); Then every thing is fine.
Any suggestions?
Another question that I asked: change the input image size for mobilenet_ssd using tensorflow