【2023 · CANN训练营第一季】atc转模型报错E50060

转模型指令

atc --framework=5 --model=yolov7-C-onebatch.onnx --output=yolo7-C-onebatch --input_format=NCHW --input_shape=images:1,3,640,640 --soc_version=Ascend310P3 --log=info --insert_op_conf=aipp_nv12.cfg

报错

ATC start working now, please wait for a moment.
ATC run failed, Please check the detail log, Try ‘atc --help’ for more information
E50060: In op [Conv_9], [input bias format should be NCHW or NHWC when shape is 4D.]
input bias format should be NCHW or NHWC when shape is 4D.[FUNC:CheckConv2DBias][FILE:nn_calculation_ops.cc][LINE:4744]
In op [Conv_9], [input bias format should be NCHW or NHWC when shape is 4D.]
Call InferShapeAndType for node:Conv_9(Conv2D) failed[FUNC:Infer][FILE:infershape_pass.cc][LINE:117]
process pass InferShapePass on node:Conv_9 failed, ret:4294967295[FUNC:RunPassesOnNode][FILE:base_pass.cc][LINE:507]
build graph failed, graph id:0, ret:1343242270[FUNC:BuildModel][FILE:ge_generator.cc][LINE:1429]

后来初步排查,10系列显卡不行,3060显卡可以转换成功,目前不知道是什么原理,欢迎大佬评论。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值