Forums - Generating UDO Package

1 post / 0 new
Generating UDO Package
octav.florescu
Join Date: 4 Jul 23
Posts: 3
Posted: Thu, 2023-07-27 08:26

I cannot generate the UDO package from the tutorial (and neither any other) since tutorial states the need to export the QNN Env var and i don't know which one is that.

And without it, Error happens

root@d3a999a13beb:/home# export SNPE_UDO_ROOT=$SNPE_ROOT/share/SNPE/SnpeUdo
root@d3a999a13beb:/home# snpe-udo-package-generator -p $SNPE_ROOT/examples/SNPE/NativeCpp/UdoExample/Softmax/config/Softmax_v68.json -o $SNPE_ROOT/examples/Models/inception_v3/
2023-07-27 15:23:10,108 - 235 - INFO - Creating new package at: /opt/qcom/aistack/snpe/2.12.0.230626/examples/Models/inception_v3/SoftmaxUdoPackage
2023-07-27 15:23:10,109 - 240 - WARNING - DSP Operation detected but HEXAGON_SDK_ROOT is not set. Please note HEXAGON_SDK_ROOT needs to be set to compile the package.
Traceback (most recent call last):
  File "/opt/qcom/aistack/snpe/2.12.0.230626/bin/x86_64-linux-clang/snpe-udo-package-generator", line 34, in <module>
    package_paths = auto_generator.setup_file_paths(ignore_includes=args.ignore_includes,
  File "/opt/qcom/aistack/snpe/2.12.0.230626/lib/python/qti/aisw/converters/backend/custom_ops/snpe_udo_config.py", line 249, in setup_file_paths
    shutil.copyfile(os.path.join(SHARE_LOC_PREFIX , 'makefiles',
NameError: name 'SHARE_LOC_PREFIX' is not defined

 

  • Up0
  • Down0

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.