 参考这个文档https://github.com/AlibabaResearch/AdvancedLiterateMachinery/tree/main/Applications/DocXChain  跑这个ocr的时候执行python example.py whole_pdf_conversion    报错:ValueError: attempted relative import beyond top-level package 这个错误我自己解决了,但ModelScope识别的是json格式,怎么把他转换成文本?
   参考这个文档https://github.com/AlibabaResearch/AdvancedLiterateMachinery/tree/main/Applications/DocXChain  跑这个ocr的时候执行python example.py whole_pdf_conversion    报错:ValueError: attempted relative import beyond top-level package 这个错误我自己解决了,但ModelScope识别的是json格式,怎么把他转换成文本? ,就是把pdf  识别成txt格式的,便于阅读
,就是把pdf  识别成txt格式的,便于阅读