Replies: 8 comments 9 replies
-
Hi, it seems that your network can not link access the downlink link, you can download it mannualy and assign the model dir for your usage. The following attachment is the model files. |
Beta Was this translation helpful? Give feedback.
-
Is there anyone else facing the same problem? |
Beta Was this translation helpful? Give feedback.
-
I'm having the same problem |
Beta Was this translation helpful? Give feedback.
-
The models are being hosted on a server that seems to be unreachable to users in North America (I am unable to access in Canada). It would be great if this could be fixed |
Beta Was this translation helpful? Give feedback.
-
I stuck on same issue due to my location. It is automatically downloaded for Nepal but not for US. why? |
Beta Was this translation helpful? Give feedback.
-
Find site-packages\paddleocr\ppocr\utils\network.py, and modify the following code
|
Beta Was this translation helpful? Give feedback.
-
For paddleocr =2.6.1.3, english, download the files from the det --> https://paddleocr.bj.bcebos.com/PP-OCRv3/english/en_PP-OCRv3_det_infer.tar rec --> https://paddleocr.bj.bcebos.com/PP-OCRv3/english/en_PP-OCRv3_rec_infer.tar cls --> https://paddleocr.bj.bcebos.com/dygraph_v2.0/ch/ch_ppocr_mobile_v2.0_cls_infer.tar and place them in ".paddleocr" folder in "C:\Users<folder_structure>"the folder structure will be the location that you get in the error. For me it was following: .paddleocr\whl\cls\ch_ppocr_mobile_v2.0_cls_infer\ch_ppocr_mobile_v2.0_cls_infer.tar This should help you run paddleocr.. Run the following lines to check from paddleocr import PaddleOCR,draw_ocr ocr = PaddleOCR(lang='en') |
Beta Was this translation helpful? Give feedback.
-
I had the same issue. you need to reconfigure your DNS server to any public DNS server. As a solution for this, you need to reconfigure the router DNS server to any public DNS server. I have configured the Google DNS server and it works for me. configure this DNS I hope this should do |
Beta Was this translation helpful? Give feedback.
-
Am I the only one who is facing this network issue ??
Step.1) Installation:-
python3 -m pip install paddlepaddle-gpu (Done)
Step.2) Wheel Package:-
pip install "paddleocr>=2.0.1" # Recommend to use version 2.0.1+ (Done)
Step.3) paddleocr --image_dir image/license_plate.png --use_angle_cls True --lang en (Error)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='paddleocr.bj.bcebos.com', port=443): Max retries exceeded with url: /PP-OCRv3/english/en_PP-OCRv3_det_infer.tar (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fea92a5bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Also Tried :-
:- https://paddleocr.bj.bcebos.com/PP-OCRv3/english/en_PP-OCRv3_rec_infer.tar (Site unreachable)
Beta Was this translation helpful? Give feedback.
All reactions