clip-as-service icon indicating copy to clipboard operation
clip-as-service copied to clipboard

download links for visual and textual are expired

Open pasa13142 opened this issue 1 year ago • 9 comments

RuntimeError: Failed to download
https://clip-as-service.s3.us-east-2.amazonaws.com/models-436c69702d61732d53657276696365/onnx/ViT-B-32/textual.onnx within retry limit 3

This XML file does not appear to have any style information associated with it. The document tree is shown below. <Error> <Code>AccessDenied</Code> <Message>Access Denied</Message> <RequestId>6NNZYGK1V9BRD7YY</RequestId> <HostId>YR3byxjUvjaY+sKSIRxEauB6DUe3mwxp58s0XHpNrY9NH5gjZmQpbeFlmf4m9ow6qCWNvKLAj2VhIj0vg97qqQ==</HostId> </Error>

Will it be fixed?

pasa13142 avatar Sep 18 '23 14:09 pasa13142

Having the same issue. Looks like a policy issue on the bucket.

Example: https://clip-as-service.s3.us-east-2.amazonaws.com/models/torch/ViT-L-14.pt

ghunkins avatar Sep 18 '23 14:09 ghunkins

This is affecting production services, would very much appreciate any response.

ghunkins avatar Sep 18 '23 14:09 ghunkins

Downloading models and placing them directly in the cache directory works to bypass the download.

OpenAI models: https://github.com/openai/CLIP/blob/a1d071733d7111c9c014f024669f959182114e33/clip/clip.py#L30

ghunkins avatar Sep 18 '23 18:09 ghunkins

Downloading models and placing them directly in the cache directory works to bypass the download.

OpenAI models: https://github.com/openai/CLIP/blob/a1d071733d7111c9c014f024669f959182114e33/clip/clip.py#L30

I downloaded all models but I cannot find the needed textual.onnx file in the models

Core447 avatar Sep 18 '23 19:09 Core447

I downloaded all models but I cannot find the needed textual.onnx file in the models

you can try to convert it to onnx with https://gist.github.com/patharanordev/cd68e942499b6c0f2c259667f07b223f

and I want to try download the onnx files from https://huggingface.co/Marqo/onnx-open_clip-ViT-L-14/tree/main

shdwlkr avatar Sep 18 '23 20:09 shdwlkr

Same issue for me.

RuntimeError: Failed to download https://clip-as-service.s3.us-east-2.amazonaws.com/models-436c69702d61732d53657276696365/onnx/ViT-B-32/textual.onnx within retry limit 3 ... RuntimeError: Failed to download https://clip-as-service.s3.us-east-2.amazonaws.com/models-436c69702d61732d53657276696365/onnx/ViT-B-32/visual.onnx within retry limit 3 ...

lyj-cooyun avatar Sep 19 '23 06:09 lyj-cooyun

Having the same issue:

Failed to download https://clip-as-service.s3.us-east-2.amazonaws.com/models-436c69702d61732d53657276696365/onnx/ViT-H-14-laion2b-s32b-b79k/textual.onnx with <HTTPError 403: 'Forbidden'> at the 0th attempt Failed to download https://clip-as-service.s3.us-east-2.amazonaws.com/models-436c69702d61732d53657276696365/onnx/ViT-H-14-laion2b-s32b-b79k/textual.onnx with <HTTPError 403: 'Forbidden'> at the 1th attempt Failed to download https://clip-as-service.s3.us-east-2.amazonaws.com/models-436c69702d61732d53657276696365/onnx/ViT-H-14-laion2b-s32b-b79k/textual.onnx with <HTTPError 403: 'Forbidden'> at the 2th attempt

apprisix avatar Oct 20 '23 09:10 apprisix

Same issue

aviv926 avatar Oct 29 '23 21:10 aviv926

Fixed. Now all links works!

aviv926 avatar Oct 31 '23 17:10 aviv926