You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
只创建一个实例, pipeline = PPStructureV3(
use_doc_orientation_classify=False,
use_doc_unwarping=False,
#use_textline_orientation=False,
use_seal_recognition=False,
use_table_recognition=False,
device='gpu:1'
)
在线程池中并发使用这个实例,会造成线程安全问题吗? predict里面因该没修改 global variable?
不同的线程并发调用:
output = pipeline.predict(
input = pdf_url,
use_textline_orientation=False
)
Beta Was this translation helpful? Give feedback.
All reactions