UnstructuredDetectronModel Initialization TypeError #1647
Unanswered
maria-lagerholm
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to use a pre-trained model from the Model Zoo with
UnstructuredDetectronModel
and encountering aTypeError
during the initialization process. I was following this guide where it mentions thatUnstructuredDetectronModel
is a light wrapper around layoutparser.models.Detectron2LayoutModel and can utilize various pre-trained models from the model zoo and the same configuration style. Below is the code snippet that is causing the error:The error message I receive is: TypeError: init() got an unexpected keyword argument 'config_path'
Any help would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions