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

Error in initialising pagerec in pregrec.ipynb #1

Open
Sammed56Secure opened this issue Jan 17, 2024 · 0 comments
Open

Error in initialising pagerec in pregrec.ipynb #1

Sammed56Secure opened this issue Jan 17, 2024 · 0 comments

Comments

@Sammed56Secure
Copy link

Sammed56Secure commented Jan 17, 2024

While running the block

textmodel = None # use default
segmodel = None # use default
# segmodel = "https://storage.googleapis.com/ocro-models/v1/seg_unet_v4-034-000131238.jit"
pagerec = inf.PageRecognizer(textmodel=textmodel, segmodel=segmodel)

I get the output that downloading http://storage.googleapis.com/ocro-models/v1/seg_unet_v2-default.jit to /Users/<user>/.cache/ocropus4/seg_unet_v2-default.jit

but while loading the model step
loading model /Users/<user>/.cache/ocropus4/seg_unet_v2-default.jit

I get an error saying
RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory

Can't move forward from this. the link https://storage.googleapis.com/ocro-models/v1/seg_unet_v4-034-000131238.jit shows 404 error in wget.

Any help in resolving this?

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