按照文档安装,运行paddleocr的 demo的时候报这个错 AttributeError: 'Namespace' object has no attribute 'use_pdserving'
但是我用命令行能跑出来。
在paddleocr.py中,找到def parse_args():在下面加入下面这行。 parser.add_argument("--use_pdserving", type=bool, default=False) 跑demo没问题。