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

failed to download the models through cn oss #88

Closed
vandermondeDET opened this issue Apr 10, 2024 · 3 comments
Closed

failed to download the models through cn oss #88

vandermondeDET opened this issue Apr 10, 2024 · 3 comments

Comments

@vandermondeDET
Copy link

I have solved it mostly, though I have to make a warning for others' convenience:
when first using pix2text and automatically downloading models, whether cnocr or cnstd used the url like https://c/cnstd/1.2/ch_PP-OCRv3_det_infer-onnx.zip. However, the author of the pip libs cnocr and cnstd had warned in github that cn oss cannot be used just now. Downloading path must be swithed to hf rather than cn.
So after upgrading cnstd and cnocr these two python libs, most tasks could continue, though the pix2text models still cannot download as using https://[sg-models.oss-cn-beijing.aliyuncs.com/.
Wish the author can better solve it.
Thanks

@vandermondeDET
Copy link
Author

I cannot find how to download pix2text free models without cn oss now

@vandermondeDET
Copy link
Author

image

@breezedeus
Copy link
Owner

Hi, the oss downloads are deprecated, please update cnstd and cnocr to the latest versions, and then try again:

pip install cnstd==1.2.3.6 cnocr==2.3.0.2 -i https://pypi.org/simple

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

2 participants