Closed sugarandgugu closed 3 weeks ago
去源码里面进行修改在54行没有导入predict_system导致,可以将第54行改为如下部分,然后再报错的第576行将改成class PaddleOCR(TextSystem)即可。
from ppstructure.predict_system import StructureSystem, save_structure_res, to_excel,TextSystem
ref: https://blog.csdn.net/wang602125218/article/details/137175714
感谢讨论,使用文档分析功能,也可以使用这个脚本ppstructure/predict_system.py哦
去源码里面进行修改在54行没有导入predict_system导致,可以将第54行改为如下部分,然后再报错的第576行将改成class PaddleOCR(TextSystem)即可。
from ppstructure.predict_system import StructureSystem, save_structure_res, to_excel,TextSystem
ref: https://blog.csdn.net/wang602125218/article/details/137175714
在docker build如何去修改?
请提供下述完整信息以便快速定位问题/Please provide the following information to quickly locate the problem