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
--> 281 raise Exception(f"You cannot use ``pop`` on a {self.__class__.__name__} instance.")
Exception: You cannot use ``pop`` on a ModelOutput instance..
The text was updated successfully, but these errors were encountered:
In the setup.py file, this shows us the dependencies for the packages.
install_requires = [
"torch >= 1.0",
"pdf2image",
"pdfplumber",
"Pillow",
"pydantic",
"pytesseract", # TODO: Test what happens if the host machine does not have tesseract installed
"requests",
"easyocr",
"transformers >= 4.23",
]
Just run:
pip install transformers==4.23
The problem comes from the version of the transfomers. So installing the minimal version should fix this issue. The setup.py dependencies should be updated in the repo to reflect this.
Whenever I try to run a query on a document with transformers>=4.26 an exception is raised:
requirements.txt
requirements.txt
The text was updated successfully, but these errors were encountered: