mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-06 00:57:33 +08:00
[Bug Fix] Remove redundant parameters during OCR multi-threaded inference (#1479)
Update multi_thread_process_ocr.py OCR infer doesn't need the "topk" arguments.
This commit is contained in:
@@ -267,7 +267,7 @@ if __name__ == '__main__':
|
||||
predict,
|
||||
args=(ppocr_v3.clone(),
|
||||
imgs_list[i * image_num_each_thread:(i + 1) *
|
||||
image_num_each_thread - 1], args.topk))
|
||||
image_num_each_thread - 1]))
|
||||
threads.append(t)
|
||||
t.start()
|
||||
|
||||
|
Reference in New Issue
Block a user