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

Freezing and tflite transformation of model #2

Open
benchmarker007 opened this issue Mar 25, 2019 · 1 comment
Open

Freezing and tflite transformation of model #2

benchmarker007 opened this issue Mar 25, 2019 · 1 comment

Comments

@benchmarker007
Copy link

benchmarker007 commented Mar 25, 2019

Interesting work!
I am trying to set up my hobby project, but need to transform my custom tensorflow model I found(it's also mobilenet). I can't get it running on my edge TPU, I guess I did something wrong in process of transforming model to tflite. Could yu please provide information how you transformed model(freezing and tflite transformation)?

I found freezed model in this script and then transformed it to tflite with

converter = tf.contrib.lite.TFLiteConverter.from_frozen_graph(path_to_pb_file: str, input_arrays= ['input'], output_arrays=['output'])
tflite_model = converter.convert()

Any tips will be greatly appreciated!

@PINTO0309
Copy link
Owner

I do not know if it will help you, but below is my article. (Japanese + English)
https://qiita.com/PINTO/items/8a91d79abe6e939ef01c

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