Skip to content

Sparse SAHI - how can it run? #45

Description

@felix-br25

First of all, this looks like a very promising project, kudos!!

One thing puzzles me in the Sparse SAHI example - how can it work softwarewise? I assume you have not modified the stgandard ultralytics code. So how can thsi example do soemthing new which is not part of the standard code?

from ultralytics import YOLO

model = YOLO("yolov8n.pt")

results = model.predict(
    source="large_aerial_image.jpg",
    sparse_sahi=True,
    slice_size=640,
    overlap_ratio=0.2,
    objectness_threshold=0.15,
)

I mean, it's the standard model, how can it run sparse_sahi?

I must be missing something.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions