Skip to content

Commit

Permalink
[Bug Fix] Remove redundant parameters during OCR multi-threaded infer…
Browse files Browse the repository at this point in the history
…ence (PaddlePaddle#1479)

Update multi_thread_process_ocr.py

OCR infer doesn't need the "topk" arguments.
  • Loading branch information
dium6i authored Mar 2, 2023
1 parent 044ab99 commit 5871f6c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def get_result(self):
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()

Expand Down

0 comments on commit 5871f6c

Please sign in to comment.