2,851
社区成员




ubuntu aarch64 不支持 PySNPE
我在我的 ubuntu aarch64 机器上安装了 pysnpe-utils,但在运行此行时遇到错误
try:
from qti.aisw.dlc_utils import snpe_dlc_utils
from qti.aisw.dlc_utils import modeltools
except ImportError as ie:
logger.error("Failed to find necessary package:")
logger.error(str(ie))
logger.error("Please ensure that $SNPE_ROOT/lib/python is in your PYTHONPATH")
通过堆栈跟踪,我发现在 SNPE SDK 中,dlc_utils 只有适用于 linux-x86_64、windows-arm64ec、windows-x86_64 的 *.so 文件。那么我可以在 ubuntu-aarch64 中运行 pysnpe 吗,或者 pysnpe 目前不支持它?
请参考:https://github.com/quic/qidk/tree/master/Tools/snpe-helper
这里是一个方法支持PySNPE.