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

关于训练图片包含很多检测目标 #16381

Open
1 task done
WZJAI2018 opened this issue Sep 20, 2024 · 3 comments
Open
1 task done

关于训练图片包含很多检测目标 #16381

WZJAI2018 opened this issue Sep 20, 2024 · 3 comments
Labels
detect Object Detection issues, PR's question Further information is requested Stale Stale and schedule for closing soon

Comments

@WZJAI2018
Copy link

Search before asking

  • I have searched the Ultralytics YOLO issues and discussions and found no similar questions.

Question

I find that if my training picture contains a lot of detection targets,The GPU usage will increase significantly And the training will be slower,How do I solve this problem

Additional

No response

@WZJAI2018 WZJAI2018 added the question Further information is requested label Sep 20, 2024
@UltralyticsAssistant UltralyticsAssistant added the detect Object Detection issues, PR's label Sep 20, 2024
@UltralyticsAssistant
Copy link
Member

UltralyticsAssistant commented Sep 20, 2024

👋 Hello @WZJAI2018, thank you for reaching out and for your interest in Ultralytics 🚀! An Ultralytics engineer will assist you soon.

We recommend visiting the Docs where many of the most common questions may already have answers. Make sure to check out our Python and CLI examples.

If this is a 🐛 Bug Report, we kindly ask you to provide a minimum reproducible example to help us investigate further.

For custom training ❓ Questions like yours, please include as much information as possible, such as dataset image examples and complete training logs. Additionally, you might want to ensure you’re following our Tips for Best Training Results.

Stay connected with the Ultralytics community:

  • Join us for real-time discussion on Discord 🎧
  • Engage in more detailed conversations on Discourse
  • Explore and contribute to threads on our Subreddit

Upgrade

Ensure you're using the latest ultralytics package with all requirements, in a Python>=3.8 environment with PyTorch>=1.8:

pip install -U ultralytics

Environments

You can run YOLOv8 in these verified environments with all dependencies preinstalled:

Status

Ultralytics CI

The above badge indicates whether all Ultralytics CI tests are currently passing. These tests ensure that all YOLOv8 Modes and Tasks are correctly functioning across macOS, Windows, and Ubuntu.

@glenn-jocher
Copy link
Member

@WZJAI2018 to address the increased GPU usage and slower training when your images contain many detection targets, consider reducing the batch size or using mixed precision training by setting amp=True in your configuration. This can help optimize memory usage and speed up the training process.

Copy link

👋 Hello there! We wanted to give you a friendly reminder that this issue has not had any recent activity and may be closed soon, but don't worry - you can always reopen it if needed. If you still have any questions or concerns, please feel free to let us know how we can help.

For additional resources and information, please see the links below:

Feel free to inform us of any other issues you discover or feature requests that come to mind in the future. Pull Requests (PRs) are also always welcomed!

Thank you for your contributions to YOLO 🚀 and Vision AI ⭐

@github-actions github-actions bot added the Stale Stale and schedule for closing soon label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
detect Object Detection issues, PR's question Further information is requested Stale Stale and schedule for closing soon
Projects
None yet
Development

No branches or pull requests

3 participants