Skip to content

模型结果check_output_dtype失败 #161

@YWDYWD

Description

@YWDYWD

Do quant optimization
quant.axmodel export success:
/shared/lph/onnx2axmodel/quick_start_example/output_retina_112/quant/quant_axmodel.onnx
/shared/lph/onnx2axmodel/quick_start_example/output_retina_112/quant/quant_axmodel.data
Traceback (most recent call last):
File "", line 14, in wrapper
File "", line 719, in quant
File "", line 320, in quantize_native_interface
File "", line 304, in export_axmodel
File "", line 40, in check_output_dtype
KeyError: '/ClassHead.0/conv1x1/Conv_output_0'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "</opt/pulsar2/yamain/main.py>", line 4, in
File "", line 329, in
File "", line 257, in pulsar2
File "", line 152, in wrapper
File "", line 23, in wrapper
File "", line 105, in build_error
File "", line 14, in wrapper
File "", line 481, in build
File "", line 23, in wrapper
File "", line 73, in error_func
yamain.common.error.CodeException: (<ErrorCode.QuantError: 3>, KeyError('/ClassHead.0/conv1x1/Conv_output_0'))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions