Skip to content

Conversation

@harshdhamecha
Copy link
Contributor

@harshdhamecha harshdhamecha commented Apr 13, 2024

Updated detect.py to save images in the images directory:

Earlier, inference images were saved in the detect/exp directory, and labels were saved in the detect/exp/labels directory. The proposed changes save images in the detect/exp/images directory to better organize and distinguish images from labels and crops.

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Enhanced File Organization for Detection Outputs 📁✨

📊 Key Changes

  • Introduced separate directories for images and labels when save_txt is set to true.
  • Images will now be saved in an "images" folder, and label files in a "labels" folder within the specified project directory.

🎯 Purpose & Impact

  • Improved Organization: Creates a cleaner directory structure by segregating images and labels, making it simpler for users to navigate and manage their output files.
  • Enhanced Usability: This change is especially beneficial for projects requiring separate handling or analysis of images and label files, streamlining workflows.
  • Potential Impact: Users who rely on the existing file structure may need to adjust their post-detection processes to accommodate these new directories. However, the overall impact is positive, promoting a more organized and efficient file management approach.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👋 Hello @harshdhamecha, thank you for submitting a YOLOv5 🚀 PR! To allow your work to be integrated as seamlessly as possible, we advise you to:

  • ✅ Verify your PR is up-to-date with ultralytics/yolov5 master branch. If your PR is behind you can update your code by clicking the 'Update branch' button or by running git pull and git merge master locally.
  • ✅ Verify all YOLOv5 Continuous Integration (CI) checks are passing.
  • ✅ Reduce changes to the absolute minimum required 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

@github-actions
Copy link
Contributor

👋 Hello there! We wanted to let you know that we've decided to close this pull request due to inactivity. We appreciate the effort you put into contributing to our project, but unfortunately, not all contributions are suitable or aligned with our product roadmap.

We hope you understand our decision, and please don't let it discourage you from contributing to open source projects in the future. We value all of our community members and their contributions, and we encourage you to keep exploring new projects and ways to get involved.

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

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 Oct 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Stale Stale and schedule for closing soon

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants