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

Exported tflite model is incompatible with MediaPipe #1211

Open
Tachi107 opened this issue Apr 13, 2024 · 0 comments
Open

Exported tflite model is incompatible with MediaPipe #1211

Tachi107 opened this issue Apr 13, 2024 · 0 comments

Comments

@Tachi107
Copy link
Contributor

Hi!

When exporting a model with python3 model_inspect.py --runmode=saved_model --tflite_path=model.tflite, the exported TensorFlow Lite model is incompatible with mobile libraries like MediaPipe and the TensorFlow Lite Task Library, since they require the model to have four output tensors (as described here), while the exported model is an EfficientDetNet model with only one output tensor.

If I understand correctly, the full model required by those libraries is EfficientDetModel, added in commit cedf982.

Would it be possible to improve the model_inspect.py script to export the TFLite model with all the four required tensors?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant