Open jheidbrink opened 1 year ago
Hello I am having a similar issue trying to download the models for Layout analysis. Have you had any luck?
Same issue.
I have had the same bug but you can just add this after the download link ?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
When using wget don't forget to use the quotation marks, so the final code should be something like this
wget "https://layoutlm.blob.core.windows.net/trocr/model_zoo/fairseq/trocr-small-handwritten.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"
I tried it but got authentication error,
>```
wget "https://layoutlm.blob.core.windows.net/trocr/model_zoo/fairseq/trocr-small-handwritten.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-08-31 22:23:01-- https://layoutlm.blob.core.windows.net/trocr/model_zoo/fairseq/trocr-small-handwritten.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-08-31 22:23:03 ERROR 403: Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature..
Describe the bug
The download links in the TrOCR README don't work: