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

different prediction results H5 File and TfLite File #153

Open
staebchen0 opened this issue Nov 19, 2020 · 1 comment
Open

different prediction results H5 File and TfLite File #153

staebchen0 opened this issue Nov 19, 2020 · 1 comment

Comments

@staebchen0
Copy link

Hello everybody,

for my project I created an h5 model Keras file with Teachable Machine, which also works well :-)

Since the prediction is faster with TF Lite, I also downloaded the model in Teachable as a model_unquant.tflite file.

The pictures basis of the two models is identical.
Now I have found that the prediction with the model.tflite does not work well. The detection is not as good as with the h5 model, how can that be?

Does anyone have any idea why this could be? I would have expected the predictions of the models to be the same.

@staebchen0
Copy link
Author

can someone give me an answer to the question?

I've done a lot of tests in the meantime and the prediction result of the Kreas model and TF Lite floating point number is definitely different, although the data is based on the same.

After a training session, I downloaded a Kreas model and a TF Lite model

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