Kernel Restarting Issue for Paddle OCR

370 Views Asked by At

The kernel for mynotebook.ipynb appears to have died. It will restart automatically.

from paddleocr import PaddleOCR, draw_ocr

ocr = PaddleOCR(use_angle_cls=True, lang='en', use_gpu=False)

result = ocr.ocr(img_path)

I am trying to run paddle ocr in my machine & the kernel just stops whenever I try to run ocr.ocr()

1

There are 1 best solutions below

1
On

Paddle Ocr contains heavy computations,it will not work in localhost jupyter notebook. Try Colab Instead