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)
How to fix it?