-
Notifications
You must be signed in to change notification settings - Fork 8.2k
量化训练 #15045
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
Comments
这个只是警告,有无完整报错日志? |
并未出现报错,只是有警告,想确定警告是否影响精度。 |
可以正常训练,paddle推理模型也可以正常推理,使用以下命令转为onnx模型后,模型无法检测和识别任何东西。 导出模型时出现了算子警告,但是可以成功导出: 模型推理效果如下: |
Paddle2ONNX 本身不依赖其他组件,但是我们建议您在以下环境下使用 Paddle2ONNX : PaddlePaddle == 2.6.0 |
🔎 Search before asking
🐛 Bug (问题描述)
在进行量化训练时,ppocrv3进行检测量化训练和识别量化模型时都出现的参数不匹配的现象,PaddleOCR为2.8.0版本
python3 deploy/slim/quantization/quant.py -c configs/det/ch_PP-OCRv3/ch_PP-OCRv3_det_student.yml
🏃♂️ Environment (运行环境)
paddleocr:2.8.1
paddlepaddle-gpu:2.6.1
🌰 Minimal Reproducible Example (最小可复现问题的Demo)
python3 deploy/slim/quantization/quant.py -c configs/det/ch_PP-OCRv3/ch_PP-OCRv3_det_student.yml
The text was updated successfully, but these errors were encountered: