-
Notifications
You must be signed in to change notification settings - Fork 54
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
BUG: TypeError: UnstructuredYoloXModel.initialize() got an unexpected keyword argument 'extract_images_in_pdf' #265
Comments
2710932616
changed the title
TypeError: UnstructuredYoloXModel.initialize() got an unexpected keyword argument 'extract_images_in_pdf'
BUG: TypeError: UnstructuredYoloXModel.initialize() got an unexpected keyword argument 'extract_images_in_pdf'
Oct 20, 2023
reasonExcess transfer parameters are not processed. solutionin unstructured-inference/unstructured_inference/models/yolox.py line 67,
The same thing happens in
|
github-merge-queue bot
pushed a commit
to Unstructured-IO/unstructured
that referenced
this issue
Oct 23, 2023
Closes `unstructured-inference` issue [#265](Unstructured-IO/unstructured-inference#265). Cleaned up the kwarg handling, taking opportunities to turn instances of handling kwargs as dicts to just using them as normal in function signatures. #### Testing: Should just pass CI.
Resolved by |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Question
Using the example provided by langchain official:Semi_structured_multi_modal_RAG_LLaMA2, due to the addition of
extract_images_in_pdf
andimage_output_dir_path
parameters will be reported wrong.Env
python 3.11.4
langchain 0.0.319
unstructured 0.10.24
unstructured-inference 0.7.7
unstructured.pytesseract 0.3.12
Code
Traceback
The text was updated successfully, but these errors were encountered: