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

Model does not download. #11

Open
pedrovily1 opened this issue Apr 24, 2024 · 5 comments
Open

Model does not download. #11

pedrovily1 opened this issue Apr 24, 2024 · 5 comments

Comments

@pedrovily1
Copy link

When running Make build I get the following error.

sudo make build
mkdir -p models/unilm
if [ ! -f models/unilm/publaynet_dit-b_cascade.pth ]; then
wget "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" -P models/unilm -O publaynet_dit-b_cascade.pth;
fi
--2024-04-24 12:48:01-- 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
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-04-24 12:48:01 ERROR 403: Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature..

make: *** [Makefile:8: build] Error 8

I tried using another model for layout analysis, but down the line I get conflict errors, so if anyone can help out with a solution id appreciate it a lot

@Wilsonqwx
Copy link

I have the same exact issues while on step 5 "make get_models"

@cherwinsd
Copy link

you can find the pth file here :https://huggingface.co/Sebas6k/DiT_weights/tree/main

@zzw1123
Copy link

zzw1123 commented May 29, 2024

you can find the pth file here :https://huggingface.co/Sebas6k/DiT_weights/tree/main

Thanks for your helpful advice!

@SNAKEIX
Copy link

SNAKEIX commented May 31, 2024

ok i have different problem , when i say make get_models :

C:\Users\username\Documents\pdf_translator>get_models.py
make get_models is not recognized as an internal or external command,
operable program or batch file.

i tried :

C:\Users\Black Fox\Documents\pdf_translator>python make get_models.py
python: can't open file 'C:\Users\username\Documents\pdf_translator\make': [Errno 2] No such file or directory

, how to get model guys and which folder should i put it , i tried the link above , and i got the file but same error , can you help me

@Josanshuo
Copy link
Contributor

Created PR to resolve the dead link: #16

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

6 participants