Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

模型结果check_output_dtype失败 #161

Open
YWDYWD opened this issue Jan 12, 2025 · 0 comments
Open

模型结果check_output_dtype失败 #161

YWDYWD opened this issue Jan 12, 2025 · 0 comments

Comments

@YWDYWD
Copy link

YWDYWD commented Jan 12, 2025

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'))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant