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

Convert .pb to .tflite file #89

Closed
bao-O opened this issue Oct 11, 2019 · 5 comments
Closed

Convert .pb to .tflite file #89

bao-O opened this issue Oct 11, 2019 · 5 comments

Comments

@bao-O
Copy link

bao-O commented Oct 11, 2019

I'm facing with running yolov3-tiny on mobile device. Can anyone show me how to convert .pb file to .tflite so I can use it with tensorflow-lite?
Thanks in advance

@peace195
Copy link

peace195 commented Oct 20, 2019

@DoriHp I did it here: https://github.com/peace195/tensorflow-lite-yolo-v3

I would I would appreciate if you give me a star for this project 👍

@bao-O
Copy link
Author

bao-O commented Oct 20, 2019

@peace195 I found your repo and tried both it and built-in tflite converter of tensorflow. Both worked well. I also gave you a star for your effort. The problem I'm facing now is implement it on android device. I'm not a professional in machine learning so it will be very helpful if you can give me a suggestion to resolve it.

@nscotto
Copy link

nscotto commented Oct 21, 2019

I have just tried it as well, conversion worked well, another star for you! ;)
Same as DoriHP, I think some details on how to recover the probabilities and the boxes would be really appreciated.
Thank you.

@peace195
Copy link

@nscotto Thanks! I will update it when I have time.

@peace195
Copy link

peace195 commented Oct 21, 2019

@nscotto @DoriHp Here is the example of tflite usage.
https://github.com/peace195/tensorflow-lite-yolo-v3/blob/master/tflite_example.py

It is in python code. I will update Android and iOS version later.

Also, I need some helps: peace195/tensorflow-lite-YOLOv3#1

@bao-O bao-O closed this as completed Jun 19, 2020
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