docs: remove download stats section for conciseness
Browse files
README.md
CHANGED
|
@@ -11,7 +11,6 @@ https://github.com/frotms/PaddleOCR2Pytorch
|
|
| 11 |
- ptocr_v5_server_det.pth — detection (server) weights
|
| 12 |
- ptocr_v5_server_rec.pth — recognition (server) weights
|
| 13 |
|
| 14 |
-
|
| 15 |
## Configs
|
| 16 |
|
| 17 |
- [PP-OCRv5_server_det.yml](https://huggingface.co/JoyCN/PaddleOCR-Pytorch/blob/main/PP-OCRv5_server_det.yml) — detection model config
|
|
@@ -41,7 +40,6 @@ Direct links (not counted by default):
|
|
| 41 |
- https://huggingface.co/JoyCN/PaddleOCR-Pytorch/resolve/main/PP-OCRv5_server_det.yml?download=true
|
| 42 |
- https://huggingface.co/JoyCN/PaddleOCR-Pytorch/resolve/main/PP-OCRv5_server_rec.yml?download=true
|
| 43 |
|
| 44 |
-
|
| 45 |
## Download (recommended)
|
| 46 |
|
| 47 |
Python (tracks downloads via huggingface_hub):
|
|
@@ -72,21 +70,3 @@ Direct links (not counted by default):
|
|
| 72 |
|
| 73 |
- Please prefer the `huggingface_hub` API (`hf_hub_download`/`snapshot_download`) instead of `git lfs` cloning for downloads to be counted in Hub stats.
|
| 74 |
- Stats update periodically; it may take some time for downloads to appear.
|
| 75 |
-
|
| 76 |
-
## Download stats / 下载统计
|
| 77 |
-
|
| 78 |
-
- Hub 统计依赖“查询文件”(query files),如 `config.json`;`.pth` 不是默认查询文件。
|
| 79 |
-
- 若希望出现在统计中:先请求一次 `config.json`(GET/HEAD),再下载权重。
|
| 80 |
-
|
| 81 |
-
Example:
|
| 82 |
-
|
| 83 |
-
```python
|
| 84 |
-
from huggingface_hub import hf_hub_download
|
| 85 |
-
# Trigger stats by fetching the query file
|
| 86 |
-
_ = hf_hub_download("JoyCN/PaddleOCR-Pytorch", filename="config.json")
|
| 87 |
-
# Then download weights
|
| 88 |
-
hf_hub_download("JoyCN/PaddleOCR-Pytorch", filename="ptocr_v5_server_det.pth")
|
| 89 |
-
hf_hub_download("JoyCN/PaddleOCR-Pytorch", filename="ptocr_v5_server_rec.pth")
|
| 90 |
-
```
|
| 91 |
-
|
| 92 |
-
- 统计有延迟(常见数小时,最长 24–48 小时)。
|
|
|
|
| 11 |
- ptocr_v5_server_det.pth — detection (server) weights
|
| 12 |
- ptocr_v5_server_rec.pth — recognition (server) weights
|
| 13 |
|
|
|
|
| 14 |
## Configs
|
| 15 |
|
| 16 |
- [PP-OCRv5_server_det.yml](https://huggingface.co/JoyCN/PaddleOCR-Pytorch/blob/main/PP-OCRv5_server_det.yml) — detection model config
|
|
|
|
| 40 |
- https://huggingface.co/JoyCN/PaddleOCR-Pytorch/resolve/main/PP-OCRv5_server_det.yml?download=true
|
| 41 |
- https://huggingface.co/JoyCN/PaddleOCR-Pytorch/resolve/main/PP-OCRv5_server_rec.yml?download=true
|
| 42 |
|
|
|
|
| 43 |
## Download (recommended)
|
| 44 |
|
| 45 |
Python (tracks downloads via huggingface_hub):
|
|
|
|
| 70 |
|
| 71 |
- Please prefer the `huggingface_hub` API (`hf_hub_download`/`snapshot_download`) instead of `git lfs` cloning for downloads to be counted in Hub stats.
|
| 72 |
- Stats update periodically; it may take some time for downloads to appear.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|