Skip to content

运行离线量化脚本quant_post.py失败 #1895

@xdd130

Description

@xdd130

使用PaddleSlim/demo/quant/quant_post/quant_post.py静态离线量化ch_ppocr_mobile_v2.0_rec_infer模型:
image
执行命令如下所示:
python quant_post.py --model_path ./ch_ppocr_mobile_v2.0_rec_infer --save_path ./quant_model/OCRv2_rec
但是我收到了下面的错误:
image
请问我该如何正确离线量化。

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions