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

Rename utils/datasets.py -> utils/dataloaders.py #7799

Merged
merged 1 commit into from
May 13, 2022

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented May 13, 2022

Renaming this file to avoid confusion.

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Refactoring of data loading modules in YOLOv5 codebase.

πŸ“Š Key Changes

  • Renamed datasets.py to dataloaders.py to better reflect its functionality.
  • Updated imports across various files (like detect.py, export.py, train.py, val.py, etc.) to be consistent with the renaming.
  • No changes in functionalities or logic have been made as per the diff provided.

🎯 Purpose & Impact

  • The renaming makes the codebase clearer and more semantic, indicating that the module is specifically designed for loading data.
  • This change is maintainable and developer-friendly, reducing potential confusion for new contributors.
  • For users, there will be no noticeable impact as this is an internal naming improvement with no direct effect on features or performance.

@glenn-jocher glenn-jocher self-assigned this May 13, 2022
@glenn-jocher glenn-jocher changed the title Rename utils/datasets.py > utils/dataloaders.py Rename utils/datasets.py -> utils/dataloaders.py May 13, 2022
@glenn-jocher glenn-jocher merged commit 9d8ed37 into master May 13, 2022
@glenn-jocher glenn-jocher deleted the rename/dataloaders branch May 13, 2022 12:34
tdhooghe pushed a commit to tdhooghe/yolov5 that referenced this pull request Jun 10, 2022
ctjanuhowski pushed a commit to ctjanuhowski/yolov5 that referenced this pull request Sep 8, 2022
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.

1 participant