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 always has nsfw range between 0.6 to 0.7 #24

Open
sandeep5193 opened this issue Mar 8, 2020 · 2 comments
Open

exported tflite always has nsfw range between 0.6 to 0.7 #24

sandeep5193 opened this issue Mar 8, 2020 · 2 comments

Comments

@sandeep5193
Copy link

I have been able to export it using tf 1.15. Using it in Firebase ML kit sample, score is always between 0.6-0.7, no matter what is fed into the network.

I have also used one shared in #19 but same results.

Can you share your tflite if possible for double-check?

@amirkhn33
Copy link

I guess you might be skipping the pre-processing steps before feeding the image to the tflite model because of which you're facing this issue.

@unverbraucht
Copy link

I also ran into this issue. The list of postprocessing steps in image_utils.py is quite long. Has anybody gotten this to work with tflite?

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

3 participants