Forums - snpe_bench.py failed

3 posts / 0 new
Last post
snpe_bench.py failed
kvraju
Join Date: 9 Nov 20
Posts: 2
Posted: Wed, 2020-12-09 22:46
Hi Team,
 
I am trying to run the Machine learning model on SD865 HDK.
I have gone through the following to setup link.
 
 
I was able to run model on the target board successfully by referring above page, but while running benchmark script I am seeing Adb python scripts not found in snpe installation environment. 
 
Could you please suggest me what went wrong with my setup. 
 
 
Error:
 
Traceback (most recent call last):
  File "snpe_bench.py", line 22, in <module>
    from snpebm import snpebm_parser, snpebm_config, snpebm_bm, snpebm_constants, snpebm_md5, snpebm_writer, snpebm_device
  File "/home/kvraju/Software/Qualcomm/snpe-1.43.0/snpe-1.43.0.2307/benchmarks/snpebm/snpebm_config.py", line 18, in <module>
    from common_utils.adb import Adb
ModuleNotFoundError: No module named 'common_utils'
 
Thanks, and Regards,
Raju

 

 

  • Up0
  • Down0
xuyq
Join Date: 23 Dec 20
Posts: 3
Posted: Wed, 2020-12-30 00:57

Hi kvraju,

I met this error, too.

I find this module from snpe-1.45.3_rc2_2435\snpe-1.45.3.2435\lib\python and copy it to benchmarks folder.

Hope this answer help you deal with your question.

  • Up0
  • Down0
22imonreal
Join Date: 10 Feb 21
Posts: 80
Posted: Fri, 2021-06-11 01:21

Hello,

If you keep getting this error after ensuring the cmmon_utils module is in your $SNPE_ROOT/lib/python, you may need to export its location to the $PYTHONPATH as follows:

export PYTHONPATH=$PYTHONPATH:$SNPE_ROOT/lib/python
  • 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.