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 how-to-use-ultralytics-yolo-with-sahi.ipynb #35

Merged
merged 3 commits into from
Feb 19, 2025

Conversation

RizwanMunawar
Copy link
Member

@RizwanMunawar RizwanMunawar commented Feb 19, 2025

๐Ÿ› ๏ธ PR Summary

Made with โค๏ธ by Ultralytics Actions

๐ŸŒŸ Summary

Enhanced the "how-to-use-ultralytics-yolo-with-sahi" notebook to improve video inference workflows and ensure smoother data downloading with new utilities. ๐Ÿ“นโœจ

๐Ÿ“Š Key Changes

  • Added safe_download utility to streamline video downloads.
  • Updated dependencies to the latest Ultralytics version (8.3.76) and Python version (3.11.11).
  • Simplified example commands for video inference while making options like saving results and specifying weights clearer and better documented.
  • Refactored code blocks to improve organization and usability in step-by-step instructions.

๐ŸŽฏ Purpose & Impact

  • ๐Ÿ› ๏ธ Easier Downloads: The addition of safe_download allows seamless downloading of sample videos directly in the notebook, removing the need for external steps.
  • ๐Ÿš€ Latest Tools: By aligning with the latest Ultralytics software and Python versions, users benefit from updated features, better performance, and fewer compatibility issues.
  • ๐Ÿง‘โ€๐Ÿ’ป Simplified Usage: Cleaner code and additional documentation improve accessibility for users, especially beginners, making video inference workflows more intuitive.
  • ๐ŸŒŸ Enhanced Flexibility: The clear command options allow users to tailor inference processes (e.g., saving outputs or using custom weights) to their specific needs effortlessly.

This update improves both the user experience and the notebookโ€™s functionality, benefiting developers and end-users alike. ๐ŸŽ‰

Signed-off-by: Muhammad Rizwan Munawar <muhammadrizwanmunawar123@gmail.com>
@UltralyticsAssistant UltralyticsAssistant added the documentation Improvements or additions to documentation label Feb 19, 2025
@UltralyticsAssistant
Copy link
Member

๐Ÿ‘‹ Hello @RizwanMunawar, thank you for submitting an ultralytics/notebooks ๐Ÿš€ 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/notebooks 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: Ensure your updates align with the relevant documentation so users can easily understand the changes.
  • โœ… Add Tests: If applicable, include or update tests to cover your changes, and confirm that all tests are passing.
  • โœ… Sign the CLA: If this is your first Ultralytics contribution, kindly sign our Contributor License Agreement (CLA) by writing "I have read the CLA Document and I sign the CLA" in a new message.
  • โœ… Minimize Changes: Keep your changes to the minimum necessary for your contribution. "Great things are done by a series of small things brought together." โ€” Vincent Van Gogh

For additional guidance, please refer to our Contributing Guide. If you encounter any issues or have questions, feel free to leave a comment here.

Your contribution to how-to-use-ultralytics-yolo-with-sahi.ipynb helps make Ultralytics better ๐Ÿš€. An Ultralytics engineer will review this PR and assist you soon. Thank you for your support and dedication! โœจ

Copy link
Member

@ambitious-octopus ambitious-octopus left a comment

Choose a reason for hiding this comment

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

Look good!

@RizwanMunawar RizwanMunawar merged commit 7da3191 into main Feb 19, 2025
2 checks passed
@RizwanMunawar RizwanMunawar deleted the RizwanMunawar-patch-1 branch February 19, 2025 08:19
@UltralyticsAssistant
Copy link
Member

๐ŸŒŸ Merge Complete! ๐ŸŽ‰ Huge thanks, @RizwanMunawar and @ambitious-octopus, for your incredible contributions to enhancing the "how-to-use-ultralytics-yolo-with-sahi" notebook! Your updates not only streamline workflows but also make AI more accessible and user-friendly for everyone. ๐Ÿ™Œ

As Helen Keller wisely said, "Alone we can do so little; together we can do so much." Your collaborative efforts exemplify the power of teamwork, bringing clarity, innovation, and usability to life through this PR.

The Ultralytics community deeply appreciates your dedication and ingenuityโ€”your work empowers users to explore AI with ease and confidence. ๐Ÿš€ Here's to many more impactful contributions! ๐Ÿ’ก๐Ÿ’–

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

Successfully merging this pull request may close these issues.

3 participants