microsoft / unilm

Large-scale Self-supervised Pre-training Across Tasks, Languages, and Modalities
https://aka.ms/GeneralAI
MIT License
19.09k stars 2.44k forks source link

Unable to download DiT model weights that were fine-tuned on PubLayNet #1528

Closed milan-qorvo closed 2 months ago

milan-qorvo commented 2 months ago

Describe the bug Model I am using (UniLM, MiniLM, LayoutLM ...): DiT

The problem arises when using:

Unable to download DiT model weights that were fine-tuned on PubLayNet, even when the query string suggested in #1466 has already been added. Clicking on this link: https://layoutlm.blob.core.windows.net/dit/dit-fts/publaynet_dit-b_cascade.pth?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

Returns the following error:

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
<Code>AuthenticationFailed</Code>
<Message>Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. RequestId:61947591-201e-0010-3d45-932d3a000000 Time:2024-04-20T17:07:20.0399935Z</Message>
<AuthenticationErrorDetail>Signature did not match. String to sign used was layoutlm r b o 2023-06-08T08:48:15Z 2033-06-08T16:48:15Z https 2022-11-02 </AuthenticationErrorDetail>
</Error>

To Reproduce Steps to reproduce the behavior:

  1. Go to this section of the repo: https://github.com/microsoft/unilm/tree/master/dit#fine-tuning-on-publaynet-document-layout-analysis
  2. Click on weight hyperlink.

Expected behavior Model should begin downloading

Holmes2002 commented 2 months ago

Hi, does anyone solve this problem?

sebastianfernandezgarcia commented 2 months ago

It happens to me as well. Last week the links were working. Now it´s not possible.

''' This XML file does not appear to have any style information associated with it. The document tree is shown below.

AuthenticationFailed Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. RequestId:bf318604-101e-0056-5b54-9519bd000000 Time:2024-04-23T08:02:38.4882455Z Signature did not match. String to sign used was layoutlm r b o 2023-06-08T08:48:15Z 2033-06-08T16:48:15Z https 2022-11-02

'''

Does anyone have the weights downloaded? Or can someone re-upload the links?

sebastianfernandezgarcia commented 2 months ago

Links have been fixed now!

Thanks for the quick response and action @HYPJUDY Thank you very much!