easyOCR still uses GPU although not asked
Hi,
When I create the reader object with gpu=False, it doesnt directly use the GPU device, but upon calling readtext, it captures the first available GPU device apparently uses it according to nvidia-smi. I verified that its not detect() that triggers the GPU use so its probably the recognizer pipeline. I didnt have time to debug further.
thanks, we will investigate this.
Hello, I am also seeing the same issue and would like to run only on CPU. Is there any update on this?
We found the problem. Patch is coming soon.
I've set pin_memory=False in get_text function for recognizer.py and this seems to work. Is this all that is needed?