HTTPSConnectionPool(host='huggingface.co', port=443): M

#16
by Henry96 - opened

I have download this model and I load it from my local path . But why did it try to connect the internet to huggingface.co ?
Error:
requests.exceptions.ConnectionError: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /ybelkada/fonts/resolve/main/Arial.TTF (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fe07307d160>: Failed to establish a new connection: [Errno 101] Network is unreachable'))"), '(Request ID: e157d0e9-bb87-40f8-8e7b-b01206d94a13)')

My code:
processor = Pix2StructProcessor.from_pretrained('./deplot')
model = Pix2StructForConditionalGeneration.from_pretrained('./deplot')

Same issue, is it accident?

I solved that by reboot my computer, it might be network issue.

Sign up or log in to comment