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

Failed to initialize detector #4

Closed
manhlt1990 opened this issue Aug 1, 2022 · 3 comments
Closed

Failed to initialize detector #4

manhlt1990 opened this issue Aug 1, 2022 · 3 comments

Comments

@manhlt1990
Copy link

Failed to initialize detector. Input tensor has type kTfLiteFloat32: it requires specifying NormalizationOptions metadata to preprocess input images.

@MPolaris
Copy link
Owner

MPolaris commented Aug 1, 2022

Are you sure that error cause by this project?
I can't figure error out occurs on which part...

@manhlt1990
Copy link
Author

Are you sure that error cause by this project? I can't figure error out occurs on which part...

I was convertd to .tflite successfully, and then run that on android => tensorflow lite throw that error.
and now I have an other error when rebuild .tflie

image

@MPolaris
Copy link
Owner

MPolaris commented Aug 2, 2022

For error on android, maybe you can try running tflite model on PC firstly, and select lastest or nightly(I guess) version tensorflow.
For last question, it seems your python or tensorflow environment was error, you should reinstall requirments. Tensorflow version >=2.5, recommend 2.8 or 2.9

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

2 participants