Open sfiruch opened 4 years ago
It is quite likely as the error message indicates: Your tflite model used a custom operation that is not part of the standard tflite distribution.
Btw, upon checking your model, it seems that the model may be a quantized tflite model. Let me know if that is correct.
If you used a quantized model, please note that tflite on windows do not support quantized model. See this tensorflow ticket: https://github.com/tensorflow/tensorflow/issues/22532
You will not be able to run quantized model on Windows platform. Please create a non-quantized model instead. You will still be able to use the quantized model on Android, iOS, Mac OS or Linux.
Yes, it might be an unsupported operation. The model is from Google Meet. I think it is a quantized model. Wasn't aware that tflite supports fewer operations on Windows than in the browser.
In any case: I think the error message contains uninitialized memory - which seems to be a bug, no?
Tested with Emgu.TF.Lite 2.4.0.1059. Loading segm_full_v491.zip in a .NET 3.1 Core WPF app with
new Interpreter(new FlatBufferModel("segm_lite_v509.tflite")).AllocateTensors();
results in the following exception, with varying random characters for the custom op:(Btw: Thanks for the great work!)