How to fix “TOCO failed. Check failed: dim >= 1 (0 vs. 1)” error while converting a frozen graph into a tensorflow_lite model
问题 I have trained an object detection model. Now I'm trying to speed it up for inference using quantization provided by Tensorflow Lite graph converter. But when I call the tf.lite.TFLiteConverter.from_frozen_graph method, I am running into an error. I have also found a similar, unanswered question asked almost a year ago and I was wondering if TFLite's support has improved now. Here is what I'm calling: converter = tf.lite.TFLiteConverter.from_frozen_graph( model_path, input_arrays = ['input_1'