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

onnx量化为int8模型,不转为TensorRT模型 #5

Open
dollarser opened this issue Mar 3, 2021 · 2 comments
Open

onnx量化为int8模型,不转为TensorRT模型 #5

dollarser opened this issue Mar 3, 2021 · 2 comments

Comments

@dollarser
Copy link

由于项目需要onnx模型,不支持trt模型。
请问仓库中的方法,能不能直接量化onnx为int8模型,或者将int8的trt模型转回onnx。
谢谢!

@Wulingtian
Copy link
Owner

不可以

@www516717402
Copy link

@dollarser 直接将onnx-fp32转化为onnx-int8即可(ORT推理,官方有demo),和onnx-fp32转trt-int8类似的。

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

3 participants