tensorflow / tflite-micro

Infrastructure to enable deployment of ML models to low-power resource-constrained embedded targets (including microcontrollers and digital signal processors).
Apache License 2.0
1.93k stars 826 forks source link

Didn't find op for builtin opcode 'EXP' version '2'. An older version of this builtin might be supported. Are you using an old TFLite binary with a newer model #2633

Closed Mahomed2904 closed 3 months ago

Mahomed2904 commented 4 months ago

Hi!

I'm currently trying to compile a tensorflow lite model _model2.tflite for edge TPU, but I'm getting the error:

Edge TPU Compiler version 16.0.384591198
ERROR: Didn't find op for builtin opcode 'EXP' version '2'. An older version of this builtin might be supported. Are you using an old TFLite binary with a newer model?

ERROR: Registration failed.

Invalid model: model_2.tflite
Model could not be parsed

The lite model was created from saved_model using:

And it run well in a tensorflow default interpreter. How can I solve this problem for the Edge TPU?

github-actions[bot] commented 3 months ago

"This issue is being marked as stale due to inactivity. Remove label or comment to prevent closure in 5 days."

github-actions[bot] commented 3 months ago

"This issue is being closed because it has been marked as stale for 5 days with no further activity."