Instructions to use moon-g/DocLayout-YOLO-DocStructBench-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- YOLOv10
How to use moon-g/DocLayout-YOLO-DocStructBench-onnx with YOLOv10:
from huggingface_hub import hf_hub_download from ultralytics import YOLOv10 # pick the weights file from this repo's "Files and versions" tab weights = hf_hub_download("moon-g/DocLayout-YOLO-DocStructBench-onnx", "<weights>.pt") model = YOLOv10(weights) source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
Ctrl+K