The ocr_predictor utilizes only 1 CPU core. #1703
sergei-voronkov
started this conversation in
General
Replies: 1 comment 10 replies
-
Hi @sergei-voronkov 👋, Looks like an issue with the PyTorch installation on your machine, this does not come from docTR itself. Otherwsie you can also try: https://github.com/felixdittrich92/OnnxTR which is optimized for inference, especially on CPU / and or limited hardware. Best regards, |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a set of images from real documents.
While I try to recognize text with default ocr_predictor setting + torch, it takes about 10 seconds per page.
I notice the CPU load it too low in the same time. It seems the model uses only 1 CPU core for the recognition.
Is there a way to utilize all my core to speed up the recognition.
My configuration:
Windows 10
Python 3.12.4
Pytorch
No GPU
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions