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

W&B: Fix dataset check #4879

Merged
merged 10 commits into from
Sep 21, 2021
Merged

W&B: Fix dataset check #4879

merged 10 commits into from
Sep 21, 2021

Conversation

AyushExel
Copy link
Contributor

@AyushExel AyushExel commented Sep 21, 2021

Fix for #4876

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Optimized Weights & Biases (wandb) login logic in YOLOv5's wandb_utils.py.

πŸ“Š Key Changes

  • Adjusted the placement of the RANK variable for clarity.
  • Refined the conditions for wandb login to only proceed for the main process or single-process runs.
  • Improved checks for wandb artifacts to handle different dataset formats.

🎯 Purpose & Impact

  • πŸ” Security & Stability: Restricts wandb auto-login to appropriate processes, reducing the risk of concurrent login attempts in distributed training.
  • 🧰 Enhanced Compatibility: Better handling of dataset paths now includes support for various data formats, ensuring smoother integration with wandb artifacts.
  • βœ… Code Clarity: Minor code reorganization enhances readability and maintainability.

@glenn-jocher
Copy link
Member

@AyushExel PR is merged. Thank you for your contributions to YOLOv5 πŸš€ and Vision AI ⭐

CesarBazanAV pushed a commit to CesarBazanAV/yolov5 that referenced this pull request Sep 29, 2021
* evolve fix

* Enable login timeout

* fix pkg

* check rank

* don't relogin

* fix

* reformat
BjarneKuehl pushed a commit to fhkiel-mlaip/yolov5 that referenced this pull request Aug 26, 2022
* evolve fix

* Enable login timeout

* fix pkg

* check rank

* don't relogin

* fix

* reformat
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.

AttributeError: 'list' object has no attribute 'startswith'
2 participants