【发布时间】:2018-06-19 08:20:32
【问题描述】:
我有一个 .pb 模型,我想将其用作自定义 MLKit 模型。 MLKit 仅支持 .tflite 模型,但即使在我使用 toco 获取 TensorFlow Lite 模型之后,文件大小对于 Firebase 来说还是太大(95 MB,只允许 40 MB)。
有没有办法量化图然后转换为 TFLite 或量化 .tflite 图?
当我执行前者时,我收到以下错误消息:Unsupported TensorFlow op: Dequantize) for which the quantized form is not yet implemented. Sorry, and patches welcome (that's a relatively fun patch to write, mostly providing the actual quantized arithmetic code for this op).
【问题讨论】:
标签: android tensorflow tensorflow-lite firebase-mlkit