mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-07 01:22:59 +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,
|
predict,
|
||||||
args=(ppocr_v3.clone(),
|
args=(ppocr_v3.clone(),
|
||||||
imgs_list[i * image_num_each_thread:(i + 1) *
|
imgs_list[i * image_num_each_thread:(i + 1) *
|
||||||
image_num_each_thread - 1], args.topk))
|
image_num_each_thread - 1]))
|
||||||
threads.append(t)
|
threads.append(t)
|
||||||
t.start()
|
t.start()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user