You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the YOLOv5 issues and found no similar bug report.
YOLOv5 Component
Training
Bug
When installing dependencies for classification with augmentation in YOLOv5 from the requirements.txt file, I found that the version of the albumentations library is pinned to >=1.0.3. However, proper augmentation functionality requires a version of albumentations higher or equal than 1.0.3, yet lower than 2.0.
Running the scripts with version >=2 can lead to errors.
Environment
Ubuntu 22.04
Python 3.10
Default requirements.txt from the repository
Minimal Reproducible Example
No response
Additional
No response
Are you willing to submit a PR?
Yes I'd like to help by submitting a PR!
The text was updated successfully, but these errors were encountered:
👋 Hello @ViKarp, thank you for your interest in YOLOv5 🚀 and for reporting this possible issue with Albumentations!
For 🐛 Bug Reports, could you please provide a minimum reproducible example to help us debug the versioning issue? The details you’ve provided are helpful, but a short snippet or specific script demonstrating the issue with Albumentations' version would be greatly appreciated.
For reference, please ensure you're using the correct environment:
Requirements
Python>=3.8.0 with all dependencies installed from the requirements.txt. To set up the environment, follow these steps:
Additionally, you might want to check out our ⭐️ guides to ensure everything is configured properly.
Status
If this badge is green, all YOLOv5 GitHub Actions Continuous Integration (CI) tests are currently passing. CI includes tests for training, validation, inference, export, and benchmarks.
This is an automated response to acknowledge your query; an Ultralytics engineer will assist you soon. Thank you for helping us improve YOLOv5! 🚀✨
@ViKarp thank you for catching this! We welcome your PR to update the Albumentations version constraint in the YOLOv5 requirements.txt to albumentations>=1.0.3,<2.0.0. The team will review it promptly. For implementation details, see the Albumentations integration documentation.
Search before asking
YOLOv5 Component
Training
Bug
When installing dependencies for classification with augmentation in YOLOv5 from the requirements.txt file, I found that the version of the albumentations library is pinned to >=1.0.3. However, proper augmentation functionality requires a version of albumentations higher or equal than 1.0.3, yet lower than 2.0.
Running the scripts with version >=2 can lead to errors.
Environment
Ubuntu 22.04
Python 3.10
Default requirements.txt from the repository
Minimal Reproducible Example
No response
Additional
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: