You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have built/installed/run TFLite benchmark following this instruction for Android, and used TensorFlow 2.15.0 according to issue#66015. I test the benchmark via the following commands and the output result seems correct.
For future reference, since this is not an issue with a sample app from ai-hub-apps and instead with the QNN TFLite delegate directly, I would recommend reaching out through our Slack channel instead. That way colleagues of mine that know more can chime in.
I'll take a stab at this though. Is mobilenet_v1_1.0_224.tflite a fully quantized model? If not, then setting htp_precision to 0 (meaning quantized precision) will fail. Actually, I always set this to 1 since it works well for both quantized and unquantized models. If that's not the issue here, then perhaps you can post this question in our Slack channel and then I can try to get someone from the delegate team to look at it.
I will close this issue though since this doesn't track an issue with our sample apps but a general TFLite delegate use issue.
@gustavla thank you. I will go to the Slack channel.
By the way, I have tried setting htp_precision to 1 and a fully quantized model 'mobilenet_v1_1.0_224_quant.tflite', neither of them solves the problem.
To make the problem clearer, I used the latest benchmark_model program built by the TFLite official and the model 'quicksrnetsmall_quantized.tflite' in Qualcomm AI-Hub, and the results were the same.
I carefully read the test commands in the tutorial "run-qnn-delegate-using-the-external-delegate-interface". There is a detailed difference that there is a "skel_library_dir" parameter in the "--external_delegate_options" parameter. I don't know how to use this parameter and whether it is related to this problem.
I have built/installed/run TFLite benchmark following this instruction for Android, and used TensorFlow 2.15.0 according to issue#66015. I test the benchmark via the following commands and the output result seems correct.
benchmark result.txt
Now I want to run the benchmark with QNN delegate. I setup the on device environment and run a QNN delegate using an external delegate. I tested it using the following commands, but received an error message.
benchmarkQNN result.txt
I have tested it on Android phones equipped with Snapdragon 855 and Gen 3 chips, and the results were the same.
Could anyone tell me how to deal with this?
The text was updated successfully, but these errors were encountered: