ATC转换ch_PP-OCRv4_det动态shape报错
收藏回复举报
ATC转换ch_PP-OCRv4_det动态shape报错
t('forum.solved') 已解决
新人帖
发表于2024-08-20 10:58:18
0 查看

转换命令

atc --model=ch_PP-OCRv4_det.onnx --framework=5 --output=ch_PP-OCRv4_det_310 --soc_version=Ascend310B1 --input_shape="x:-1,3,-1,-1" --input_format=NCHW

报错

ATC run failed, Please check the detail log, Try 'atc --help' for more information
EZ3002: 2024-08-19-18:11:19.313.647 Optype [Conv2DTranspose] of Ops kernel [AIcoreEngine] is unsupported. Reason: [tbe-custom]:op type Conv2DTranspose is not found in this op store.[tbe-custom]:op type Conv2DTranspose is not found in this op store.[Dynamic shape check]: data type DT_INT64 of input [input_size] is not supported. All supported data type and format of tensor input0.input_size is: Data Type: {DT_INT32,DT_INT32}Format:{ND,ND}.
        Possible Cause: The operator type is unsupported in the operator information library due to specification mismatch.
        Solution: Submit an issue to request for support at https://gitee.com/ascend, or remove this type of operators from your model.
        TraceBack (most recent call last):
        No supported Ops kernel and engine are found for [PartitionedCall_p2o.ConvTranspose.0_Conv2DTranspose_86], optype [Conv2DTranspose].
        No supported Ops kernel and engine are found for [PartitionedCall_p2o.ConvTranspose.2_Conv2DTranspose_90], optype [Conv2DTranspose].
        build graph failed, graph id:0, ret:-1[FUNC:BuildModelWithGraphId][FILE:ge_generator.cc][LINE:1615]
        GenerateOfflineModel execute failed.

我要发帖子