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

How to put a darkflow model into Android Studio #1197

Open
M1nseoPark opened this issue May 15, 2021 · 0 comments
Open

How to put a darkflow model into Android Studio #1197

M1nseoPark opened this issue May 15, 2021 · 0 comments

Comments

@M1nseoPark
Copy link

I created an object detection model that I trained through darkflow. and I changed this to the tflite format to put into Android Studio

but I when I try to add metadata to this file, the following error occurs:
ValueError: The number of output tensors (1) should match the number of output tensor metadata (4)

For reference, the code for adding metadata was based on the below site.
(https://www.tensorflow.org/lite/convert/metadata)

I want to know if there is any other way to add metadata to the darkflow model or if my model or code is wrong 😭

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