Not able to get inference predictor in FASTApi app #16398
vipin14119
started this conversation in
General
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have finetuned a SVTR_LCNet model and exported its inference model. Now i am trying to load the model in a FASTApi app using
recognizer = TextRecognizer(args)
but its getting stuck atpredictor = inference.create_predictor(config)
in tools/infer/utility.py.Looks like its something related to threads and process. I have tried setting
cpu_threads
to 1 but still not getting past that line.I am using PaddleOCR release/3.2 and paddlepaddle is 3.0.0 .
How do i solve that any idea ?
Beta Was this translation helpful? Give feedback.
All reactions