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
tensorflowlite v2.3 + XNNPACK run into error {ModifyGraphWithDelegate is disallowed} #42757
Comments
@honglh |
@honglh, When you don't use
Also please take a look at this comment from the developer for the similiar issue. Thank you! |
This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further. |
Please go to Stack Overflow for help and support:
https://stackoverflow.com/questions/tagged/tensorflow
If you open a GitHub issue, here is our policy:
documentation (for small docs fixes please send a PR instead).
here.
Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.
System information
provided in TensorFlow): No
happens on a mobile device: RPI2
You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
You can obtain the TensorFlow version with:
python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"
Describe the problem
I built tensorflow
v2.3.0
with XNNPack enabled--define tflite_with_xnnpack=true
However, when I try to inference withcoco_ssd_mobilenet_v1_1.0_quant_2018_06_29.tflite
, the starter model from example page, i see this errorThe XNNPACK thus was not effective during inference.
Is this error expected? Is so if there a CPU model that can be used with XNNPACK? (Right now it seems there is a dilemma that the object_dection optimization detailed here is not yet available in tensorflow v2.3.0 but XNNPACK only works with v2.3.0, making
coco_ssd_mobilenet_v1_1.0_quant_2018_06_29.tflite
seeming the only CPU object detection model available at this point.Source code / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.
The text was updated successfully, but these errors were encountered: