Yes, I am getting that error. I did see your answer but I am using the Salad detector object demo. When I import the project into Android Studio, there is no file called TFLiteObjectDetionAPIModel.java. So I don’t know how to change the order of the outputs in this project. This is what worked for me with the Salad Objection Demo.


Changed notebook to CPU by editing the notepook settings


Changed the tensorflow version and modelmaker
!pip install -q tensorflow==2.5.0
!pip install -q --use-deprecated=legacy-resolver tflite-model-maker
!pip install -q pycocotools


Ran all the other cells as is and it worked. I was able to generate a model file (model.tflite) and evaluate that file as well as test the performance of that file on a URL image.