Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 #71

Open
Mahomed2904 opened this issue Jul 21, 2024 · 0 comments
Labels
comp:model Model related isssues Hardware:USB Accelerator Coral USB Accelerator issues subtype:ubuntu/linux Ubuntu/Linux Build/installation issues type:feature Feature requests

Comments

@Mahomed2904
Copy link

Mahomed2904 commented Jul 21, 2024

Description

Hi!

I'm currently trying to compile a tensorflow lite model model_2.tflite for coral 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

A get the same error when I run the lite model directly on the TPU using tflite_runtime.

The lite model was created from saved_model using:

  • tensorflow 2.16
  • python 3.11

It is integer (int8) quantized, and run well in a tensorflow default interpreter. How can I solve this problem for the Edge TPU?

Click to expand!

Issue Type

Feature Request

Operating System

Linux

Coral Device

USB Accelerator

Other Devices

No response

Programming Language

Other

Relevant Log Output

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
@google-coral-bot google-coral-bot bot added comp:model Model related isssues Hardware:USB Accelerator Coral USB Accelerator issues subtype:ubuntu/linux Ubuntu/Linux Build/installation issues type:feature Feature requests labels Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:model Model related isssues Hardware:USB Accelerator Coral USB Accelerator issues subtype:ubuntu/linux Ubuntu/Linux Build/installation issues type:feature Feature requests
Projects
None yet
Development

No branches or pull requests

1 participant