Awesome multilingual OCR toolkits based on PaddlePaddle (practical ultra lightweight OCR system, support 80+ languages recognition, provide data annotation and synthesis tools, support training and deployment among server, mobile, embedded and IoT devices)
Search before asking
[X] I have searched the PaddleOCR Docs and found no similar bug report.
[X] I have searched the PaddleOCR Issues and found no similar bug report.
[X] I have searched the PaddleOCR Discussions and found no similar bug report.
Bug
训练模型导出时,当PaddleOCR所在路径包含中文字符串时,导出的模型缺少inference.pdiparams 测试发现Global.save_inference_dir参数如果指定含有中文路径,则导出的推理模型缺少inference.pdiparams文件,而inference.pdmodel、inference.pdiparams.info均可生成。
Environment
win10,PaddleOCR V2.7
Minimal Reproducible Example
python tools/export_model.py -c configs\rec\PP-OCRv4\en_PP-OCRv4_rec.yml -o Global.checkpoints=./output/en_PP-OCRv4_rec/best_accuracy Global.save_inference_dir=D:\中文文件夹
Additional
python tools/export_model.py -c configs\rec\PP-OCRv4\en_PP-OCRv4_rec.yml -o Global.checkpoints=./output/en_PP-OCRv4_rec/best_accuracy Global.save_inference_dir=D:\中文文件夹
Are you willing to submit a PR?