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

Update coco.yaml #13531

Closed
wants to merge 2 commits into from
Closed

Update coco.yaml #13531

wants to merge 2 commits into from

Conversation

ADII877
Copy link

@ADII877 ADII877 commented Mar 12, 2025

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Added a new class label "guns" to the COCO dataset configuration file.

πŸ“Š Key Changes

  • Included "guns" as a new class label (index 80) in the coco.yaml file.

🎯 Purpose & Impact

  • πŸ†• Expands the COCO dataset to support detection of "guns," enabling more specific object detection tasks.
  • πŸ”§ Enhances flexibility for users working on safety, security, or related applications.
  • πŸ“ˆ Potentially improves model performance for datasets or projects requiring this additional class.

Signed-off-by: ADII877 <[email protected]>
Copy link
Contributor

github-actions bot commented Mar 12, 2025


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I sign the CLA


1 out of 2 committers have signed the CLA.
βœ… (UltralyticsAssistant)[https://github.com/UltralyticsAssistant]
❌ @ADII877
You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@UltralyticsAssistant UltralyticsAssistant added detect Object Detection issues, PR's enhancement New feature or request labels Mar 12, 2025
@UltralyticsAssistant
Copy link
Member

πŸ‘‹ Hello @ADII877, thank you for submitting an ultralytics/yolov5 πŸš€ PR! To ensure a seamless integration of your work, please review the following checklist:

  • βœ… Define a Purpose: Clearly explain the purpose of your fix or feature in your PR description, and link to any relevant issues. Ensure your commit messages are clear, concise, and adhere to the project's conventions.
  • βœ… Synchronize with Source: Confirm your PR is synchronized with the ultralytics/yolov5 main branch. If it's behind, update it by clicking the 'Update branch' button or by running git pull and git merge main locally.
  • βœ… Ensure CI Checks Pass: Verify all Ultralytics Continuous Integration (CI) checks are passing. If any checks fail, please address the issues.
  • βœ… Update Documentation: Update the relevant documentation for any new or modified features.
  • βœ… Add Tests: If applicable, include or update tests to cover your changes, and confirm that all tests are passing.
  • βœ… Sign the CLA: Please ensure you have signed our Contributor License Agreement if this is your first Ultralytics PR by writing "I have read the CLA Document and I sign the CLA" in a new message.
  • βœ… Minimize Changes: Limit your changes to the minimum necessary for your bug fix or feature addition. "It is not daily increase but daily decrease, hack away the unessential. The closer to the source, the less wastage there is." β€” Bruce Lee

Additionally, for a change like introducing a new class label in the COCO dataset configuration, here are some extra details to consider:

  1. Reproducibility: Ensure you provide a minimum reproducible example (MRE) if required, such as a small sample dataset or script to showcase how this new label integrates with existing functionality.
  2. Backward Compatibility: Please confirm that adding the new label does not conflict with current YOLOv5 training scripts, datasets, or detection models.
  3. Documentation: Since this expands the dataset, kindly update the corresponding COCO and dataset-specific documentation (e.g., DATA.md) if needed.

For more guidance, please refer to our Contributing Guide. Don’t hesitate to leave a comment if you have any questions. Thank you for contributing to Ultralytics! πŸš€

This is an automated response. An Ultralytics engineer will review your PR and provide additional feedback soon. 😊

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 enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants