Replies: 5 comments 1 reply
-
Tested a few others that had images, and some worked, so it's not just PDFs with images that failed. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone, I'm using EasyOCR on CPU, and everything is working fine — the PDF-to-text conversion is accurate. However, I’m seeing this warning message once in the terminal:
I'm a bit puzzled since I'm not using a GPU, and the warning only appears once during execution. Despite the warning, the OCR works as expected — I just want to understand why this is happening and whether it’s something I should worry about. Has anyone else encountered this or know why this might be happening? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
-
I turned of OCR (set |
Beta Was this translation helpful? Give feedback.
-
I used this code to remove those errors:
|
Beta Was this translation helpful? Give feedback.
-
This was addressed in #2237. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The majority of the documents it converts work fine, but certain PDFs are presented with constant
pin_memory
warnings.dataloader.py:665: UserWarning: 'pin_memory' argument is set as true but no accelerator is found, then device pinned memory won't be used.
At that point, I have to ctrl+c to stop it.
From what I've observed, PDF documents that have an image in them seem to trigger that.
Any ideas?
Here's the snippet of code used to convert:
Beta Was this translation helpful? Give feedback.
All reactions