|
Download README.md from juliozhao/DocLayout-YOLO-DocLayNet-from_scratch: direct link, hf CLI and curl.
- Browser
- Download file 923 Bytes
-
https://huggingface.co/juliozhao/DocLayout-YOLO-DocLayNet-from_scratch/resolve/refs%2Fpr%2F1/README.md
- Command line
-
hf download hf://juliozhao/DocLayout-YOLO-DocLayNet-from_scratch@refs/pr/1/README.md
-
curl -L -o README.md https://huggingface.co/juliozhao/DocLayout-YOLO-DocLayNet-from_scratch/resolve/refs%2Fpr%2F1/README.md
923 Bytes
| datasets: | |
| - juliozhao/doclayout-yolo-DocLayNet | |
| license: apache-2.0 | |
| pipeline_tag: object-detection | |
| # DocLayout-YOLO | |
| This model is a real-time document layout detector introduced in the paper [DocLayout-YOLO: Axis-Attentive Document Layout Detector with Mesh-Guided Synthetic Pretraining](https://huggingface.co/papers/2410.12628). It is based on YOLOv10 and is enhanced with diverse synthetic document pretraining and page-axis context modeling. The model can detect various document elements such as text, titles, figures, tables, etc. | |
| For usage, please refer to the [GitHub repository](https://github.com/opendatalab/DocLayout-YOLO/tree/release-v2). | |
| An example of loading the model: | |
| ```python | |
| from doclayout_yolo import YOLOv10 | |
| model = YOLOv10.from_pretrained("juliozhao/DocLayout-YOLO-DocStructBench") | |
| # Perform prediction | |
| det_res = model.predict("path/to/image", imgsz=1024, conf=0.2, device="cuda:0") | |
| ``` |