ATC转换报错
收藏回复举报
ATC转换报错
t('forum.solved') 已解决
发表于2024-09-06 11:15:22
0 查看
atc  --input_shape=input:1,3,1920,1080 --input_format=NCHW  --soc_version=Ascend310 --framework=5 --model=ADC.onnx  --output=ADC --precision_mode=allow_fp32_to_fp16 --insert_op_conf=aipp.cfg >>error.log转换时,我的cfg文件设置的为src_image_size_w : 1920  src_image_size_h : 1080会报错

EZ9999: Inner Error!

EZ9999  the data output H and W is not equal with aipp output H and W.aipp output_height:1080, aipp output_width:1920, data's height:1920, data's width:1080[FUNC:StaticInferShape][FILE:aipp.cc][LINE:953]

        Call InferShapeAndType for node:input_0_huawei_aipp(Aipp) failed[FUNC:Infer][FILE:infershape_pass.cc][LINE:117]

        process pass InferShapePass on node:input_0_huawei_aipp failed, ret:4294967295[FUNC:RunPassesOnNode][FILE:base_pass.cc][LINE:528]

        build graph failed, graph id:0, ret:1343242270[FUNC:BuildModel][FILE:ge_generator.cc][LINE:1496]

        Solution: Please contact support engineer.但是我改成src_image_size_w : 1080  src_image_size_h : 1920就没问题。但是我的模型输入就是高1080宽1920啊

我要发帖子