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

YOLOX QAT成功,精度无下降,但是在deploy to tengine的时候出现多个问题 #39

Closed
RedHandLM opened this issue Sep 16, 2022 · 1 comment

Comments

@RedHandLM
Copy link

基于UP量化YOLOX,QAT训练成功,精度无下降,但是在deploy到tengine的时候出现多个问题,
1:miss key, 缺少量化节点
971cdb10062985847adad7eaf8c45e1

2:fake_quantize_per_tensor_affine() received an invalid combination of arguments
导出onnx时出现参数不对应的情况,以下为报错日志
deploy_tengine_error.txt

环境:
env: Ubuntu 20.04
RTX3060TI
CUDA: 11.4
Name: torch Version: 1.10.0+cu111
Name: MQBench Version: 0.0.6
onnx 1.7.0

@RedHandLM
Copy link
Author

替换文件解决, 插入了错误的节点,需要进行过滤
tengine_u8_quantizer.txt

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