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

MNNConvert支持ONNX量化模型的转换吗 #2084

Closed
mjp9527 opened this issue Sep 28, 2022 · 3 comments
Closed

MNNConvert支持ONNX量化模型的转换吗 #2084

mjp9527 opened this issue Sep 28, 2022 · 3 comments

Comments

@mjp9527
Copy link

mjp9527 commented Sep 28, 2022

使用MNNConvert转换ONNX量化模型时报错
Start to Optimize the MNN Net.
Convolution should know weight shape infromation!
Convert Onnx's Op conv2d_81.tmp_0, type = Conv, failed, may be some node is not const
Convolution should know weight shape infromation!
Convert Onnx's Op [email protected]_0, type = Conv, failed, may be some node is not const
Convolution should know weight shape infromation!
Convert Onnx's Op conv2d_82.tmp_0, type = Conv, failed, may be some node is not const
Convolution should know weight shape infromation!
Convert Onnx's Op conv2d 83.tmp 0
, type = Conv, failed, may be some node is not const
Convolution should know weight shape infromation!
Convert Onnx's Op conv2d_84.tmp_0, type = Conv, failed, may be some node is not const
Convolution should know weight shape infromation!
Convert Onnx's Op conv2d 85. tmp 0, type = Conv, failed, may be some node is not const
Convolution should know weight shape infromation!

量化模型格式如下:
image

@mjp9527
Copy link
Author

mjp9527 commented Sep 28, 2022

These Op Not Support: ONNX::Conv | ONNX::DequantizeLinear | ONNX::QuantizeLinear

@jxt1234
Copy link
Collaborator

jxt1234 commented Oct 12, 2022

目前不支持

@mjp9527
Copy link
Author

mjp9527 commented Oct 13, 2022

目前不支持

请问目前MNN自己的工具只支持 卷积层 的量化吗

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

2 participants