专栏底层软件转换后的混合异构模型在J3上运行报错

转换后的混合异构模型在J3上运行报错

已解决
fffffy2022-12-06
62
1

用户您好,请详细描述您所遇到的问题。

1.硬件获取渠道:

2.当前系统镜像版本:x3j3_lnx_db_20220826 debug

3.当前天工开物版本:horizon_xj3_open_explorer_v1.9.4_20220126

4.问题定位:转换后的混合异构模型经过hb_mapper checker,hb_mapper makertbin,hb_perf验证都成功运行,没有报错。但是将模型放到J3上运行时报错如下:

[DNN] Runtime version = 1.3.2_(3.13.14 HBRT)

[HorizonRT] The model builder version = 1.4.4

[000:073] (layer_registry.cpp:49): layer Gather has not been registered.

[000:073] (exec_plan.cpp:42): HR:ERROR: unsupported layer:Gather

[000:073] (packed_model.cpp:318): hybrid model init fail

[000:075] (packed_model.cpp:127): Invalid model, model file:./config/./nn4orb.bin

(inference_engine_dnn.cc:143): hbDNNInitializeFromFiles, ./config/./nn4orb.bin, ret = 2

(inference_engine_dnn.cc:155): Load Model Failed, model_path: ./config/./nn4orb.bin

(inferencer.cc:122): Load model file failed

(monosample.cc:26): InferMethod Init failed

底层软件
征程3
评论1
0/1000
  • 颜值即正义
    Lv.2
    您好,根据日志看是gather不支持导致的,看到您的OE开发包版本比较老旧,建议您使用最新版工具链进行尝试,新版工具链获取方式如下:
    OE发布包:wget -c ftp://vrftp.horizon.ai/Open_Explorer/1.14.3/horizon_xj3_open_explorer_v1.14.3_20220727.tar.gz

    文档:wget -c ftp://vrftp.horizon.ai/Open_Explorer/1.14.3/horizon_xj3_open_explorer_v1.14.3_doc.zip

    Docker:wget -c ftp://vrftp.horizon.ai/Open_Explorer/1.14.3/docker_openexplorer_centos_7_xj3_v1.14.3.tar.gz

    release_note:wget -c ftp://vrftp.horizon.ai/Open_Explorer/1.14.3/release_note.txt

    md5sum:wget -c ftp://vrftp.horizon.ai/Open_Explorer/1.14.3/md5sum.txt

    建议您的板端系统也使用OE包bsp目录下的系统镜像对应升级一下~

    2022-12-19
    0
    0