ATC yolov7 模型转换失败
收藏回复举报
ATC yolov7 模型转换失败
t('forum.solved') 已解决
发表于2023-09-15 07:07:36
0 查看

cann版本:5.1.RC2

atc 指令:

atc --model=yolov7.onnx --output=yolov7 --framework=5 --input_format=NCHW --soc_version=Ascend310 --insert_op_conf=insert_op.cfg

其中insert_op.cfg 为sample中YOLOV4_coco_detection_picture 中提供的配置文件,yolov7.onnx 可以正常推理,为官方yolov7.pt模型 export 转换生成。

错误信息

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

E89999: Inner Error!

E89999 Prebuild op[Add_368] failed, oppath[/home/pypi/Ascend/ascend-toolkit/5.1.RC2/opp/op_impl/built-in/ai_core/tbe/impl/add.py], optype[Add]. Please check the op's compilation error message.[FUNC:ReportBuildErrMessage][FILE:fusion_op.cc][LINE:871]

[SubGraphOpt][Pre-Comp][Node Add_368] Failed to pre-compile. Tid is [140156957857536], TaskId is [7] [FUNC:ProcessFailPreCompTask][FILE:tbe_op_store_adapter.cc][LINE:156]

[SubGraphOpt][Pre-Comp]Failed to process failed task. Thread_id is [140156957857536].[FUNC:ParallelPreCompileOp][FILE:tbe_op_store_adapter.cc][LINE:329]

[SubGraphOpt][Pre-Comp]Failed to pre-compile graph [partition0_rank17_new_sub_graph225][FUNC:PreCompileOp][FILE:op_compiler.cc][LINE:445]

Call OptimizeFusedGraph failed, ret:-1, engine_name:AIcoreEngine, graph_name:partition0_rank17_new_sub_graph225[FUNC:OptimizeSubGraph][FILE:graph_optimize.cc][LINE:127]

subgraph 16 optimize failed[FUNC:OptimizeSubGraphWithMultiThreads][FILE:graph_manager.cc][LINE:720]

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

本帖最后由 匿名用户2023/09/15 09:11:56 编辑

我要发帖子