Tengine icon indicating copy to clipboard operation
Tengine copied to clipboard

"*.tflite" to "*.tmfile" conversion issue.

Open kprastey opened this issue 3 years ago • 1 comments

Need to run custom mobilenetV2 based "*.tflite" model on the Khadas-VIM3's NPU.

Tried converting a custom mobilenetV2 based classifier model from ".tflite" to ".tmfile", but faced the following error.

image_1

It seems like one of the operations (i.e. DEQUANTIZE) isn't supported.

also tried ".tflite" -> ".onnx" ->"*.tmfile". which gave similar errors.

image_2

Looking forward to having technical assistance from your end regarding running custom "*.tflite" models having operations like DEQUANTIZE, QUANTIZE, etc. on the khadas VIM3's NPU.

kprastey avatar Jul 07 '22 09:07 kprastey

You can try to use tflite model that isn't Quantized, otherwise tflite model will include Dequantize Layer.

GitEasonXu avatar Jul 22 '22 02:07 GitEasonXu