ClipBERT icon indicating copy to clipboard operation
ClipBERT copied to clipboard

"bash scripts/download_pretrained.sh" is failed

Open ArkZero35 opened this issue 1 year ago • 4 comments

Hello, my friend. I am in step 2 of "getting started/general". When I execute the instructions for downloading pre-training files and datasets, a 409 error occurs. The relevant environment has already been configured. Can you tell me the solution? 当我执行预训练文件下载和数据集下载的指令时,都会发生409的错误,前面的相关环境已经配好了,你能告诉我解决方法吗?

ArkZero35 avatar Oct 25 '24 13:10 ArkZero35

I'm facing the same issue. It seems that public access to the pre-trained model has been disabled somehow. Full error message follows:

bash-4.2$ bash scripts/download_pretrained.sh $PATH_TO_STORAGE
--2024-10-27 19:33:58--  https://convaisharables.blob.core.windows.net/clipbert/pretrained/clipbert_image_text_pretrained.pt
Resolving convaisharables.blob.core.windows.net (convaisharables.blob.core.windows.net)... 20.60.20.68
Connecting to convaisharables.blob.core.windows.net (convaisharables.blob.core.windows.net)|20.60.20.68|:443... connected.
HTTP request sent, awaiting response... 409 Public access is not permitted on this storage account.
2024-10-27 19:33:58 ERROR 409: Public access is not permitted on this storage account..

--2024-10-27 19:33:58--  https://convaisharables.blob.core.windows.net/clipbert/pretrained/bert-base-uncased.tar
Resolving convaisharables.blob.core.windows.net (convaisharables.blob.core.windows.net)... 20.60.20.68
Connecting to convaisharables.blob.core.windows.net (convaisharables.blob.core.windows.net)|20.60.20.68|:443... connected.
HTTP request sent, awaiting response... 409 Public access is not permitted on this storage account.
2024-10-27 19:33:58 ERROR 409: Public access is not permitted on this storage account..

tar: /local/scratch/a/datasets/clipBERT_storage//pretrained/bert-base-uncased.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
rm: cannot remove ‘/local/scratch/a/datasets/clipBERT_storage//pretrained/bert-base-uncased.tar’: No such file or directory
--2024-10-27 19:33:58--  https://convaisharables.blob.core.windows.net/clipbert/pretrained/grid_feat_R-50.pth
Resolving convaisharables.blob.core.windows.net (convaisharables.blob.core.windows.net)... 20.60.20.68
Connecting to convaisharables.blob.core.windows.net (convaisharables.blob.core.windows.net)|20.60.20.68|:443... connected.
HTTP request sent, awaiting response... 409 Public access is not permitted on this storage account.
2024-10-27 19:33:59 ERROR 409: Public access is not permitted on this storage account..

Attempting to access the blob linked in the bash script yields this: image

amoghj98 avatar Oct 27 '24 23:10 amoghj98

mabe it can not be use, or someone can share the dataset

ArkZero35 avatar Nov 08 '24 08:11 ArkZero35

bro did you solve the problem?

atakansucu avatar Dec 10 '24 07:12 atakansucu

same error

killer2-1 avatar Mar 12 '25 12:03 killer2-1