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

TensorFlow.jl with Google's Coral board #516

Open
ghost opened this issue Jan 17, 2020 · 1 comment
Open

TensorFlow.jl with Google's Coral board #516

ghost opened this issue Jan 17, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Jan 17, 2020

Hello

I want to use TensorFlow.jl to work with Google’s Coral board (https://coral.ai/docs/edgetpu/models-intro/).
In order to do this, I have to convert the .pb graph to a quantized .tflite graph. So:

  1. Is there an API in TensorFlow.jl to convert from TensorFlow to TensorFlow Lite?

FIGURE 1
image

  1. Or is it possible to use the Python API for doing this? (https://www.tensorflow.org/lite/convert/python_api)
    Check Figure 2. I got it from the JuliaCon presentation. It was said that it is possible to share code with Python users.

FIGURE 2
image

@oxinabox
Copy link
Collaborator

Here is docs on how to export the graph

https://malmaud.github.io/TensorFlow.jl/latest/saving.html#Saving-and-restoring-models-1

So you should be able to give that graph to the tflite converter, in theory.

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