-
pip install rapidocr_onnxruntime ocr_engine = RapidOCR() table_results = table_engine(img_path, ocr_result) 其中pip安装的rapid_table版本是1.0.3,unitable模型用的是离线下载的方式,从以下链接下载: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
可以查看demo里面的源码,app.py |
Beta Was this translation helpful? Give feedback.
-
没有app.py,你说的app.py是指main.py吗?我把main.py里面的unitable模型改成离线下载,其它都没有改,跑出来的效果还是跟在线demo不一致。 在线demo跟本地部署,是代码差异还是模型差异导致效果不一致,应该怎么解决? |
Beta Was this translation helpful? Give feedback.
app.py指的是 demo源码里的。参见这里:https://www.modelscope.cn/studios/RapidAI/TableRec/file/view/master?fileName=app.py&status=1
可以直接将整个demo拉下来部署查看