Skip to content
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

Unable to Download Weights for TroCR Model #1651

Open
Abinabi opened this issue Nov 5, 2024 · 0 comments
Open

Unable to Download Weights for TroCR Model #1651

Abinabi opened this issue Nov 5, 2024 · 0 comments

Comments

@Abinabi
Copy link

Abinabi commented Nov 5, 2024

I am unable to download the TroCR model weights from the following URL:

https://layoutlm.blob.core.windows.net/trocr/model_zoo/fairseq/trocr-base-str.pt

After trying to add the suggested SAS token suffix, I encountered the following error message when using wget:

wget "https://layoutlm.blob.core.windows.net/trocr/model_zoo/fairseq/trocr-base-str.pt?sv=2022-11-02&ss=b&srt=o&sp=r&se=2033-06-08T16:48:15Z&st=2023-06-08T08:48:15Z&spr=https&sig=a9VXrihTzbWyVfaIDlIT1Z0FoR1073VB0RLQUMuudD4%3D"
--2024-11-05 07:00:00-- https://layoutlm.blob.core.windows.net/trocr/model_zoo/fairseq/trocr-base-str.pt?sv=2022-11-02&ss=b&srt=o&sp=r&se=2033-06-08T16:48:15Z&st=2023-06-08T08:48:15Z&spr=https&sig=a9VXrihTzbWyVfaIDlIT1Z0FoR1073VB0RLQUMuudD4%3D
Resolving layoutlm.blob.core.windows.net (layoutlm.blob.core.windows.net)... 20.150.78.68
Connecting to layoutlm.blob.core.windows.net (layoutlm.blob.core.windows.net)|20.150.78.68|:443... connected.
HTTP request sent, awaiting response... 403 Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
2024-11-05 07:00:01 ERROR 403: Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.

It seems that the request is failing due to authentication issues, indicating that the SAS token might be invalid or not properly configured. I would appreciate any assistance in resolving this issue or alternative methods to access the model weights.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant