我已经将Yolo模型转换为.tflite,以便在安卓系统中使用。Rectangle coordinates y = int(center_y - h / 2) 我使用我的问题是在android中使用这个模型。我已经在“解释器tflite”中加载了模型,我正在从相机获得byte[]格式的输入帧。如何将其转换为tflite.run所需的输入(输入、输出)?
MLKit只支持.tflite模型,但即使在我使用toco获取TensorFlow精简模型之后,文件大小对Firebase来说也太大了(95MB,只允许40MB)。当我执行前者时,我得到以下错误消息:Unsupported TensorFlow op: Dequantize) for which the quantized form is not yet implemented