-
Notifications
You must be signed in to change notification settings - Fork 462
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot Usage lp.models. Detectron2LayoutModel #179
Labels
bug
Something isn't working
Comments
This most likely not a bug. The error says it's most likely due to a circular import. This happens when the filename of the python program has the same name as another module it imports. So, in this case, I'm guessing the filename of your python program is layoutparser.py and it's calling |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I cannot use Decetron2LayoutModel despite successfully install.
Usage of LP
Environment
Error traceback
AttributeError: partially initialized module 'layoutparser' has no attribute 'Detectron2LayoutModel' (most likely due to a circular import)
The text was updated successfully, but these errors were encountered: