layout-parser
layout-parser copied to clipboard
Model download hangs
When I try to download a layout model, at some point of the download (usually around 20 %), the download speed goes from 5 mb/s to close to zero. Then at some point the download stops and gives "connection reset by peer" error. What could be the reason for this?
To Reproduce Steps to reproduce the behavior:
- What command or script did you run?
model = lp.Detectron2LayoutModel('lp://PubLayNet/faster_rcnn_R_50_FPN_3x/config',
extra_config=["MODEL.ROI_HEADS.SCORE_THRESH_TEST", 0.8],
label_map={0: "Text", 1: "Title", 2: "List", 3:"Table", 4:"Figure"})
Environment
- Please describe your Platform [Windows/MacOS/Linux]: Mac
- Please show the Layout Parser version: 0.2.0
I have the same issue which blocks me to use layout-parser.
I also have the same issue (Detectron2). only paddle model can download.