Skip to content

Commit

Permalink
onnx: fix text recognition thread names (#1491)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjia56 committed May 31, 2024
1 parent 11f2e88 commit ec31dee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/onnx/src/ort/text_recognition.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ def executor_initializer():
executor = concurrent.futures.ThreadPoolExecutor(
initializer=executor_initializer,
max_workers=len(compiled_models_array),
thread_name_prefix="face",
thread_name_prefix="text",
)

prepareExecutor = concurrent.futures.ThreadPoolExecutor(
max_workers=len(compiled_models_array),
thread_name_prefix="face-prepare",
thread_name_prefix="text-prepare",
)

return compiled_models, input_name, prepareExecutor, executor
Expand Down

0 comments on commit ec31dee

Please sign in to comment.