1

我一直按照以下链接中提供的步骤在六边形上使用 tensorflow。 https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/hvx

我面临2个构建问题,

(1) while building graph_app standalone app for checking inception v3, error reported missing file
GRAPHINIT := /prj/dsp/qdsp6/arch/cnn/setup/inceptionv3_uint8in.c in nnlib/Makefile
source: https://source.codeaurora.org/quic/hexagon_nn/nnlib

(2) 在构建 libhexagon_controller.so 时,报告了这个错误:

    ------------------------------------------
     --- V = android_Debug_aarch64
     --- GLUE_DIR = glue
     --- HEXAGON_SDK_ROOT = /home/zaheer.s/Qualcomm/Hexagon_SDK/3.1
     ------------------------------------------

 making /home/zaheer.s/Qualcomm/Hexagon_SDK/3.1/test/common/test_util
 making /home/zaheer.s/Qualcomm/Hexagon_SDK/3.1/tools/qaic
 making /home/zaheer.s/Qualcomm/Hexagon_SDK/3.1/libs/common/atomic
 making /home/zaheer.s/Qualcomm/Hexagon_SDK/3.1/libs/common/rpcmem
 making .
 android_Debug_aarch64/hexagon_controller.o: In function                                         `hexagon_controller_InitInputNodeDataToInceptionDummyData':
 /home/zaheer.s/Qualcomm/Hexagon_SDK/3.1/examples/common/generated_hexagon_controller/src_impl/  hexagon_controller.c:74: undefined reference to `inception_dummy_int_data_224x224'
 /home/zaheer.s/Qualcomm/Hexagon_SDK/3.1/examples/common/generated_hexagon_controller/src_impl/  hexagon_controller.c:74: undefined reference to `inception_dummy_int_data_224x224'
 collect2: error: ld returned 1 exit status
 make[1]: *** [android_Debug_aarch64/libhexagon_controller.so] Error 1
 ERROR making .

是否有人在 hexagon 上运行过 tf,请提出您对修复构建问题的看法。

编辑: graph_app 需要根据 inceptionv3 独立评估。

4

1 回答 1

0

您可以通过将整数数组添加到tensorflow/contrib/hvx/hexagon_controller/src_dummy_data/inception_v3_dummy_int_data.c.

这是satok16TF on github 上的 over建议的。

于 2017-05-12T15:24:35.723 回答