Forums - QNN 2.9 [ERROR]

2 posts / 0 new
Last post
QNN 2.9 [ERROR]
liuxiang17
Join Date: 6 Dec 22
Posts: 1
Posted: Fri, 2023-04-21 09:58

qnn-tensorflow-converter run error in qnn 2.9, but in qnn2.8 all is ok

 

Traceback (most recent call last):

  File "/media/smiletm/disk/qnn/qnn-v2.9.0.230327191003_53330/target/x86_64-linux-clang/bin/qnn-tensorflow-converter", line 13, in <module>

    from qti.aisw.converters.tensorflow import tf_compat_v1

  File "/media/smiletm/disk/qnn/qnn-v2.9.0.230327191003_53330/target/x86_64-linux-clang/python/qti/aisw/converters/tensorflow/__init__.py", line 8, in <module>

    import tensorflow as tf

ModuleNotFoundError: No module named 'tensorflow'

qnn-context-binary-generator pid:30353

     0.0ms [ ERROR ] Unable to load backend. dlerror(): /target/x86_64-linux-clang/lib/libQnnHtp.so: cannot open shared object file: No such file or directory

Error initializing QNN Function Pointers: could not load backend: /target/x86_64-linux-clang/lib/libQnnHtp.so

qnn-net-run pid:30354

     0.0ms [ ERROR ] Unable to load backend. dlerror(): /target/x86_64-linux-clang/lib/libQnnHtp.so: cannot open shared object file: No such file or directory

 

ERROR: Initializing QNN Function Pointers: could not load backend: /target/x86_64-linux-clang/lib/libQnnHtp.so

qnn-net-run pid:30355

     0.0ms [ ERROR ] Unable to load backend. dlerror(): /target/x86_64-linux-clang/lib/libQnnHtp.so: cannot open shared object file: No such file or directory

 

ERROR: Initializing QNN Function Pointers: could not load backend: /target/x86_64-linux-clang/lib/libQnnHtp.so

 

  • Up0
  • Down0
yunxqin
Join Date: 2 Mar 23
Posts: 44
Posted: Sun, 2023-04-23 06:16

Dear developer,

Did you execute the command "source ${QNN_SDK_ROOT}/target/x86_64-linux-clang/bin/envsetup.sh" before conversion? And set QNN_SDK_ROOT environment variable correctly.

BR.

Yunxiang

 

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.