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

Problem on using nncase to transfer tflite to C code #3

Open
TMaysGGS opened this issue Apr 18, 2019 · 1 comment
Open

Problem on using nncase to transfer tflite to C code #3

TMaysGGS opened this issue Apr 18, 2019 · 1 comment

Comments

@TMaysGGS
Copy link

Hi,

I was following the instructions from d80f0d2#diff-7d9fc065a89438c0ca7e01e4611d0f3aR30 to generate C code from .pb file and I was using the mobilenetv1.pb file from the example. I just tried the steps from the solutions and am stuck in the following step:

.\ncc.exe -i tflite -o k210code --dataset .\dataset\ .\bin\mobilenetv1.tflite .\bin\mobilenetv1.c
It shows: Fatal: output-format.

I checked the output-format options and 'k210code' has been modified to 'k210model' since v0.1.0 RC1. So I chose 'k210model' and ran it again:
.\ncc.exe -i tflite -o k210model --dataset .\dataset\ .\bin\mobilenetv1.tflite .\bin\mobilenetv1.c
and then I got a .kmodel file rather than the .c file.

I wonder if anyone can help me with that. Thanks a lot.

TMaysGGS

@xhsonny
Copy link

xhsonny commented Apr 18, 2019

+1. Is there a plan to release a version of tensorflow-workspace that work with kmodel format?

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