layout-parser icon indicating copy to clipboard operation
layout-parser copied to clipboard

Model download hangs

Open jerniem opened this issue 3 years ago • 2 comments

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:

  1. 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

  1. Please describe your Platform [Windows/MacOS/Linux]: Mac
  2. Please show the Layout Parser version: 0.2.0

jerniem avatar Sep 27 '21 08:09 jerniem

I have the same issue which blocks me to use layout-parser.

yangxiaomin08 avatar Nov 29 '21 08:11 yangxiaomin08

I also have the same issue (Detectron2). only paddle model can download.

geek8565 avatar Jan 17 '22 06:01 geek8565