-
Notifications
You must be signed in to change notification settings - Fork 928
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
Does this project need to download a model from huggingface? #651
Comments
Got the same problem, tried to update everything but does not work. |
same to me, do you know how to fix it? |
Was initially using personnal project to launch docling and got that error then executed the main page script which somehow solved my problem, hope that will help you too:
|
There's still an error, but I found an alternative solution. You guys can try running it on Google Colab. In my case, installing it on my computer didn’t work, but it worked on Colab. And yes, it downloads some weights from Hugging Face. Somehow, my network blocks Hugging Face, which caused the problem. |
Requires transformers but maybe launch the simple python script (picked from the "Use this model" button from https://huggingface.co/ds4sd/docling-models) and then retry with my previous answer:
|
Yes, There is Layout model and the other one is Table detection model from hugging face import pypdfium2 as pdfium #layout prediction for one page |
I was also getting models errors with Saw this in the log -
I'd cleared the hugging face cache but it didn't seem to fix the issue. Downgrading to https://ds4sd.github.io/docling/usage/#setting-up-a-documentconverter There's a section in the docs that might be helpful, but these imports don't appear to be valid -
|
Bug
When I run the code, I encounter the following problem
requests.exceptions.SSLError: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /api/models/ds4sd/docling-models/revision/v2.1.0 (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)')))"), '(Request ID: 17d20384-a725-4353-8425-f27cb0dc2ff6)')
Does anyone else have the same problem
The text was updated successfully, but these errors were encountered: