I created an object detection model that I trained through darkflow. and I changed this to the tflite format to put into Android Studio
but I when I try to add metadata to this file, the following error occurs:
ValueError: The number of output tensors (1) should match the number of output tensor metadata (4)
I created an object detection model that I trained through darkflow. and I changed this to the tflite format to put into Android Studio
but I when I try to add metadata to this file, the following error occurs:
ValueError: The number of output tensors (1) should match the number of output tensor metadata (4)
For reference, the code for adding metadata was based on the below site. (https://www.tensorflow.org/lite/convert/metadata)
I want to know if there is any other way to add metadata to the darkflow model or if my model or code is wrong :sob: