onnx转换om报错,E29999: Inner Error!
收藏回复举报
onnx转换om报错,E29999: Inner Error!
t('forum.solved') 已解决
新人帖
发表于2023-07-31 16:05:38
0 查看

这是转换的命令

atc --model=DVCpytorch.onnx --framework=5 --input_shape='onnx::Pad_0:1,3,256,256;im:1,3,256,256' --output=DVCpytorch --log=debug>log.txt --soc_version=Ascend310B1

这是debug日志

ATC start working now, please wait for a moment.

ATC run failed, Please check the detail log, Try 'atc --help' for more information

E29999: Inner Error!

E29999  [GraphOpt][SetAxis][GetAxisName][Op PartitionedCall_/ReduceMean_1_ReduceMean_24,type=ReduceMeanD]:Get axis name for ori format 0 failed![FUNC:GetNewAxisAttributeValue][FILE:axis_name_util.cc][LINE:168]

        TraceBack (most recent call last):

        [GraphOptJdgInst][AxisUpd] Set reduce op [PartitionedCall_/ReduceMean_1_ReduceMean_24] input new shape failed![FUNC:UpdateAxis][FILE:op_axis_update_desc.cc][LINE:65]

        Call OptimizeOriginalGraphJudgeInsert failed, ret:-1, engine_name:AIcoreEngine, graph_name:DVCpytorch[FUNC:OptimizeOriginalGraphJudgeInsert][FILE:graph_optimize.cc][LINE:231]

        build graph failed, graph id:0, ret:-1[FUNC:BuildModel][FILE:ge_generator.cc][LINE:1438]

我要发帖子