Skip to content

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