Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I modified a part of the code to enable parallel inference with multiple num_batch #1113

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

zhugelaozei
Copy link

Hi!Since I found that SAHI cannot perform parallel inference when using YOLOv11 for slicing inference, I modified part of the code and adapted it to work with the relevant parts of Ultralytics' code.Unfortunately, I have only adapted the Ultralytics part of the code for now.I hope this is helpful to you.

@fcakyon
Copy link
Collaborator

fcakyon commented Jan 4, 2025

Great @zhugelaozei ! Can you please fix the formatting by:

  1. Install development dependencies:
    pip install -e ."[dev]"

  2. Run code formatting:
    python -m scripts.run_code_style format

@tonyreina
Copy link

Does the num_batch here refer to running bounding box detections on multiple slices of the same image in a batch? Or is it running multiple images at one time in a batch? Could you provide an example of how to use it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants