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

PlatformType.XNet #2

Open
oddmen opened this issue Oct 12, 2024 · 1 comment
Open

PlatformType.XNet #2

oddmen opened this issue Oct 12, 2024 · 1 comment

Comments

@oddmen
Copy link

oddmen commented Oct 12, 2024

你好,我想问一下,该项目在量化的过程中可以将 onnx 转化为 Xnet 吗?项目中出现的 PlatformType.XNet 只是为了量化的时候选择 config 用的吗?或者是 weixin 官方对 XNet 有更详细的介绍吗,现在在小程序中加载 onnx 模型,遇到了一个转化为 xnet 的错误,但没有更多的报错信息了。

@KeyKy
Copy link
Collaborator

KeyKy commented Oct 21, 2024

Q1. 该项目在量化的过程中可以将 onnx 转化为 Xnet 吗?
A1. 工具会为输入onnx插上伪量化算子,输出也是onnx,XNet能识别这种onnx。

Q2.PlatformType.XNet 只是为了量化的时候选择 config 用的吗?
A2. 是的,不同平台量化标准不一样。选择XNet使用的是XNet量化标准

Q3. 遇到了一个转化为 xnet 的错误,但没有更多的报错信息了。
A3. 具体什么错,未必是量化问题,得联系其他同事看

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