Skip to content

Comments

build(deps): update albumentations requirement from <=1.3.1 to <=2.0.6 in /requirements#288

Closed
dependabot[bot] wants to merge 1 commit intodevfrom
dependabot/pip/requirements/dev/albumentations-lte-2.0.6
Closed

build(deps): update albumentations requirement from <=1.3.1 to <=2.0.6 in /requirements#288
dependabot[bot] wants to merge 1 commit intodevfrom
dependabot/pip/requirements/dev/albumentations-lte-2.0.6

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github May 1, 2025

Updates the requirements on albumentations to permit the latest version.

Release notes

Sourced from albumentations's releases.

Albumentations 2.0.6 Release Notes

  • Support Our Work
  • Transforms
  • Speedups
  • Bug fixes

Support Our Work

  1. Help Us Grow - If you find value in Albumentations, consider becoming a sponsor. Every contribution, no matter the size, helps us maintain and improve the library for everyone.
  2. Show Your Support - If you enjoy using Albumentations, consider giving us a ⭐ on GitHub. It helps others discover the library and motivates our team.
  3. Join Our Community - Have suggestions or ran into issues? We welcome your input! Share your experience in our GitHub issues or connect with us on Discord.

Transforms

New transform Mosaic

Generalization of Mosaic from Ultralitics and YOLO4, and works per image an not on "batch" => can choose what additional images to pass, could be hard or rare classes.

by @​Shysto and @​ternaus

Core

SomeOf

Changed functionality to a more intuituve

Now it works as:

  1. Select n transforms with equal probability
  2. Apply each of them with the probability of each transform

Passing bounding bbox labels

Removed to pass labels when apply to bounding boxes.

In [9]: bboxes = np.array([[0.2, 0.2, 0.4, 0.4], [0.3, 0.4, 0.7, 0.9]])
In [10]: transform = A.Compose([A.HorizontalFlip(p=1)], bbox_params={"format": "albumentations"})
In [11]: image = np.random.rand(640, 640, 3)
In [12]: transformed = transform(image=image, bboxes=bboxes)

=> we can just pass coordinates, without bounding box labels

Speedups

When applied to uint images on 1 CPU core Albumentations outperforms Kornia and torchvision: Image benchmark

But when we compare:

  • Videos

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [albumentations](https://github.com/albumentations-team/albumentations) to permit the latest version.
- [Release notes](https://github.com/albumentations-team/albumentations/releases)
- [Commits](albumentations-team/albumentations@v0.1.1...2.0.6)

---
updated-dependencies:
- dependency-name: albumentations
  dependency-version: 2.0.6
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github May 1, 2025

Labels

The following labels could not be found: pip dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@MatthewJeffson MatthewJeffson added ModelAssistant Label for ModelAssistant Pull request Label for pull requests UAY Unassigned yet labels May 2, 2025
@Lesords Lesords moved this to Suspend in Issues and PR Assemble May 6, 2025
@Lesords Lesords closed this May 6, 2025
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github May 6, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@github-project-automation github-project-automation bot moved this from Suspend to Done in Issues and PR Assemble May 6, 2025
@dependabot dependabot bot deleted the dependabot/pip/requirements/dev/albumentations-lte-2.0.6 branch May 6, 2025 03:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ModelAssistant Label for ModelAssistant Pull request Label for pull requests UAY Unassigned yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants