onnx转换成om使用自带的转换代码出现错误
收藏回复举报
onnx转换成om使用自带的转换代码出现错误
t('forum.solved') 已解决
发表于2023-09-04 20:42:09
0 查看
(base) root@davinci-mini:/home/HwHiAiUser/samples/notebooks# atc --model=my_damn_model/yolov8_MobileVit_xxs.onnx --framework=5 --outp 

ut=yolo_mob --input_format=NCHW --input_shape="input_image:1,3,640,640" --log=error --soc_version=Ascend310B1 

ATC start working now, please wait for a moment. 

... 

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

E10016: Opname [input_image] specified in [--input_shape] is not found in the model, confirm whether this node name exists, or node is not split with the specified delimiter ';'

他说我的里面并没有input_shape,而我将指令中的input_shape="input_image:1,3,640,640"删除后转换成功,但是就遇到了另外的错误https://www.hiascend.com/forum/thread-0246129112383381015-1-1.html?postId=0368129179622903080,导致我不知道是不是因为这个的原因。

我要发帖子