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

Support TensorFlow conversion #22

Open
john1deer opened this issue May 22, 2017 · 4 comments
Open

Support TensorFlow conversion #22

john1deer opened this issue May 22, 2017 · 4 comments

Comments

@john1deer
Copy link

The conversion tools support most popular frameworks - but not the most popular of them all - TensorFlow.
It would be nice to have an easy way to port a TF network to CNNdroid.

@akbarxie
Copy link

I have never use TF ,but in my project we used the model we defined ourselves,just try to get the weight and bias from TF moedel and send it to CNNdroid layers,it may be faster than get the next version of CNNdroid.(By the way the author is a very nice person)
We will help you whenever you encounter problems.

@someonelikeypp
Copy link

someonelikeypp commented Mar 27, 2019

Here are some questions to ask

  1. Can this project support the TensorFlow model now
  2. Is there any conditional limit: mobile phone system or opengl es version, because only tensorflow-lite is available on TensorFlow and the device should support at least opengl es 3.1

Hope to be able to get help

@latifisalar
Copy link
Member

  1. Unfortunately, we have not developed the TF conversion script. But, if you extract the weights and biases from network and save them in MessagePack binary format, you should be able to run them on CNNdroid. You can have a look at Caffe to CNNdroid conversion script to get an idea about how to save them in MessagePack.
  2. The only system compatibility constraint is to have Android 4.0 and later running on your mobile phone. Other than that, you need to check the supported layers and network configurations. For example, residual connections are not supported.

Thanks

@someonelikeypp
Copy link

Thanks so much.
It helps a lot.

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

4 participants