EasyOCR icon indicating copy to clipboard operation
EasyOCR copied to clipboard

GPU support issue

Open zhangyunfan23 opened this issue 6 years ago • 3 comments

RuntimeError: module must have its parameters and buffers on device cuda:0 (device_ids[0]) but found one of them on device: cpu what is the cuda version support please? cudatoolkit: 10.1 Python: 3.7.7 EasyOCR: 1.1

zhangyunfan23 avatar Jul 06 '20 15:07 zhangyunfan23

Do you have multiple GPU? Can you try gpu = 'cuda:0'? (see #22)

rkcosmos avatar Jul 07 '20 01:07 rkcosmos

This should be fixed by #50 .

rkcosmos avatar Jul 07 '20 09:07 rkcosmos

I am trying to run easyocr in a different GPU than cuda:0 and get the same error message "module must have its parameters and buffers on device cuda:0 (device_ids[0]) but found one of them on device: cuda:6"

cvelas11 avatar Feb 16 '23 07:02 cvelas11