Forums - Creating DLC fail

2 posts / 0 new
Last post
Creating DLC fail
will.kw_liu
Join Date: 3 Feb 15
Posts: 2
Posted: Mon, 2017-08-14 01:24

Hi 

When I use this cmd to create DLC file it alway show error !
"python models/alexnet/scripts/setup_alexnet.py -a ~/tmpdir"
 
Traceback (most recent call last):
  File "/home/will/snpe-1.2.2/bin/x86_64-linux-clang/snpe-caffe-to-dlc", line 33, in <module>
    from snpe import snpe_caffe_to_dlc_utils
ImportError: No module named snpe
 

 

  • Up0
  • Down0
moljaca moderator
Join Date: 25 Jul 17
Location: San Diego
Posts: 40
Posted: Tue, 2017-08-29 07:28

Hi,

this is likely due to incomplete SNPR SDK environment setup. Did you complete Setup the SDK section in https://developer.qualcomm.com/software/snapdragon-neural-processing-eng...? PYTHONPATH env variable should contain path to SNPE SDK. You can check it with 'echo $PYTHONPATH'.

Best regards.

  • 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.