I've been trying to run layout parser example from here https://layout-parser.readthedocs.io/en/latest/example/deep_layout_parsing/index.html
The problem is that when I try:
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"})
I get this error:
OSError: [Errno 22] Invalid argument: 'C:\\Users\\user/.torch/iopath_cache\\s/f3b12qc4hc0yh4m\\config.yml?dl=1.lock'
Originally, config.yml
was not in the expected folder. But downloading it did not solve the problem.
I would appreciate a solution for this, or an alternative suggestion if it exists.
from Deep Layout Parsing Invalid argument
No comments:
Post a Comment