Skip to content

Commit

Permalink
Boost version (#2205)
Browse files Browse the repository at this point in the history
Co-authored-by: Vladimir Iglovikov <viglovikov@trueaccord.com>
  • Loading branch information
ternaus and Vladimir Iglovikov authored Dec 17, 2024
1 parent a958c85 commit 51b9089
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
10 changes: 2 additions & 8 deletions albumentations/augmentations/crops/transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -1083,14 +1083,8 @@ class InitSchema(BaseTransformInitSchema):
AfterValidator(check_range_bounds(0, None)),
AfterValidator(nondecreasing),
]
width: int | None = Field(
None,
deprecated="Initializing with 'height' and 'width' is deprecated. Use size instead.",
)
height: int | None = Field(
None,
deprecated="Initializing with 'height' and 'width' is deprecated. Use size instead.",
)
width: int | None
height: int | None
size: ScaleIntType | None
interpolation: InterpolationType
mask_interpolation: InterpolationType
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ requires = [ "setuptools>=45", "wheel" ]
[project]
name = "albumentations"

version = "1.4.22"
version = "1.4.23"

description = "Fast, flexible, and advanced image augmentation library for deep learning and computer vision. Albumentations offers a wide range of transformations for images, masks, bounding boxes, and keypoints, with optimized performance and seamless integration into ML workflows."
readme = "README.md"
Expand Down

0 comments on commit 51b9089

Please sign in to comment.