I recently trained an object detection model using Tensorflow 1.15 and the test result using Python is good. However, after converting it to .tflite format, running the model on Android showed a drastic drop in its performance.
Does the performance loss happen during model conversion to tf-lite? Is there anyway to avoid this loss of performance during conversion?
Reference:
Source of Training: https://github.com/tensorflow/models/tree/master/research/object_detection
Base Model for Transfer Learning: ssd_mobilenet_v1
Model Conversion: https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/running_on_mobile_tensorflowlite.md
Python Test Script: https://github.com/tensorflow/models/blob/master/research/object_detection/object_detection_tutorial.ipynb
Android Demo App: https://github.com/tensorflow/examples/tree/master/lite/examples/object_detection