resnext50_32x4d_fpn.onnx 使用atc转换om失败求助
收藏回复举报
resnext50_32x4d_fpn.onnx 使用atc转换om失败求助
t('forum.solved') 已解决
发表于2024-11-20 17:47:27
0 查看

resnext50_32x4d_fpn.onnx链接

https://zenodo.org/records/6617879/files/resnext50_32x4d_fpn.onnx

atc命令

batch_size=$1
atc --model=resnext50_32x4d_fpn.onnx \
   --framework=5 \
   --output=resnext50_32x4d_fpn_bs${batch_size} \
   --input_format=NCHW \
   --input_shape="images:1,3,800,800" \
   --out_nodes="Concat_1971:0;Gather_1942:0;Gather_1941:0" \
   --log=error \
   --soc_version=Ascend910B3

错误日志

ATC run failed, Please check the detail log, Try 'atc --help' for more information
E20007: 2024-11-20-17:44:29.498.586 Failed to run graph fusion pass [NonMaxSuppressionV6Fusion]. The pass type is [built-in-ai-core-graph-pass]
        Solution: 1. If the pass code is custom, check the error log and the verification logic.  2. If the pass code is not custom, perform a complete or partial dump by using npucollect.sh and then send the dump to Huawei technical support for fault locating.
        TraceBack (most recent call last):
        The shape of score cannot be negative.[FUNC:IdxValueConstNode][FILE:non_max_suppression_fusion_pass.cc][LINE:121]
        generate const value of idx fail[FUNC:Fusion][FILE:non_max_suppression_fusion_pass.cc][LINE:211]
        Failed to run graph fusion pass [NonMaxSuppressionV6Fusion]. The pass type is [built-in-ai-core-graph-pass]
        [GraphOpt][FirstRoundFusion] Fail to run graph fusion pass[NonMaxSuppressionV6Fusion, built-in-ai-core-graph-pass]. Return value is 4294967295.[FUNC:RunOnePassFusion][FILE:graph_fusion.cc][LINE:1180]
        [GraphOpt][FirstRoundFusion] SubGraph[If_1905_1_else_branch]: RunGraphFusion unsuccessfully.[FUNC:Fusion][FILE:graph_fusion.cc][LINE:102]
        [GraphOpt][AfterFusion]Failed to do graph fusion for graph resnext50_32x4d_fpn_bs. ErrNo is 4294967295.[FUNC:OptimizeOriginalGraph][FILE:fe_graph_optimizer.cc][LINE:342]
        Call OptimizeOriginalGraph failed, ret:-1, engine_name:AIcoreEngine, graph_name:resnext50_32x4d_fpn_bs[FUNC:OptimizeOriginalGraph][FILE:graph_optimize.cc][LINE:167]
        build graph failed, graph id:0, ret:-1[FUNC:BuildModelWithGraphId][FILE:ge_generator.cc][LINE:1608]
        GenerateOfflineModel execute failed.

我要发帖子