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

Add check_yaml() to benchmarks.py #7916

Merged
merged 1 commit into from
May 21, 2022
Merged

Conversation

glenn-jocher
Copy link
Member

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

Locate file in subdirectories.

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Enhanced configuration validation in YOLOv5 benchmark utility.

πŸ“Š Key Changes

  • Imported check_yaml function in benchmarks.py.
  • Added a call to check_yaml to validate the YAML file specified by opt.data.

🎯 Purpose & Impact

  • πŸ› οΈ Improvement of User Experience: Ensures users provide valid YAML configuration files when running benchmarks.
  • πŸ” Enhanced Robustness: Prevents potential errors caused by malformed YAML, leading to smoother benchmarking processes.
  • βœ… Increased Usability: Helps users quickly identify and correct issues with their configuration files.

Locate file in subdirectories.
@glenn-jocher glenn-jocher self-assigned this May 21, 2022
@glenn-jocher glenn-jocher merged commit 15057d2 into master May 21, 2022
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-1 branch May 21, 2022 17:39
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
Locate file in subdirectories.
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.

None yet

1 participant