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 retry=3 to download() #7313

Merged
merged 6 commits into from
Apr 6, 2022
Merged

Add retry=3 to download() #7313

merged 6 commits into from
Apr 6, 2022

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Apr 6, 2022

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Enhancements to dataset download process with improved error handling and optional cURL utility.

πŸ“Š Key Changes

  • The download function now accepts a retry parameter for multiple download attempts.
  • cURL can be optionally used in dataset downloading by setting the curl parameter to True.
  • Download error handling has been improved with retries and warnings on failure.

🎯 Purpose & Impact

  • πŸ”„ The introduction of the retry mechanism aims to make downloading more robust, especially in unreliable network conditions.
  • πŸš€ Using cURL as an alternate download method provides flexibility and may improve download speeds or reliability for some users.
  • ⚠️ Better error messages on download failures will help users diagnose and rectify issues more effectively, improving the overall user experience.

@glenn-jocher glenn-jocher self-assigned this Apr 6, 2022
@glenn-jocher glenn-jocher merged commit 32661f7 into master Apr 6, 2022
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-1 branch April 6, 2022 11:12
BjarneKuehl pushed a commit to fhkiel-mlaip/yolov5 that referenced this pull request Aug 26, 2022
* Add `retry=3` to `download()`

* Update general.py

* Update general.py

* Update general.py

* Update VOC.yaml

* Update VisDrone.yaml
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