You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from layoutparser.models import AutoLayoutModel
model = AutoLayoutModel('lp://EfficientDete/PubLayNet')
Also tried:
from layoutparser.models import AutoLayoutModel
model = AutoLayoutModel('lp://EfficientDet/PubLayNet') # maybe "Det" instead of "Dete", typo in documentation
Always there is model = None.
Environment
Please describe your Platform [Windows/MacOS/Linux]: Windows 10 64-bit
Please show the Layout Parser version 0.3.4
You may add addition that may be helpful for locating the problem, such as
How you installed PyTorch [e.g., pip, conda, source]
Other environment variables that may be related (such as $PATH, $LD_LIBRARY_PATH, $PYTHONPATH, etc.)
pytorch is installed as a dependency when installing layoutparser. I use pip package management.
CPU only.
Error traceback
No error returned.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Activity
Alidar40 commentedon May 2, 2025
The documentation and the released package are outdated. This #146 was merged, but not released.
Try lowercasing and installing from the source code:
wtiandong commentedon Jan 27, 2026
See pull request #226