Instructions to use anyformat/doclayout-yolo-docstructbench with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use anyformat/doclayout-yolo-docstructbench with ultralytics:
# Couldn't find a valid YOLO version tag. # Replace XX with the correct version. from ultralytics import YOLOvXX model = YOLOvXX.from_pretrained("anyformat/doclayout-yolo-docstructbench") source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
File size: 358 Bytes
454ccb9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | {
"model_type": "doclayout-yolo",
"model_name": "docstructbench",
"architecture": "yolov10m-g2l-crm",
"num_classes": 10,
"class_names": [
"title",
"plain_text",
"abandon",
"figure",
"figure_caption",
"table",
"table_caption",
"table_footnote",
"isolate_formula",
"formula_caption"
],
"input_size": 1024
} |