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

module layoutparser has no attribute Detectron2LayoutModel

Open atulmaybe opened this issue 3 years ago • 6 comments

Describe the bug I am getting this error ""module layoutparser has no attribute Detectron2LayoutModel"" Screenshot (6)

atulmaybe avatar Sep 16 '22 10:09 atulmaybe

Facing same issue!

mayuri-kulkarni avatar Sep 19 '22 04:09 mayuri-kulkarni

Followed the readMe file to load Detectron2 on older release of this repo. worked for me

mayuri-kulkarni avatar Sep 19 '22 05:09 mayuri-kulkarni

try lp.models.Detectron2LayoutModel

MarouaneZ1 avatar Sep 24 '22 16:09 MarouaneZ1

As @MarouaneZ1 has pointed out, the documentation is slightly unclear, but the Detectron2LayoutModel is accessible only through lp.models

lucafrost avatar Dec 25 '22 09:12 lucafrost