Layout-Parser / layout-parser

A Unified Toolkit for Deep Learning Based Document Image Analysis
https://layout-parser.github.io/
Apache License 2.0
4.67k stars 449 forks source link

Kernel Died, restarting... #142

Closed wgfsophia closed 2 years ago

wgfsophia commented 2 years ago

I copied the example codes and run it on my computer, but when it went to model = lp.Detectron2LayoutModel('lp://PubLayNet/faster_rcnn_R_50_FPN_3x/config', ) it showed:"Kernel Died, restarting" I don't know if it was because I used Spyder and Jupyter as my compiler. Is there anyone know how to fix it or met the same problem? thanks!

Environment

  1. MacOS
  2. Layout Parser version: latest released version

Error traceback Kernal died, restarting